Sign in to follow this  
Followers 0
clevername47

Click on another program's system tray icon

6 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 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

Share this post


Link to post
Share on other sites

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 ???

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0