Skip to content

Instantly share code, notes, and snippets.

@metaist
Created March 12, 2013 00:13
Show Gist options
  • Save metaist/5139151 to your computer and use it in GitHub Desktop.
Save metaist/5139151 to your computer and use it in GitHub Desktop.
Control Google Docs using AutoHotKey.
; Google Docs Utility Functions
SavePDF(filename) {
SendInput,!f
Sleep,200
SendInput,d
Sleep,200
SendInput,{Down}
Sleep,200
SendInput,{Down}
Sleep,200
SendInput,{Enter}
Sleep,500
SendInput,{Enter}
WinWait, Save As
SendInput % filename . ".pdf"
SendInput,{Enter}
return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment