Andrew Guyton's Blog

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

Leave a Reply

 

Powered by WordPress and theme developed using WordPress Theme Generator.
Copyright © Andrew Guyton. All rights reserved. Feeds: Entries (RSS) and Comments (RSS).