 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
animeaime
Joined: 04 Nov 2008 Posts: 1046
|
Posted: Wed Nov 19, 2008 3:52 pm Post subject: Toggling system tray menu on click |
|
|
What I'm trying to do is have the menu (on the system tray), toggle when clicking. The default behavior is that if the menu is already open and you click on the menu, then it will reopen, What I want is for it to close. I thought I had a solution, but after more testing, I found out it's a flop. Any suggestions? _________________ As always, if you have any further questions, don't hesitate to ask.
Add OOP to your scripts via the Class Library. Check out my scripts. |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 1994 Location: GERMANY
|
Posted: Wed Nov 19, 2008 10:01 pm Post subject: |
|
|
Try: (using this pressing RButton on a menu item does same as pressing LButton)
| Code: | #Persistent
#NoTrayIcon
#IfWinExist, AHK_class #32768
RButton::Click
#IfWinExist
Return |
_________________ AutoHotFile - ToolTip(n,text,title,options) |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|