clevername47 Posted February 1, 2007 Share Posted February 1, 2007 I'd like to use AutoIt to send a left-click to another program's system tray icon. Is this possible? If so, how can I do it? Link to comment Share on other sites More sharing options...
Shevilie Posted February 1, 2007 Share Posted February 1, 2007 (edited) Well its possible with MouseClick.. But how to find the coordinates for the icon to click - That is dont know Witch program do you wanna click on ??? Edited February 1, 2007 by Shevilie Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
clevername47 Posted February 1, 2007 Author Share Posted February 1, 2007 Well its possible with MouseClick.. But how to find the coordinates for the icon to click - That is dont knowWitch program do you wanna click on ???It's a desktop calendar manager, called Rainlendar (when I press Win+D I want the calendar to stay on my desktop, but it disappears, but I can "fix" this with AutoIt if I can figure out how to send its tray icon a click). And I would rather send a message directly to the program than actually moving the mouse down there and clicking it. I want this to be reliable and fast, and I also have the program's tray icon set to hidden. Link to comment Share on other sites More sharing options...
Shevilie Posted February 1, 2007 Share Posted February 1, 2007 Hmmm you can try this... Get the title of the program use the Auto It Tool Then use this WinSetState ( "title", "", @SW_RESTORE) Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
clevername47 Posted February 1, 2007 Author Share Posted February 1, 2007 Hmmm you can try this...Get the title of the program use the Auto It Tool Then use this WinSetState ( "title", "", @SW_RESTORE)I've already tried all the standard stuff - Rainlendar uses some weird window that doesn't show up in the taskbar, and that doesn't work either. However, I did take a closer look at its settings and I discovered that you can bind a hotkey to its show command, so problem solved! Thanks for your help though. It figures that I wouldn't think of the obvious things first Link to comment Share on other sites More sharing options...
Shevilie Posted February 1, 2007 Share Posted February 1, 2007 Hehe np Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit 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