PDA

View Full Version : Multiple macros in DefaultZscript.txt ?



Zobi La Mouche
03-04-11, 09:06 AM
Is this possible ?
I tried to stack the [IPress, macro....] commands but it seems only the first one is executed. Any ideas how to do this ?

marcus_civis
03-04-11, 09:35 AM
You can't do that directly because once the action has passed to the macro it can't return to the defaultzscript. You would need to combine all your macros into one.

If you edit the macros by hand then make sure you only copy to the code from within the button as each macro can only have one button:


[IButton,???,"Press to run this macro. Macros can be aborted by pressing the ‘esc’ key.", //start - don't copy


//copy code from here


]//the macro button ends with a square bracket - don't copy

Zobi La Mouche
03-04-11, 10:27 AM
well that's too bad...
Thanks Marcus !