(redirected from Tools.AutoHotkey)

AutoHotkey

Lessons

  • manage AHK script
    • #F1::Run "c:\Program Files\Vim\vim72\gvim.exe" "C:\Documents and Settings\tyflser\My Documents\AutoHotkey.ahk"
    • #F2::Reload
  • change script editor
    • HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command
  • start app with a specific position and size
    • Run "C:\Program Files\PuTTY\putty.exe" -load seedea
    • WinWait seedea.org - PuTTY
    • WinMove, 0, 548
    • return
    • note that Putty has restrictions (step by step resizing) which can eventually be overcame through its startup options
  • start text editor then paste the current buffer in it
    • Run c:\Program Files\Vim\vim72\gvim.exe
    • WinWait [No Name] - GVIM
    • WinActivate
    • Send ^v
    • return
  • Escape Flash application from Vimperator
    • echo "MouseClick, left, 266, 771" > c:\bottomclick.ahk
    • #z::Run c:\bottomclick.ahk
  • bind Windows+Fn key to start a program
    • #F8::Run cmd /k CD /d e:\home\utopiah

See also

To do

  1. share Path:/pub/toolsfiles/AutoHotkey.ahk (02/04/2011 version)
  2. http://www.autohotkey.com/docs/commands/WinMove.htm is also used to resize a window

Note

My notes on Tools gather what I know or want to know. Consequently they are not and will never be complete references. For this, official manuals and online communities provide much better answers.