cuprohastes Wanderer
Joined: 22 Oct 2006 Posts: 92
|
Posted: Wed May 20, 2009 1:05 pm
[3.07] Workround for multistate in multiple sessions via global bug |
A multi-state button that's in a global accessed by multiple sessions won't work in the second session that's opened.
However... There is a work around.
Create a menu item locally for each session.
Set the caption of your menu to a variable e.g. @lastused
Create the variable locally
Put the Class folder for your menu with menu sub items into your global. Each Menu sub item is one of the multi state button entries.
Add a line of script to each menu sub item to write the name of the item to the variable.
This should allow you to use the same set of commands across multiple sessions without needing local instances. Also the menu button can just be copied across to every session package. |
|