if window("caption='TestApp1'").exists=true then
Msgbox "What ever u want to do"
else if window("caption='Test'").exists=true then
Msgbox "What ever u dont want to do"
Msgbox "By default what u want to do"
Hi jmi, i have realised that i have to use the tpAttachNoWait parameter if i don't want an error to occur, would you mind explaining why is that so? like what the parameter tpAttachNoWait signify?