Jump to content

Recommended Posts

Posted

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!

Posted

@TRAY_ID Last clicked item identifier during a TraySet(Item)OnEvent action.

8)

Thing of beauty, thanks Val.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...