Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
windows (how to know if win() succeeded?)
#1
Hello!

code:

int w1=win("Example")
act(w1)



> Error (RT) in Macro: window not found

how can i test if the window is found?
does there exist a command that would return 1 if window exists, 0 else?
( i read the help, but i dont really understand wintest command... )


Thank you
#2
if(w1=0)
,out "does not exist"
#3
oh! it is very easy!

Thank you very much Gintaras

PS: you always answer very quickly, this is why I love this forum, when we need help we can be sure to have answer very soon!

PS2: Is your job to help people here? You seem to be always in this forum! Smile
#4
My primary job is to develop Quick Macros. When I am by the computer, and not very busy, I answer questions in the forum.


Forum Jump:


Users browsing this thread: 1 Guest(s)