| View previous topic :: View next topic |
| Author |
Message |
badmojo
Joined: 11 Nov 2005 Posts: 150
|
Posted: Wed Apr 30, 2008 2:23 am Post subject: Adding items into the context-menu |
|
|
| 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 |
|
 |
Guest
|
Posted: Wed Apr 30, 2008 4:31 am Post subject: |
|
|
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
|
Posted: Wed Apr 30, 2008 4:45 am Post subject: |
|
|
| 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 |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6847 Location: Pacific Northwest, US
|
Posted: Wed Apr 30, 2008 3:46 pm Post subject: |
|
|
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 |
|
 |
John W
Joined: 09 Apr 2007 Posts: 172
|
Posted: Wed Apr 30, 2008 4:06 pm Post subject: |
|
|
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 |
|
 |
Guest
|
Posted: Wed Apr 30, 2008 5:41 pm Post subject: |
|
|
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
|
|
| Back to top |
|
 |
Guest
|
Posted: Wed Apr 30, 2008 8:13 pm Post subject: |
|
|
| 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!  |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Apr 30, 2008 9:59 pm Post subject: |
|
|
| Anonymous wrote: |
interesting!  | 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
|
Posted: Wed Apr 30, 2008 10:00 pm Post subject: |
|
|
forgot to tell you that i find FE 3days ago. No error yet  |
|
| Back to top |
|
 |
badmojo
Joined: 11 Nov 2005 Posts: 150
|
Posted: Thu May 01, 2008 4:11 am Post subject: |
|
|
thanks widow for the tip on Fast Explorer, i'll see if i can get my head around it. 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 |
|
 |
widow Guest
|
Posted: Thu May 01, 2008 6:01 am Post subject: |
|
|
| badmojo wrote: |
thanks widow for the tip on Fast Explorer, i'll see if i can get my head around it. 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 |
|
 |
|