HNHacker News
TopNewBestAskShowJobs

jimu

3 karma · joined May 30, 2015

submissionscomments
jimu··on Read and understand code faster with programming ligatures in Fira Code font
wow. someone worked really hard to solve a problem that doesn't exit
jimu··on Ask HN: How can I restore my desktop each time I restart?

  ; 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
  }
jimu··on Ask HN: How can I restore my desktop each time I restart?
I use autohotkey (http://ahkscript.org). It can launch applications and resize and reposition windows.