this-is-me 6 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? Share this post Link to post Share on other sites
Jos 2,165 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. Share this post Link to post Share on other sites
Jon 1,009 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/ Share this post Link to post Share on other sites
this-is-me 6 Posted September 6, 2004 Thx, Jon. Who else would I be? Share this post Link to post Share on other sites