Use AHK Toolkit to help test and develop AutoHotkey code (V1 AutoHotkey script)

Around 10 years ago RaptorX developed a great tool entitled AHK Toolkit in ahk v1.  

Streamline testing your code with this Update to AHK Toolkit
Streamline testing your code with this Update to AHK Toolkit


Main features:

  • Create hotkeys to launch programs or scripts without need to restart the script
  • Create normal or multi-line hotstrings on the fly also without needing to restart the script
    • They can be ahk commands as well.
  • Small Editor to write and execute autohotkey scripts even when you dont have autohotkey installed in the PC
    • I use it to test code without having to save a file for it, but this really shines when the script is compiled and you are in a pc that does not have AHK installed.
  • Auto run selected code
    • If you Ctrl + Alt Click selected text that is ahk code it will be run automatically.
  • Detect AutoHotkey scripts copied to the clipboard and allow you to upload it to a pastebin service or save it to a file.
    • This little gem copies the link of the created pastebin to the clipboard.
    • If you use AutoHotkey.net as the pastebin. you can specify a nickname and your paste will be auto announced in IRC channel.
    • It also auto replace #Include files by the actual files. no more: “oh i forgot to mention that there are includes there… remove those lines!”.
  • Open the help file and search for the word below the cursor using a hotkey of your preference.
  • Use a secondary hotkey to open online documentation if there is no help file in your computer. If you are in the forum this function will add [url] tags on the word so that it becomes clickable after posting.

Secondary features:

  • Auto run selected code
    • If you Ctrl + Alt Click selected text that is ahk code it will be run automatically. You can also Ctrl + Alt Drag to select the text and once you let go of the Left Mouse button the script will run.
  • Alt + Click on a window will take a screen shot of it and upload it to an anonymous Imageshack acount if you did not specify one on the options. The link will be copied to the Clipboard for easy share.
  • Alt + Dragging the mouse will take a screen shot of the selected area and do the same as above.

Webinar- SciTE4AutoHotkey is an amazing editor!

SciTE4AutoHotKey

In this AutoHotkey Webinar we cover using/customizing  SciTE4AutoHotkey by FincsSciTE webinar

Video Hour 1: High-level overview:

SciTE4AutoHotkey is a lightweight and easy to use SciTE-basedAutoHotkey script editor. It provides:

Demonstration of cool SciTE4AutoHotkey features

  1. Multi-line typing
  2. Dynamic Intellisense
  3. Move text up/down
  4. Comment / Un-comment
  5. Change applied Intellisense language
  6. Copy / Paste as RTF
  7. Custom Context Menu
  8. Search / Replace – with RegEx
  9. List of Extensions to “open”
  10. Highlight multiple instances of each word
  11. Change color of highlighting for found word
  12. Custom Status bar
  13. Configure hotkeys (w/o AutoHotkey)
  14. Custom your Status bar
  15. Setting default magnification level
  16. Import additional languages (here are an additional ~70 languages)
  17. Leverage the Output area as a GUI
  18. Customizing your context menu
  19. Running multiple instances of SciTE
  20. Debug your scripts
  21. Run selected text

Scripts / External Resources

  1. Main thread on SciTE4AutoHotkey
  2. 16 videos @ the-Automator on using / customizing SciTE
  3. 42 of built-in Hotkeys
  4. My SciTE User.properties file (backup yours before playing with it!)
  5. Adding Intellisense for an additional ~70 languages
  6. Scintilla / SciTE Documentation, Interface, Menu /Key commands
  7. UserGroup plus StackOverflow
  8. Second SciTE window by boiler (launch script, then do new window)
  9. Tweaking Intellisense to use your file / library from XeroByte
  10. Have Intellisense examine current file from lexikos

Video Hour 2: Discussion and Q&A

A close view of a laptop keyboard and touchpad with a small blue USB port and cables visible at the edge, shown in a tech blog postScript Highlight: Button Clock

Why waste space for “Start” button.   Use Button_Clock_WINXP from Goyyah

AHK Studio is an impressive IDE / editor for AutoHotkey

A white stress ball with the green AutoHotkey logo being held in a hand, with a laptop keyboard blurred in the backgroundAHK Studio is an amazing and impressive IDE / Editor for AutoHotkey

AHK Studio editor for AutoHotkeyI had an in-depth Hangout with Chad Wilson (Maestrith on the forum), the Author and Designer of AHK Studio.   Check out my AHK Studio tutorials here

While I’ve been, and still am, a very satisfied SciTE4AHK user, I was very impressed with many aspects of the tool.  It is very intuitive to use and offers some great features that will simplify a coding.  Not surprisingly AHK Studio is loaded with HotKeys that, once you familiarize yourself with them, will be awesome!  While advanced programmers in AutoHotkey will love the advanced functionality, Noobs will enjoy it’s simplicity.

Update:  If you’re working in v2, we’ve created  our own fork of AHK Studio which will allow you to open and run AutoHotkey v2 files in AHK Studio.   (Note AHK studio is still written in v1 so you will need to have v1 on the computer)

Here are links where you can you can download it from the AHK forum or from GitHub.  Please keep in mind it is still in development.  (This is both good and bad.  It is good because Chad is very active and open to tweaks/fixes/improvements, bad because “kinks” are never fun)

AHK Studio

Here are a few videos on AHK Studio  and below is the nearly 2-hour video demonstrating some of the configuration settings and functionality.

Setup & Review of AHK Studio- Great IDE & editor for AutoHotkey

A black AutoHotkey branded water bottle on a desk beside a laptop, with a person reading a newspaper in the background