Skip to content

Instantly share code, notes, and snippets.

@yamaz
Created December 24, 2010 02:35
Show Gist options
  • Select an option

  • Save yamaz/753826 to your computer and use it in GitHub Desktop.

Select an option

Save yamaz/753826 to your computer and use it in GitHub Desktop.
My AutoHotKey config
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments. They are not executed.
; This script is a .INI file because it is a special script that is
; automatically launched when you run the program directly. By contrast,
; text files that end in .ahk are associated with the program, which
; means that they can be launched simply by double-clicking them.
; You can have as many .ahk files as you want, located in any folder.
; You can also run more than one .ahk file simultaneously and each will
; get its own tray icon.
; Please read the QUICK-START TUTORIAL near the top of the help file.
; It explains how to perform common automation tasks such as sending
; keystrokes and mouse clicks. It also explains how to use hotkeys.
; SAMPLE HOTKEYS: Below are two sample hotkeys. The first is Win+Z and it
; launches a web site in the default browser. The second is Control+Alt+N
; and it launches a new Notepad window (or activates an existing one). To
; try out these hotkeys, run AutoHotkey again, which will load this file.
;;#z::Run www.autohotkey.com
;; muhenkan
vk1Dsc07B::LWin
return
;; henkan
vk1Csc079::Space
return
;; katakana hiragana
vkF2sc070::Space
return
#IfWinActive ahk_class PuTTY
^Tab::
WinGetClass, className, A
WinActivateBottom, ahk_class %className%
return
#IfWinActive
#IfWinActive ahk_class VTWin32
^Tab::
WinGetClass, className, A
WinActivateBottom, ahk_class %className%
return
#IfWinActive
#IfWinActive ahk_class PuTTY
!v::
Send,+{Insert}
return
#IfWinActive
;; memo
;; Hotkey
;; + shift
;; ^ Control
;; ! alt
;; # win
;; see http://lukewarm.s101.xrea.com/Hotkeys.html
^!f::Run,"C:\Program Files\Mozilla Firefox\firefox.exe"
^!i::Run,"C:\Program Files\Internet Explorer\IEXPLORE.EXE"
^!m::Run,"C:\meadow\bin\gnuclientw.exe"
^!u::Run,"C:\Program Files\PuTTY\putty.exe"
^!p::Run,"C:\Program Files\Poderosa\Poderosa.exe"
;;^!t::Run,"C:\Program Files\teraterm\ttermpro.exe"
^!b::Run,"C:\Program Files\RimArts\B2\B2.exe"
^!t::Run,"C:\Program Files\VanDyke Software\SecureCRT\SecureCRT.exe"
^!w::Run,"C:\cygwin\Cygwin.bat"
!^d::Run,"C:\WINDOWS\system32\taskmgr.exe"
!^h::Run,"C:\WINDOWS\system32\drivers\etc\hosts"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment