AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Assigning actions to clicking the AutoHotkey tray icon

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
skrommel
Guest





PostPosted: Sun Apr 04, 2004 7:26 pm    Post subject: Assigning actions to clicking the AutoHotkey tray icon Reply with quote

Question 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

PostPosted: Sun Apr 04, 2004 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
skrommel
Guest





PostPosted: Sun Apr 04, 2004 10:41 pm    Post subject: Missed that one Reply with quote

Embarassed I missed the Default action, sorry!

Doubleclicking will do nicely for now!

Great response time in this forum!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group