Page 1 of 1

Status Tray?

Posted: Wed Mar 19, 2008 2:59 am
by ChristopherBodell
Does anyone know how to set up the status tray icon yet? I could use the help.

Many Thanks
Christopher

Posted: Wed Mar 19, 2008 1:38 pm
by Janschenkel
The tray icon is unsupported and specifically for Windows (it won't give you a menu item in the upper-right on MaxOSX, for instance)
Currently the only documentation is available in the Whats_New.txt file in the Revolution directory in Program files.
Here are a few pointers:
1. To get a tray icon:

Code: Select all

set the icon to 204010 -- the id of the image to sue as an icon
2. To set the tray icon menu

Code: Select all

set the iconMenu to "Say boo" & return & "About me"
3. To react to the user picking an item, put this in a backscript

Code: Select all

on iconMenuPick pItem
  answer "Got an iconMenuPick for:" && pItem
end iconMenuPick
For more information regarding the sue of labels, tags and dynamically modifying the icon menu, see the documentation in Whats_New.txt

Hope this helped,

Jan Schenkel.

Ok

Posted: Thu Mar 20, 2008 2:30 am
by ChristopherBodell
Ok, I'll give that a try, thanks Jan

Christopher

Perfect

Posted: Thu Mar 20, 2008 5:03 am
by ChristopherBodell
Thanks Jan,

That's perfect, i remembered seeing something about that somewhere but i couldn't remember, and i previously posted about the icon but i received no replies so yeah.......... Perfect.

Many Thanks,


Christopher