niggyking Posted March 19, 2008 Share Posted March 19, 2008 My script when running uses a lot of cpu usage and i read the helpfile and it says don't put sleeps in the while loop because it will just cause a delay between things you click on the gui, etc. Where do I put them then? Is sleep() the only way to make a program not use so much memory. thanks. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 19, 2008 Moderators Share Posted March 19, 2008 My script when running uses a lot of cpu usage and i read the helpfile and it says don't put sleeps in the while loop because it will just cause a delay between things you click on the gui, etc. Where do I put them then? Is sleep() the only way to make a program not use so much memory.thanks.Aww... You gave me a B-Day present Firelord... Didn't think I was gonna get to ban you today.Thanks Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
GaryFrost Posted March 19, 2008 Share Posted March 19, 2008 Aww... You gave me a B-Day present Firelord... Didn't think I was gonna get to ban you today.Thanks His evil twin also "niggyking1" SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts