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
Send, {ALT DOWN}{TAB} |
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
#include <ime> ; ime.ahk (【入手先】http://d.hatena.ne.jp/blechmusik2/20120126/1327510037) | |
#If ! IME_GET() ; IME がOFFの時だけ有効 | |
::ahk::AutoHotKey | |
#If ; End #If |
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
; コマンドライン引数を取得するサンプル | |
ArgCount=%0% | |
if(ArgCount==0) | |
{ | |
MsgBox [使用法] %a_scriptname% [files..] | |
ExitApp | |
} | |
Loop, %ArgCount% | |
{ |
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
;iTunes の削除確認ダイアログ自動クリック | |
SetTitleMatchMode,2 | |
#Persistent | |
SetTimer AutoClickiTunes,500 ; millisecond | |
return | |
AutoClickiTunes: | |
IfWinExist, iTunes ahk_class iTunesCustomModalDialog | |
{ |
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
; control iTunes | |
; | |
iTunes := ComObjCreate("iTunes.Application") | |
#right:: | |
iTunes.NextTrack() | |
return | |
#left:: | |
iTunes.PreviousTrack() |
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
autocmd FileType autohotkey set dictionary+=~/.vim/dict/autohotkey.dic |
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
#If WinActive("Microsoft Excel") or WinActive("Microsoft Word") | |
$F1:: | |
KeyWait, F1, T0.2 ; 0.2秒以上キーが離されなかったら、ErrorLevel=1 | |
if ErrorLevel | |
Send, {F1} | |
else | |
TrayTip, 警告, ExcelやWordでヘルプを表示するには、F1キーを長押ししてください。 | |
; キーが離されるまで待つ | |
keywait, F1 |
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
gem update --system | |
gem install watir | |
gem install watir-webdriver |
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
javascript:(function(){prompt('今見ているページのタイトルとURL:コピーしてQiitaに貼り付けてください','* [' + document.title + ']('+document.URL+')')})(); |
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
; Set text editor for editing AutoHotKey script. | |
ShowUsage(){ | |
msgbox, [Usage]: %A_ScriptName% [FullPath of editor application] | |
} | |
ContainSpace(s) | |
{ | |
StringGetPos, Pos, s, %A_Space% , | |
return Pos >= 0 |