SetTitleMatchMode, 2
DetectHiddenWindows, On
UH_Yourself:
if WinExist("1UH_Yourself.ahk") {
Menu, Curar_Menu, Color, 800000 Process, Close, 1UH_Yourself.ahk
Process, Close, 1UH_Yourself.ahk
} else {
Run, C:UsersfabriOneDriveDesktopMacrosMacros1Cura1UH_Yourself.ahk Menu, Curar_Menu, Color, 008000 } Return
How do I make the script identify ahk?
New contributor
Fabricio Moura Ramalho is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.