Zaxon Posted February 3, 2005 Share Posted February 3, 2005 When you run a autoit script, an icon comes up in the system tray. I'd like to add functionality to that icon, in the same manner which other system tray icons have. * right click the icon brings up a context menu * double click the icon calls a function I know of GUICtrlCreateContextMenu which requires a controlID. This is something we don't have, since it isn't a control as such. So I'm kind of lost. Also, I'd like it to be event driven, so that the program would lie dormant when not in use. Can someone steer me in the right direction? Link to comment Share on other sites More sharing options...
Chris_1013 Posted February 3, 2005 Share Posted February 3, 2005 (edited) You can't actually modify the system tray icon menu at the moment. I know someone (I think it was Holger, but apologies if I'm giving credit to the wrong person) was working on a bunch of functions for playing with the system tray icon menu, but these aren't even in a beta version yet. Since 3.0.103 (sorry, mean 3.1) is at feature freeze I don't expect to see them till the betas after this is released. And by expect, I mean hope and pray dearly as this is something I would like to do too :-) Edited February 3, 2005 by Chris_1013 Link to comment Share on other sites More sharing options...
Zaxon Posted February 3, 2005 Author Share Posted February 3, 2005 You can't actually modify the system tray icon menu at the moment.<{POST_SNAPBACK}>Ah, that's a shame. Yes, I think it would be a common requirement.Let's find a workaround:If you assume that you want your program to mostly sit idle in the background, what triggers do we have to activate it?1) hotkeys2) minimize it, leave it hanging around, then maximize it when you want it back againAny other entry points to activate a background program? Link to comment Share on other sites More sharing options...
CyberSlug Posted February 3, 2005 Share Posted February 3, 2005 Might help: http://www.autoitscript.com/forum/index.ph...wtopic=8205&hl= Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Zaxon Posted February 3, 2005 Author Share Posted February 3, 2005 Might help: http://www.autoitscript.com/forum/index.ph...wtopic=8205&hl=<{POST_SNAPBACK}>It does, indeed! I'll use that metholodogy, until context menus are created in a future AutoIt version.Thanks CyberSlug. 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