#author("2018-11-03T20:22:28+09:00","default:ryuichi","ryuichi")
* 起動中のAHKスクリプトのプロセスを探す [#x1ee6f73]

#sh(c){{
 DetectHiddenWindows, ON
 WinGet, id, list, ahk_class AutoHotkey 
 Loop, %id%
 {
     this_ID := id%A_Index%
     WinGetTitle, title, ahk_id %this_ID%
     script_path := RegExReplace(title, " - AutoHotkey v" A_AhkVersion )
 
 	; Skip myself
     If InStr(script_path, A_ScriptFullPath)
         continue
         
     WinClose, %script_path% ahk_class AutoHotkey
 }
#}}

}}


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS