Page 1 of 1

AutoIt Context Sensitive Help

Posted: Tue Feb 24, 2004 6:58 pm
by Bob Hansen
I just posted this on the forum for AutoIt. Thought it should be cross posted.
===================================

I just installed AutoIt3, no problems.
=================
Configuring TextPad (4.7.2) for use with AutoIt3:

Created Class and File Filters in TextPad
Installed TextPad Syntax file for AutoIt version 1.
Created Tool in TextPad to run current script.
Discovered Extra\Editors\TextPad tools under AutoIt. :D

Installed newer syntax file and Clip Library using "_install_syntax_files.au3"
Discovered inconvenience #1:

My default paths for Syntax and Class Libraries had previously been modified.
The au3 script appears to write to the registry directly vs. checking for User Defined path. I was able to move the files to the folders where I wanted them, but think it would be better if a check was done to use User Define Paths for these two files. Classify this as an inconvenience vs. a bug. Suggestion for future enhancement.
===================

Installed KeyHH and tried to create Tool for Selected Sensitive Help.
Ran into problem #1: No KeyHH.exe file

Downloaded KeyHH from their site, and installed.
Instructions call to use KeyHH.exe, but no such file exists. What I do get is KeyHH.its which I copied to the C:\Program Files\AutoIt3 folder. I entered KeyHH.its vs. KeyHH.exe as the Command.
I entered -#klink $SelWord "C:\Program Files\Autoit3\AutoIt.chm" for the parameter.
I cleared out Initial Folder setting of $FileDir
I selected a command in the au3 file, activated the tool, and my browser opened but came back with message "This Page Cannot Be Displayed". The URL only shows http://./ :mad:

Is there a step missing to convert KeyHH.its to KeyHH.exe? Have they changed their file content? What do I need to do to use this? This one is not an inconvenience, it is an instructional bug at this point.

(I thought I saw a reference to a Help file for KeyHH, but cannot find it.....it maybe was an MSDN file at time of HHKey installation....may have to reinstall to find it again).

Thanks for your help.....

PS - Am crossposting this on TextPad Forum also.

Posted: Tue Feb 24, 2004 7:31 pm
by CyberSlug
I was really confused, too, when I ran the installer a few weeks ago.
For me, the file installed to c:\windows\keyHH.exe

By the way, keyHH might not be needed. Trids, who is a memeber of both TextPad's and AutoIt's forums, posted the keyHH info for use with an older version of TextPad. Trids said he didn't know that TextPad 4.7.2 supported a special help-command type until he upgraded the other day. Send a PM to Trids via AutoIt's forum and I'm sure he'll be happy explain help file setup.

Posted: Tue Feb 24, 2004 7:53 pm
by Bob Hansen
Thanks CyberSlug, no PM will be needed.

I should have done a Find for KeyHH.exe. Like yours, I found it in the Windows folder. Changed the command line in Tools, and it works fine. :D :D

Did not have to move it to the AutoIt folder since it is already in the Path.

:idea: Perhaps the install instructions should be modified slightly to help others in the future?

Thanks again for your help, looking forward to this new tool......