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 

hold down LButton then press RButton to make a menu appear..

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Dec 20, 2009 6:06 pm    Post subject: hold down LButton then press RButton to make a menu appear.. Reply with quote

hold down LButton then press RButton to make a menu appear..

What should i write here? ::Menu, MyMenu, Show
Back to top
Micahs



Joined: 01 Dec 2006
Posts: 460

PostPosted: Mon Dec 21, 2009 1:31 am    Post subject: Reply with quote

Try this.

Code:
Menu, popup, Add, Show, clicked
Menu, popup, Add, Hide, clicked
Menu, popup, Add, Exit, clicked

Return
clicked:
   MsgBox, %A_ThisMenuItem%
Return

~LButton & RButton::
   Menu, popup, Show
Return

_________________
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Dec 21, 2009 2:19 pm    Post subject: Reply with quote

Thank you!
It works perfect Smile
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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