Jump to content

Recommended Posts

Posted

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.

Posted

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)

Posted

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.

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
×
×
  • Create New...