Drath Posted December 16, 2005 Share Posted December 16, 2005 I was wondering what AutoIt's priority was set at, and if there is a way at all to change it using some kind of fuction, because my AutoIt program right now is using 50% of my cpu power (3.6Ghz), and when I run some very high powered applications, it slows the applications down considerably. Link to comment Share on other sites More sharing options...
JSThePatriot Posted December 16, 2005 Share Posted December 16, 2005 Generally it is looping code that causes this sluggishness. If you add a simple Sleep(100) into most loops then you should be fine. I hope this answers your question/concern. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
LxP Posted December 18, 2005 Share Posted December 18, 2005 The beta features the @AutoItPID macro, which you can then use with ProcessSetPriority():; Set script priority to low ProcessSetPriority(@AutoItPID, 0)Refer to the help file for details on the numbers that can be used. 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