jimfx Posted July 31, 2009 Share Posted July 31, 2009 Hello, I've made a couple of scripts for fun, It's fun to do but sometimes scripts don't perform as expected. I've noticed that sometimes the script halts and goes no further (e.g. when autoit has to wait for window 'Save as' I place a 'winwaitactive' command, and after that it needs to paste with 'Send ("^V")'. Sometimes at this point the script halts, and than I have to manually give it a 'CTRL V', the script then goes on with the rest. I tried to put a couple of 'sleep' commands in it, but the problem still occurs sometimes. Anyone has a suggestion what to do? Many thanks in advance. Jim The Netherlands Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 31, 2009 Share Posted July 31, 2009 To better help others help you, post your code.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Developers Jos Posted July 31, 2009 Developers Share Posted July 31, 2009 Try using WinWait() + WinActive() in stead of WinWaitActive(). Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jimfx Posted August 1, 2009 Author Share Posted August 1, 2009 Try using WinWait() + WinActive() in stead of WinWaitActive().JosThanks Jos,You mean the Winactive command in combination with an IF...THAN function?Jim 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