| View previous topic :: View next topic |
| Author |
Message |
tinaa
Joined: 25 Nov 2004 Posts: 57
|
Posted: Mon Jul 14, 2008 10:59 pm Post subject: Calling help with search keyword? |
|
|
I just started using Notepad++ and want to set up a macro to launch context sensitive help for Autohotkey. To do this I'd need to call the Autohotkey help with a command line including the search term.
Is there any way to launch the help this way (say from a command prompt)? I realize, I could set up an Autohotkey script to call the help file then initiate the search, but if I could do it directly at launch I think that might be better.
Thanks. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Mon Jul 14, 2008 11:33 pm Post subject: |
|
|
I think you can
| Code: |
;to see the folder structure
run, hh -decompile c:\temp\ahk c:\program files\autohotkey\autohotkey.chm
;to open to WinWait
run, hh c:\program files\autohotkey\autohotkey.chm::/docs/commands/WinWait.htm
|
TESTED _________________
(Common Answers) |
|
| Back to top |
|
 |
tinaa
Joined: 25 Nov 2004 Posts: 57
|
Posted: Tue Jul 15, 2008 12:26 am Post subject: |
|
|
Thanks, but I don't think that will work for me since it requires specifying the whole path to the page you want to view. I'll only have the actual keyword, so I need some way to launch hh autohotkey.chm and give it "WinWait" as a keyword, then have it find the right page itself through its own index or search.
Is that possible?
Thanks! |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Tue Jul 15, 2008 2:05 am Post subject: |
|
|
I use PSPad, where you tell it that ahk files are associated with autohotkey.chm, and it just works. Maybe you can find an open source editor that does the same thing, and see how they do it. _________________
(Common Answers) |
|
| Back to top |
|
 |
tinaa
Joined: 25 Nov 2004 Posts: 57
|
Posted: Tue Jul 15, 2008 2:58 am Post subject: |
|
|
Well, maybe I'll take a look at some other editors when I have a chance. For now, I think I'll just take a snippit of the Autohotkey script for context help (provided in the help file and here the sample scripts section) to setup a command line autohotkey script that will call the help file and search it for me.
Thanks! |
|
| Back to top |
|
 |
|