aiter Posted November 4, 2016 Share Posted November 4, 2016 I want to set the priority level of my compiled script to very low. Is their a way to do it in the script itself? I had a look at ProcessSetPriority and that works for other processes my program will call, but I am stymied as to how to set it in the script itself. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 4, 2016 Moderators Share Posted November 4, 2016 This works just fine for me on a compiled script: #include <AutoItConstants.au3> ProcessSetPriority(@ScriptName, $PROCESS_LOW) While 1 Sleep(10) WEnd aiter and krasnoshtan 2 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
aiter Posted November 4, 2016 Author Share Posted November 4, 2016 Awesome - thanks a lot 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