Articles | Full Index | RSS Feed
I've just put up a new experimental build that has some new format string variables:

Mostly I think these are self explanatory, but just in case:
In the case where there is no loaded song or sub-session:
The main purpose I see for these variable is with triggers launching external scripts. For example, a trigger that launches an external program whenever a sub-session is loaded, passing the name of the sub-session or song as a command line argument.
One more tip: if you prefix the command line of a execute script trigger with alert: the trigger will display the resolved string as a message box... which I think will be mainly useful for debugging triggers that launch scripts. eg: if a script doesn't seem to be running correctly and you want to see the command line it's being invoked with, just edit the trigger, insert the alert: prefix and invoke the trigger again to see the resolved command line.
This will be in the next official build, or available now in the experimental build (along with a few other miscellaneous fixes).
Posted on February 27, 2010