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 

Menu with flyouts appearing at mouse position

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



Joined: 30 Sep 2009
Posts: 1

PostPosted: Wed Sep 30, 2009 1:49 pm    Post subject: Menu with flyouts appearing at mouse position Reply with quote

If this is already covered, I apologise - I have looked!

My aim, which I hope is realtively simple but suspect is not, is to use f1 to f8 to bring up 8 different menus - appearing at the location of the mouse - each will have a simple text list of commands that when picked will execute keystrokes - some of these will have additional flyouts with additional commands..... bascially laid just like the windows start button. - (if possible there would be no pick involved but a "hover" to select the command, thats not critical but a nice to have..)

Does anybody know of a script that loosely resembles that, or several that do that I read to follow the logic of how to do this. Any advice greatly appreciated - I only started using this yesterday and feel a little swamped at the moment but am more than happy to have serious go at it..
Back to top
View user's profile Send private message
Z_Gecko
Guest





PostPosted: Wed Sep 30, 2009 2:03 pm    Post subject: Reply with quote

No, but itīs quite simple,
check the help for Hotkey and Menu
Back to top
Guest






PostPosted: Wed Sep 30, 2009 3:17 pm    Post subject: Reply with quote

Z_Gecko wrote:
No, but itīs quite simple,
check the help for Hotkey and Menu


err simple... well maybe sometime for me it could be, having started yesterday - not really. I have as you suggest been looking through the help file but as you can imagine its rather in depth and a lot to try and digest. Thanks for the small pointers
Back to top
Guest






PostPosted: Wed Sep 30, 2009 3:19 pm    Post subject: Reply with quote

Anonymous wrote:
Z_Gecko wrote:
No, but itīs quite simple,
check the help for Hotkey and Menu


err simple... well maybe sometime for me it could be, having started yesterday - not really. I have as you suggest been looking through the help file but as you can imagine its rather in depth and a lot to try and digest. Thanks for the small pointers


I have the hotkeys worked out - easy yes - very.... its a menu that appears at mouse location and has flyouts I am struggling with......
Back to top
Z_Gecko
Guest





PostPosted: Wed Sep 30, 2009 3:30 pm    Post subject: Reply with quote

adapted from Example#1 of the Menu-Help
Code:

Menu, MyMenu, add  ; Creates a separator line.
Menu, MyMenu, add, Item1, MenuHandler  ; Creates a new menu item.
return

MenuHandler:
MsgBox You selected %A_ThisMenuItem% from menu %A_ThisMenu%.
return

F10::
MouseGetPos, PosX, PosY
Menu, MyMenu, Show, %PosX%, %PosY%
return
Back to top
Guest






PostPosted: Wed Sep 30, 2009 4:17 pm    Post subject: Reply with quote

Thank you Smile - I had as you suggested looked at the example in menus and am on the way to doing this already - and you were right it was pretty darn easy Wink - just trying to work out (for myself) now to add flyouts to my flyouts... this thing is awesome isnt it!
Back to top
Display posts from previous:   
Post new topic   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