Sign in to follow this  
Followers 0
sockwig

Right Click in system tray

5 posts in this topic

I am hoping someone can help me a bit with this small problem. I've created an Autoit script for installing a print screen utility. The script works wonderfully. However I would like to be able to script a couple of changes that need to be made in application itself. The problem I am having is the only way to access the options of this program is to right click on the icon in the system tray. I actually have a working script that uses the mouse coordinates for the icon, but as you are well aware that icon may not be in the same position every time it is installed. What I need to know is there a way to bring up the context menu for that specific application in the task bar? Any and all help is greatly appreciated.

Thank you!

Share this post


Link to post
Share on other sites



If the screengrab utility is something you wrote why don't you just modify it so the functions can be accessed by some other means.

Maybe set a hotkey to call the function instead.

Share this post


Link to post
Share on other sites

The System Tray is only a ToolBar with some buttons on it. You can use PaulIA's AU3Library of functions, specifically A3LToolBar.au3, to manipulate them as you like. I know I've posted a demo on this before, but I don't have time to look for it right now...

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

weaponx: it is not a program I wrote, it is an application that the company uses and is installed on all the computers. Since I setup all the computers that come in I was looking for a way to make it easier to get the applications installed with the correct settings. I have just started using Autoit (great tool!) to help me automate these software installs.

PsaltyDS: Thanks for the information, after I posted the question I continued to search the forums and I had just found PaulIA's AU3Library and downloaded it. Right now I am trying to figure it out how best to use it , I'll see if I can find your example somewhere in the forum.

Thanks to both of you for the responses.

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