Created
October 30, 2011 03:42
-
-
Save rohinomiya/1325438 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; --- WIN+E で、あふを起動する。長押しでエクスプローラを起動 | |
$#e:: | |
KeyWait, e, T0.2 ; 0.2秒以上キーが離されなかったら、ErrorLevel=1 | |
if ErrorLevel | |
{ | |
; デスクトップを表示する。 | |
; http://www.roy.hi-ho.ne.jp/mutaguchi/wsh/technic.htm | |
Cmd = explorer.exe /select,"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" | |
Run, %Cmd% | |
} | |
else | |
{ | |
IniFilePath := ConfigureIniFilePath() | |
FilerCommand := IniReadFilePath(IniFilePath, "Path" , "FilerCommand" , "ERROR" ) | |
IfExist, %FilerCommand% | |
run, %FilerCommand% | |
else | |
Send, #e | |
} | |
; キーが離されるまで待つ | |
keywait, e | |
keywait, lwin | |
keywait, rwin | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment