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 

Opening Explorer shell context menu from AHK?

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



Joined: 19 Jan 2006
Posts: 15
Location: Heidelberg

PostPosted: Tue Dec 08, 2009 10:07 am    Post subject: Opening Explorer shell context menu from AHK? Reply with quote

Hi,

when you right-click a folder or file in Windows you get the folders shell context menu. There are other programs which also display this same menu, e.g. Explorer replacements. So there must be some API call that will display this menu. Any ideas how this can be achieved?

Background: I just changed from XP to 7. In XP you could right click the folder icon in the UPPER LEFT corner of an Explorer window to get a context menu for the current folder. In Vista and 7 this does not work anymore, and it's driving me crazy. Detecting right-clicks in the upper left corner of an Explorer window should be possible with AHK, but at this moment I don't know how to display the shell menu.

Any help would be appreciated greatly. Thanks!

rh
Back to top
View user's profile Send private message
aaffe



Joined: 17 May 2007
Posts: 1002
Location: Germany - Deutschland

PostPosted: Tue Dec 08, 2009 10:39 am    Post subject: Reply with quote

Did you try this?:
http://www.autohotkey.com/forum/viewtopic.php?t=22120&highlight=context+invoke
Back to top
View user's profile Send private message
rh



Joined: 19 Jan 2006
Posts: 15
Location: Heidelberg

PostPosted: Tue Dec 08, 2009 11:33 am    Post subject: Reply with quote

Great response! I will be able to use this. AND I learned that COM invocation is possible; always thought AHK couldn't do it.

Thanks a lot! Very Happy
Back to top
View user's profile Send private message
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