I've got a half idea to shorten lengthy multi query scripts, involving custom buttons so I need to understand how to write them in the settings and not via the gui
This is my custom button 1 taken from settings.xml
[Lock=pitch_lock, big loop=loop 440, nothing=NOthing, =var "$Vdeck1", macrec=macro_record "mac", macrec1=macro_record "mac1"](1),
Here's what I've figured/guessed
[] equals all on the same button
before the '=' sign is the name
after the '=' is the script
',' equals the next variation
What does the (1), represent? It's not the custom button number as the next one on button 2 is (7),
Next question
Is there a limit to the number of custom buttons?
This is my custom button 1 taken from settings.xml
[Lock=pitch_lock, big loop=loop 440, nothing=NOthing, =var "$Vdeck1", macrec=macro_record "mac", macrec1=macro_record "mac1"](1),
Here's what I've figured/guessed
[] equals all on the same button
before the '=' sign is the name
after the '=' is the script
',' equals the next variation
What does the (1), represent? It's not the custom button number as the next one on button 2 is (7),
Next question
Is there a limit to the number of custom buttons?
发表时间 Wed 23 Jul 14 @ 7:24 am
Moment of clarity, the number is the variation of the button active, and if I want to write custom button 100 via text I need 100 ','s before that entry,now to see what can be done.
发表时间 Wed 23 Jul 14 @ 8:07 pm
So an actual question
you can alter option settings via script with the ' setting ' script, can I rewrite custom buttons in this manor? If so how exactly?
you can alter option settings via script with the ' setting ' script, can I rewrite custom buttons in this manor? If so how exactly?
发表时间 Thu 24 Jul 14 @ 4:22 pm
I am not following you to be honest. What exactly do you wish to accomplish ?
发表时间 Thu 24 Jul 14 @ 8:18 pm
Exactly isn't yet a destination but lets say for example: I have a custom button, the name and attached command can be edited via the config/options menu, most (all?) of the other settings can be altered with a script eg ' setting "jogSensitivityScratch" 80% '
( CustomButton 1 looks like this [Lock=pitch_lock, big loop=loop 440](1), )
So I want to know can I write a script like ' setting "customButtons" [Lock=pitch_lock, big loop=loop 440](2), ' (I think I tried that already and it didn't work)
It might not make sense to have a script to change 1 button but making sense isn't that important when figuring out what is possible. (there is a plan for this, just it's too complicated to explain)
( CustomButton 1 looks like this [Lock=pitch_lock, big loop=loop 440](1), )
So I want to know can I write a script like ' setting "customButtons" [Lock=pitch_lock, big loop=loop 440](2), ' (I think I tried that already and it didn't work)
It might not make sense to have a script to change 1 button but making sense isn't that important when figuring out what is possible. (there is a plan for this, just it's too complicated to explain)
发表时间 Fri 25 Jul 14 @ 1:11 am
Have u tried to put the value in quotes ?
setting 'setting name' 'value'
setting 'setting name' 'value'
发表时间 Fri 25 Jul 14 @ 2:53 pm
Tried double, single & backwards quotes also no quotes.
发表时间 Sat 26 Jul 14 @ 5:49 am
bump, should it be possible?
发表时间 Fri 01 Aug 14 @ 2:21 pm
It appears its not
发表时间 Sun 03 Aug 14 @ 12:15 pm