 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
skrommel Guest
|
Posted: Sun Apr 04, 2004 7:26 pm Post subject: Assigning actions to clicking the AutoHotkey tray icon |
|
|
How about assigning actions to clicking, doubleclicking and rightclicking the AutoKeykey tray icon?
I want to make tray launchers, menus, control MP3-players, whatever! |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sun Apr 04, 2004 7:41 pm Post subject: |
|
|
I've made a note of your idea. In the meantime, you can already customize double-clicking the tray icon by setting your own default, as in this example:
menu, tray, add ; Create a separator line.
menu, tray, add, Launch Player, LaunchPlayer
menu, tray, Default, Launch Player
return
LaunchPlayer:
MsgBox, You double-clicked the tray icon or selected the "Launch Player" item.
return
; Adding at least one hotkey is one way to make the script persistent:
^!p::pause |
|
| Back to top |
|
 |
skrommel Guest
|
Posted: Sun Apr 04, 2004 10:41 pm Post subject: Missed that one |
|
|
I missed the Default action, sorry!
Doubleclicking will do nicely for now!
Great response time in this forum! |
|
| 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
|