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 

Invoking directly ContextMenu of Files and Folders

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Sean



Joined: 12 Feb 2007
Posts: 1337

PostPosted: Thu Aug 16, 2007 6:47 am    Post subject: Invoking directly ContextMenu of Files and Folders Reply with quote

It'll invoke the context menu of a file-system/virtual file or folder, without opening the explorer window.

DOWNLOAD ShellContextMenu.ahk and CoHelper.ahk.


Last edited by Sean on Tue Aug 21, 2007 4:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Hardeep



Joined: 02 Jul 2006
Posts: 87

PostPosted: Thu Aug 16, 2007 10:50 am    Post subject: Reply with quote

I love these tricks you do with COM Very Happy

Thanks
Back to top
View user's profile Send private message
Thalon-nli
Guest





PostPosted: Mon Apr 28, 2008 7:00 pm    Post subject: Reply with quote

Thanks Sean!
That's what I actually was looking for Smile
Back to top
LBJ



Joined: 03 May 2007
Posts: 16

PostPosted: Mon May 05, 2008 12:44 pm    Post subject: Reply with quote

I've played with this for most of the afternoon now and I've looked at a lot of incomplete pieces of related information, but I can't make this work with a group of selected files rather than just one item.

Has anyone managed to expand on this to work with a set of files? If so, how did you mange it?
Back to top
View user's profile Send private message
sabot7726



Joined: 27 Nov 2006
Posts: 21

PostPosted: Tue Jul 22, 2008 11:51 am    Post subject: Reply with quote

Is it possible to add a portion of ahk scripting to the right click context menu?

For example:
Let's say I have a script called copypaste.ahk that copies and pastes something into another program. I would want to highlight a word and rightclick, then see an option there called copypaste where it can do the copy/paste operation.

Is that possible yet? Smile
Back to top
View user's profile Send private message
Sean



Joined: 12 Feb 2007
Posts: 1337

PostPosted: Wed Jul 23, 2008 3:29 am    Post subject: Reply with quote

sabot7726 wrote:
Is it possible to add a portion of ahk scripting to the right click context menu?
You're a bit vague on what you'd like to do. If you meant the explorer's context menu, you can do it by adding Shell Menu item, or by writing a ContextMenuHandler dll. If you meant the context menu of this script, you can do it without dll even at runtime, but I have no desire to release any further work on this. You may tweak the script yourself to your need as all needed ones for that were already put to the script.
Back to top
View user's profile Send private message
Sean



Joined: 12 Feb 2007
Posts: 1337

PostPosted: Wed Jul 23, 2008 4:02 am    Post subject: Reply with quote

LBJ wrote:
Has anyone managed to expand on this to work with a set of files? If so, how did you mange it?
How do you think Explorer does it? You can exactly do the same with the script.
Back to top
View user's profile Send private message
ahklerner



Joined: 26 Jun 2006
Posts: 1205
Location: USA

PostPosted: Wed Jul 23, 2008 5:16 am    Post subject: Reply with quote

Once again, you have provided a great script for the community. I realize this is a bit old, but I just wanted to say thanks.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions 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