stuka Posted February 5, 2008 Share Posted February 5, 2008 (edited) . Edited August 24, 2009 by stuka Link to comment Share on other sites More sharing options...
BrettF Posted February 5, 2008 Share Posted February 5, 2008 I'm thinking it's the AdLib loop... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Squirrely1 Posted February 5, 2008 Share Posted February 5, 2008 (edited) Wherever a function does a disk read such as with FileExists, it takes a while, and I often will use a Sleep(1300) or something after such a call. Try to see if you can repeat a function that does a disk read or write, less often than twice a second. Also, I heard it helps to make your main loop smaller by using functions to contain all the code to for instance, build a GUI, and call that function from the loop: Case $msg = $name Build_GUI()Bert can tell you more about the applicability of the Canon here. Also if "sound.wav" is a big file, see it you can make it smaller. We don't have the code to "billy.exe" and that might be the culprit, but right after you first launch it, since this script is starting up at the same time, I would put in a Sleep(1800) or something like that. Edited February 5, 2008 by Squirrely1 Das Häschen benutzt Radar 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