|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
| system.priority(Priority) |
Parameters
| STRING | Priority | Priority of the current process. Possible values are high, normal, low. |
Return value
No value is returned.
Description
Set the priority of the current process (application) using the Windows API function SetThreadPriority.
Use this function carefully.
If you set a priority to High, your application may slow all other windows processes.
Possible values:
low: Indicates a base priority level of 1 (THREAD_PRIORITY_IDLE).
normal: Indicates normal priority (THREAD_PRIORITY_NORMAL).
high: Indicates 1 point above normal priority for the priority class (THREAD_PRIORITY_ABOVE_NORMAL)
By default, the system priority is set to:
low for Windows 2000, XP, Vista and later
normal for other Windows releases
See also: app.booster
|
MioScript Sample Code
|
|
|