WinExist can't detect a running script.
Posted: 11 May 2024, 12:03
I always get "error: NOT FOUND".
tried running both script as an administrator..
tried running both script as an administrator..
Code: Select all
#Requires AutoHotkey v2.0
f1:: {
DetectHiddenWindows(true)
if WinExist("c:\Users\jethr\OneDrive\Desktop\closeme.ahk ahk_class AutoHotkey"){
msgbox("script exist")
}
else {
msgbox("error: NOT FOUND")
}
}