I'm trying to find out if there is a "Save As" box open with this WinExist script
if WinExist,Save As,Save As
MsgBox, is there
else
MsgBox, is not there
Your original code is almost correct:
if and WinExist must be removed.ifWinExist is WinTitle. If the Save As dialog does not contain the text "Save As", you must remove that second parameter. This is the case on my Windows 7 system with English (Australia) regional settings.Working examples:
; ifWinExist command
ifWinExist, Save As
MsgBox, is there
else
MsgBox, is not there
; if(expression) and WinExist() function
if WinExist("Save As")
MsgBox, is there
else
MsgBox, is not there
You can also combine criteria:
ifWinExist, Save As ahk_class #32770
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With