AppCtrlScript

MAY Computer

Help

JOBPRIORITY

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Primary

See also  

DOEVENTS

Sets/changes job priority to the specified value. A higher value means higher priority for the current script and less process time is given to other process threads. Maximum is 32766.

When changing job priority to a higher value it might be necessary to manually perform DOEVENTS operations to refresh progress bars or other screen output.

Technical background: The given number specifies that every <Number> lines of code a DoEvents operation is performed to free processing time for other threads. By default after every line of code a DoEvents operation is performed.

 

Syntax

JOBPRIORITY [<Number>] 

Part

Description

<Number>

Number of times to perform a DoEvents operation freeing processing time for other threads.