willjohnstone Posted June 9, 2005 Posted June 9, 2005 Where is SetbatchLines (from autoit V2)? how do i make my script speed up/use more system resources? how do i make my script slow down/use less system resources?
MHz Posted June 9, 2005 Posted June 9, 2005 SetBatchLines, <lines>Usually, AutoIt executes each line of a script during a 10ms timer cycle (under NT is it 10ms, under 9x it could be a much larger time). This can mean that in scripts which do a lot of String/Variable processing, the scripts can be quite slow. The SetBatchLines command can be used to change the number of script lines that are processed in a timer cycle. The default is 1. The maximum value is 32767. Note: For very high values, AutoIt will start to impact the available CPU time. The current value of SetBatchLines can be obtained from the special variable "A_NUMBATCHLINES".Note: Most users will not need to uses this command at all!e.g. To execute 100 scripts lines per cycleSetBatchLines, 100That command, does not exist in version 3 of AutoIt. Features have been added with loops etc. to give the script control.
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