AutoHotkey Community

It is currently May 26th, 2012, 10:20 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: April 27th, 2005, 10:25 pm 
Offline

Joined: April 28th, 2004, 1:12 pm
Posts: 349
I've found that when I'm writing scipts I'm continually looking up the commands in the help files so I've put together this program which will automatically search the help files online as you are typing your code. A small browser window will appear in the bottom right of the screen.

I have set it to look for the word "pad" in the active window title so that it will only work when your editor window is active. You can change this in the Editor.ini file.

http://hometown.aol.co.uk/JRMC137/AHKHelp.zip (If the link doesn't work keep trying. AOL seem to be having problems recently)

Image

I've pinched bits of code from Rajats intellisence script.

It may look a bit too big on an 800x600 display. The browser window can be resized.

I've used VB.net to make the browser window so if you get any error messages about missing DLL's then you'll need to install the Microsoft .NET Framework from here.

I'll probably change it to get the pages from the offline help files instead tommorrow to speed it up and to avoid problems with corporate firewalls. It curently searches the online help so you need to be connected to the internet.


Last edited by Jon on April 27th, 2005, 11:28 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2005, 10:39 pm 
I've found (by mistake :wink:) that you can open/browse any AHK help topic "offline" with IE (regardless that it has been "bundled" within an CHM project. eg. INIRead

Code:
MyAHKPath = C:\Download\Software\AutoHotkey

Run, mk:@MSITStore:%MyAHKPath%\AutoHotkey.chm`::/docs/commands/IniRead.htm

Maybe this is of use for your project :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2005, 10:48 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Although the AHK help file has great functionality on Index it doesn't provide intellisense so it's quite good thanks.

Btw. it only shows If(..) commands, is this how it was meant to be?

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2005, 11:06 pm 
Offline

Joined: April 28th, 2004, 1:12 pm
Posts: 349
BoBo wrote:
I've found (by mistake :wink:) that you can open/browse any AHK help topic "offline" with IE (regardless that it has been "bundled" within an CHM project. eg. INIRead

Code:
MyAHKPath = C:\Download\Software\AutoHotkey

Run, mk:@MSITStore:%MyAHKPath%\AutoHotkey.chm::/docs/commands/IniRead.htm

Maybe this is of use for your project :wink:


I remembered I could do that just as I was posting it :oops:. I'll change it tommorrow to use that method.

Quote:
Btw. it only shows If(..) commands, is this how it was meant to be?


Yes, It will show the If statements when it first starts (it probably shouldn't ) but if you open notepad and type in "msgbox, " for example the commands will change to the message box ones. Click on the links in the left hand column and the page from the help files will appear in the right hand column.

edit:
It will also search for part of a word so for example if you type "win" then return it will bring up all of the windows commands.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 7 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group