Radsam Posted May 15, 2006 Posted May 15, 2006 1. I need to modify my scripts so that they use as little CPU time as possible. Are there any best-practices? 2. Would a script created with Autoit use more CPU time than the same script created in VB or C++? 3. Would it help to reduce CPU time if I created DLL's with Purebasic and then call them in Autoit? I probably will have more questions.... Thanks.
ChrisL Posted May 15, 2006 Posted May 15, 2006 I dont think there is much to say without seeing a specific script that is causing you problems. To reduce CPU load you would need to have maybe some sleep(10) commands in intense loops You could also look at ProcessSetPriority() and set a lower priority if your application can cope with only doing work while the CPU is quite [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
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