Jump to content
Sign in to follow this  


Recommended Posts



Edited by stuka

Share this post

Link to post
Share on other sites

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
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 by Squirrely1

Das Häschen benutzt Radar

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.