Open File - Security Warning
Moderators: JRL, Dorian (MJT support)
I agree with SkunkWorks. There is more to this and in order to help we need more info. The previous sample script needs to have one more line. WaitWindoOpen won't time out unless you ask it to by setting WW_TIMEOUT to some value.
Let>WW_TIMEOUT=30
WaitWindowOpen>SomeWindow
waitready>0
wait>1
if>WW_RESULT=FALSE
mdl>SomeWindow NOT Found
goto>END
else
do something useful....
endif
Label>END
Let>WW_TIMEOUT=30
WaitWindowOpen>SomeWindow
waitready>0
wait>1
if>WW_RESULT=FALSE
mdl>SomeWindow NOT Found
goto>END
else
do something useful....
endif
Label>END
Well, the logging did nothing but show the first command (let it sit for 5 minuits...), and i did the other thing. No dialog at all showes up, and this is the code i used:
Let>WW_TIMEOUT=30
WaitWindowOpen>Blah
waitready>0
wait>1
If>WW_RESULT=FALSE
mdl>Window NOT FOUND!
goto>END
else
mdl>WINDOW FOUND!
goto>END
endif
Label>END
Let>WW_TIMEOUT=30
WaitWindowOpen>Blah
waitready>0
wait>1
If>WW_RESULT=FALSE
mdl>Window NOT FOUND!
goto>END
else
mdl>WINDOW FOUND!
goto>END
endif
Label>END
have you turned on Logging for this script? I looked at your code and, one way or the other, you should get a message stating the window was either found or not found.
"Nope, didn't work" is tough to debug....What didn't work? Did ANYTHING happen? How are you invoking the script? from a hot key, from the GUI, etc....
Please post the log file. Also, if you are having issues posting code here, then you should click on the CODE button before pasting, that might help you paste it successfully....(not promising anything, but try it)
"Nope, didn't work" is tough to debug....What didn't work? Did ANYTHING happen? How are you invoking the script? from a hot key, from the GUI, etc....
Please post the log file. Also, if you are having issues posting code here, then you should click on the CODE button before pasting, that might help you paste it successfully....(not promising anything, but try it)
Good idea Paul. I just downloaded the program from HP and tried running the script as posted. My initial findings are:
1) I do not get a warning message so I still have no idea how to handle the warning window.
2) The window name used by cwink in line 24 of the script "HP - All-In-One Series" is slightly different than the window name that is coming up when I execute gc_w01_ENU.exe.
3) This made me wonder the same thing Paul is asking... What is the real name of the error window. Could it be that the name is incorrect?
1) I do not get a warning message so I still have no idea how to handle the warning window.
2) The window name used by cwink in line 24 of the script "HP - All-In-One Series" is slightly different than the window name that is coming up when I execute gc_w01_ENU.exe.
3) This made me wonder the same thing Paul is asking... What is the real name of the error window. Could it be that the name is incorrect?