Code: Select all
ifwinnotexist, win-name-%1%
Code: Select all
if !WinExist("win-name-" %1%)
have tried
Code: Select all
if !WinExist("win-name-" . %1%)
Pls give me the correct syntax
Many thanx
Code: Select all
ifwinnotexist, win-name-%1%
Code: Select all
if !WinExist("win-name-" %1%)
Code: Select all
if !WinExist("win-name-" . %1%)
Code: Select all
if !WinExist("win-name-" 1)
Code: Select all
q::Run, "new 8.ahk" 1
Code: Select all
; new 8.ahk
ifwinnotexist, win-name-%1%
MsgBox,A not
Else
MsgBox,A yes
if !WinExist("win-name-" %1%)
MsgBox,B not
Else
MsgBox,B yes
Code: Select all
if !WinExist("win-name-" . A_Args[1])
Code: Select all
; notworking.ahk
SetTitleMatchMode, 3
run,notepad.exe
sleep,3000
;WinActivate,Untitled - Notepad
;sleep,3000
winsettitle,Untitled - Notepad,,Untitled - Notepad-%1%
ifwinnotexist, Untitled - Notepad-%1%
MsgBox,A not
Else
MsgBox,A yes
if !WinExist("Untitled - Notepad-" %1%)
MsgBox,B not
Else
MsgBox,B yes
Users browsing this forum: Chunjee, Google [Bot], scriptor2016 and 275 guests