fisofo Posted March 25, 2007 Share Posted March 25, 2007 I'm using TrayItemSetOnEvent to call functions from a tray script, which works fine... but I'm dynamicaly updating the list of tray items in a submenu and they all call the same function. However, the function does different stuff depending on which trayitem was clicked.... my question is, is there something like a @HotkeyPressed for the tray menu? If not, I suppose I could use the radio trayitems, but what is the most efficient way to find out which trayitem is checked? I suppose I could put the Control ID's into an array as I create them and then search that, but I'm hoping there's a better way? thanks! Link to comment Share on other sites More sharing options...
Valuater Posted March 25, 2007 Share Posted March 25, 2007 @TRAY_ID Last clicked item identifier during a TraySet(Item)OnEvent action. 8) Link to comment Share on other sites More sharing options...
fisofo Posted March 25, 2007 Author Share Posted March 25, 2007 @TRAY_ID Last clicked item identifier during a TraySet(Item)OnEvent action. 8)Thing of beauty, thanks Val. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now