Reputation: 59
In Windows application if script is written for one window and if is opening for more than one time the same window then the scripts fail and through error.
Upvotes: 0
Views: 1466
Reputation: 543
For such Situation.. Why don't you add a Check in your script. check whether Application exist or not.
Eg:
if javawindow(xxxxx).Exist(0) then
' some code for not opening the same window.
else
'some code for opening the window.
end if
Upvotes: 1