Sign In:     


Forum: Old versions

Topic: Custom buttons in detail

This topic is old and might contain outdated or incorrect information.

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?
 

Posted 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.
 

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?
 

I am not following you to be honest. What exactly do you wish to accomplish ?
 

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)
 

Have u tried to put the value in quotes ?
setting 'setting name' 'value'
 

Tried double, single & backwards quotes also no quotes.
 

bump, should it be possible?
 

It appears its not
 



(Old topics and forums are automatically closed)