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 

Adding items into the context-menu

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



Joined: 11 Nov 2005
Posts: 150

PostPosted: Wed Apr 30, 2008 2:23 am    Post subject: Adding items into the context-menu Reply with quote

is it possible to add an ahk scripts into the context-menu so that it is available on all the right-clicks?
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Apr 30, 2008 4:31 am    Post subject: Reply with quote

is this what you want?
Code:
Menu, ContextMenu, Add, SomeAHKFile.ahk, RunScript
Gui, Show, w50 h50
Return

GuiContextMenu:
Menu, ContextMenu, Show, %A_GuiX%, %A_GuiY%
Return

RunScript:
Run %A_ScriptDir%\SomeAHKFile.ahk
Return
Back to top
badmojo



Joined: 11 Nov 2005
Posts: 150

PostPosted: Wed Apr 30, 2008 4:45 am    Post subject: Reply with quote

i forgot to mention in the earlier thread but i'm looking for a way to add an entry into the system's context-menu such as when you right-click on the desktop, explorer, etc..
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 6847
Location: Pacific Northwest, US

PostPosted: Wed Apr 30, 2008 3:46 pm    Post subject: Reply with quote

I don't think AHK can do that directly
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
John W



Joined: 09 Apr 2007
Posts: 172

PostPosted: Wed Apr 30, 2008 4:06 pm    Post subject: Reply with quote

For this you would have to make changes to the registry.
I cannot recommend this.
_________________
John
Inactive - Until AutoHotkey is available for Linux.
Back to top
View user's profile Send private message Send e-mail
Guest






PostPosted: Wed Apr 30, 2008 5:41 pm    Post subject: Reply with quote

i've looked for this for past few days
and my result was same with above answerers

1) you can't do it with ahk itself
2) you can do it by editing registry in some cases
3) you may can do it by message hooking i don't know
Back to top
widow
Guest





PostPosted: Wed Apr 30, 2008 7:58 pm    Post subject: Reply with quote

Fast explorer

http://thesoftpro.tripod.com/downloads/fe/index.htm
Back to top
Guest






PostPosted: Wed Apr 30, 2008 8:13 pm    Post subject: Reply with quote

widow wrote:
Fast explorer

http://thesoftpro.tripod.com/downloads/fe/index.htm


Quote:
Fast Explorer Context Menu Extension DLL

Fast Explorer Context Menu Extension DLL is the shell extension library that allows third party applications to add sophisticated context menu items. It is configured via plain Ini-file and does not require for developers a deep knowledge in the areas of Windows shell extensions and Windows Registry.

Fast Explorer Context Menu Extension DLL (FEShlExt.dll) may be freely used and redistributed with third party products for both commercial and non-commercial purposes. The only requirement is to mention in the product documentation that the product has it included.


interesting! Smile
Back to top
Guest






PostPosted: Wed Apr 30, 2008 9:59 pm    Post subject: Reply with quote

Anonymous wrote:


interesting! Smile
Yes and it works nice here (XP). But i have only used it with the app that comes with the package from the site.
Back to top
widow
Guest





PostPosted: Wed Apr 30, 2008 10:00 pm    Post subject: Reply with quote

forgot to tell you that i find FE 3days ago. No error yet Twisted Evil
Back to top
badmojo



Joined: 11 Nov 2005
Posts: 150

PostPosted: Thu May 01, 2008 4:11 am    Post subject: Reply with quote

widow wrote:
Fast explorer

http://thesoftpro.tripod.com/downloads/fe/index.htm

thanks widow for the tip on Fast Explorer, i'll see if i can get my head around it. Smile in the meantime, if anyone wants to write an AHK sample code using Fast Explorer's DLL, i'd be most happy.
Back to top
View user's profile Send private message
widow
Guest





PostPosted: Thu May 01, 2008 6:01 am    Post subject: Reply with quote

badmojo wrote:
widow wrote:
Fast explorer

http://thesoftpro.tripod.com/downloads/fe/index.htm

thanks widow for the tip on Fast Explorer, i'll see if i can get my head around it. Smile in the meantime, if anyone wants to write an AHK sample code using Fast Explorer's DLL, i'd be most happy.
The app is very simple to use. But i can see more possibilitys with ahk. not just remote. But i think for only local use its alot easier to learn how the app is working and go from there. I bet all the functions from the dll is simple from the app.
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