Jump to content

Recommended Posts

Posted

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 cycle

SetBatchLines, 100

That command, does not exist in version 3 of AutoIt. Features have been added with loops etc. to give the script control.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...