jloyzaga Posted February 2, 2017 Share Posted February 2, 2017 I have included a screenshot of my code that waits for adobe acrobat to be found - this includes the autoitinfo screen and the acrobat screen Don't know what I have done wrong as it never goes past the wait... Link to comment Share on other sites More sharing options...
jdelaney Posted February 2, 2017 Share Posted February 2, 2017 (edited) Add in some logging and error handling. Your initial WinWaitActive has a 0 timeout...so if the window isn't active, you will send !o at the wrong window, which then causes your next WinWaitActive to never occur. There are safer ways, such as ControlSend (send at control="" to send at the window in general)...or WinMenuSelectItem. If you want a script that's repeatable and consistent, I'd suggest staying away from *Send functions in general. Edited February 2, 2017 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now