Skip to content

Instantly share code, notes, and snippets.

@b2ox
Last active December 6, 2020 19:50
Show Gist options
  • Save b2ox/31a797fd3b79d67f189fee45b8bcaf9e to your computer and use it in GitHub Desktop.
Save b2ox/31a797fd3b79d67f189fee45b8bcaf9e to your computer and use it in GitHub Desktop.
カラープロファイルの再読み込み操作を自動化
;; 色の管理を開いて詳細設定タブの再読み込み(&R)を実行して閉じる
myWait := 250
Run, colorcpl.exe, , , myProc
Process, Wait, % myProc, 3
If (ErrorLevel <> 0) {
Sleep myWait
Send, +^{TAB}
Sleep myWait
Send, !R
Sleep myWait
Process, Close, % myProc
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment