Quick Sign In:  

Forum: Old versions

Topic: Custom buttons in detail

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

locoDogPRO InfinityModeratorMember since 2013
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?
 

geposted Wed 23 Jul 14 @ 7:24 am
locoDogPRO InfinityModeratorMember since 2013
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.
 

geposted Wed 23 Jul 14 @ 8:07 pm
locoDogPRO InfinityModeratorMember since 2013
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?
 

geposted Thu 24 Jul 14 @ 4:22 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
I am not following you to be honest. What exactly do you wish to accomplish ?
 

geposted Thu 24 Jul 14 @ 8:18 pm
locoDogPRO InfinityModeratorMember since 2013
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)
 

geposted Fri 25 Jul 14 @ 1:11 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Have u tried to put the value in quotes ?
setting 'setting name' 'value'
 

geposted Fri 25 Jul 14 @ 2:53 pm
locoDogPRO InfinityModeratorMember since 2013
Tried double, single & backwards quotes also no quotes.
 

geposted Sat 26 Jul 14 @ 5:49 am
locoDogPRO InfinityModeratorMember since 2013
bump, should it be possible?
 

geposted Fri 01 Aug 14 @ 2:21 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
It appears its not
 

geposted Sun 03 Aug 14 @ 12:15 pm


(Alte Themen und Foren werden automatisch geschlossen)