 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
mp9
Joined: 30 Sep 2009 Posts: 1
|
Posted: Wed Sep 30, 2009 1:49 pm Post subject: Menu with flyouts appearing at mouse position |
|
|
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 |
|
 |
Z_Gecko Guest
|
Posted: Wed Sep 30, 2009 2:03 pm Post subject: |
|
|
No, but itīs quite simple,
check the help for Hotkey and Menu |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Sep 30, 2009 3:17 pm Post subject: |
|
|
| 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
|
Posted: Wed Sep 30, 2009 3:19 pm Post subject: |
|
|
| 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
|
Posted: Wed Sep 30, 2009 3:30 pm Post subject: |
|
|
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
|
Posted: Wed Sep 30, 2009 4:17 pm Post subject: |
|
|
Thank you - 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 - just trying to work out (for myself) now to add flyouts to my flyouts... this thing is awesome isnt it! |
|
| 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
|