initial value of global variable

pcaudio

2009-12-14 05:31:50

Hi, i need to know if global variables can take initial values automatically, without an incoming message. For example assign gq= 192 at load preset. Please explain details.
Thanks

Attigo

2009-12-16 05:42:19

Hi pcaudio!

This is quite simple, you just need to have a 'Preset' which is 'always active', you can define this in the settings (right-click the preset), this will load on opening the (overall) Preset. Inside that 'Preset' you need a 'Translator' which has an incoming action of 'on activation of this preset' and you can set the global variable in the rules.

gq=192

You just leave the outgoing action blank.

Hope this helps!

Scott

jimspree

2009-12-20 19:15:05

You could also use the 'the project file is opened' under 'Special' incoming message type instead of 'on preset load'. You would still need to place this in the 'always active' preset.

Jim