Simple AutoHotKey Tricks

Here are some helpful hints for those using the amazing scripting program/framework/language AutoHotKey.

When you copy, you need to wait for the text to appear on the clipboard. If you don’t mind nuking the clipboard, use this function:

Copy()
{
    clipboard =
    Send ^c
    ClipWait
}

If you want to wait for a page to load (in IE8, at least), use the command:

StatusWait Done

To add Firefox/Chrome’s standard shortcuts to IE, use the following:

#IfWinActive ahk_class IEFrame
    ^k::Send ^e
    ^l::Send !d
#IfWinActive

Andrew Guyton
http://www.disavian.net/

Leave a Reply