Hacker News new | ask | show | jobs
by jimu 4032 days ago

  ; Autohotkey script
  ; This script binds <Windows+j> to function putty_open, which
  ; opens two ssh windows and moves them to the hardcoded
  ; coordinates below.
  ;
  ; "TASKS1" and "STUFF" are both putty profile names and
  ; window titles.

  #j:: putty_open()

  putty_open()
  {
    run c:\bin\putty -load TASKS1
    run c:\bin\putty -load STUFF
    WinMove TASKS1,,0,0
    WinMove STUFF,,0,612
    WinActivate TASKS1
    WinActivate STUFF
  }
1 comments

Awesome. Thanks, @jimu -- I'll try this.