AutoHotkey Community

It is currently May 26th, 2012, 11:57 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: September 30th, 2009, 2:49 pm 
Offline

Joined: September 30th, 2009, 2:47 pm
Posts: 1
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..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 3:03 pm 
No, but it´s quite simple,
check the help for Hotkey and Menu


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 4:17 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 4:19 pm 
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......


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 4:30 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 5:17 pm 
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!


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: [VxE], BrandonHotkey, hyper_, Leef_me, Pulover, RaptorX, rbrtryn, XstatyK and 16 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group