Skip to content

Instantly share code, notes, and snippets.

@MrEngineer13
Created October 14, 2014 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrEngineer13/fa8ff03cd3b31bd472a9 to your computer and use it in GitHub Desktop.
Save MrEngineer13/fa8ff03cd3b31bd472a9 to your computer and use it in GitHub Desktop.
Takes your "random" keystrokes from what you're working on and sends them to the minimized IE window.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; AutoHotkey script to play pokemon in IE while coding.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Dirs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Left::
Send {Left}
ControlSend, Internet Explorer_Server1, {Left}, ahk_class IEFrame
return
Right::
Send {Right}
ControlSend, Internet Explorer_Server1, {Right}, ahk_class IEFrame
return
Up::
Send {Up}
ControlSend, Internet Explorer_Server1, {Up}, ahk_class IEFrame
return
Down::
Send {Down}
ControlSend, Internet Explorer_Server1, {Down}, ahk_class IEFrame
return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; a/b ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
a::
Send {a}
return
b::
Send {b}
return
a UP::
ControlSend, Internet Explorer_Server1, a, ahk_class IEFrame
return
b UP::
ControlSend, Internet Explorer_Server1, b, ahk_class IEFrame
return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Start/Select ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
o::
Send {o}
return
Enter::
Send {Enter}
return
o UP::
ControlSend, Internet Explorer_Server1, o, ahk_class IEFrame
return
Enter UP::
ControlSend, Internet Explorer_Server1, {Enter}, ahk_class IEFrame
return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment