this-is-me Posted September 5, 2004 Share Posted September 5, 2004 (edited) I have a script where I would like to slide a splash screen around on the desktop. My problem is that even when the script runs quickly, the winmove operation goes slowly... for $i = 0 To 30 WinMove("", "", 0, $i) Next Obviously I don't have the complete code here, but the code shown will move the current window 30 pixels down. This runs very slowly. Is this a bug? I have tried accessing the window by handle, to see if getting the window's name each time is the problem, but it is still the same speed. On the other hand, If I call splashtexton or splashimageon multiple times, It runs very quickly (although it flashes really badly). Edited September 5, 2004 by this-is-me Who else would I be? Link to comment Share on other sites More sharing options...
Developers Jos Posted September 5, 2004 Developers Share Posted September 5, 2004 I have a script where I would like to slide a splash screen around on the desktop. My problem is that even when the script runs quickly, the winmove operation goes slowly... for $i = 0 To 30 WinMove("", "", 0, $i) Next Obviously I don't have the complete code here, but the code shown will move the current window 30 pixels down. This runs very slowly. Is this a bug? I have tried accessing the window by handle, to see if getting the window's name each time is the problem, but it is still the same speed. On the other hand, If I call splashtexton or splashimageon multiple times, It runs very quickly (although it flashes really badly). <{POST_SNAPBACK}>There is a 250ms pause when the WinMove command is finished , but don't know why its in there... 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...
Administrators Jon Posted September 5, 2004 Administrators Share Posted September 5, 2004 There is a 250ms pause when the WinMove command is finished , but don't know why its in there... Hmm, yeah it probably isn't needed on a winmove command. I'll remove it but to workaround just set the WinWaitDelay to 0 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
this-is-me Posted September 6, 2004 Author Share Posted September 6, 2004 Thx, Jon. Who else would I be? 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