Sets the priority of a process.
The name or PID of the process.
The priority level to set. See Priority for details.
Priority
1 if successful, 0 otherwise.
import { ProcessSetPriority } from '@ahmic/autoit-js';const result = ProcessSetPriority('notepad.exe', 1);console.log(result); // Output: 1 if successful, 0 otherwise Copy
import { ProcessSetPriority } from '@ahmic/autoit-js';const result = ProcessSetPriority('notepad.exe', 1);console.log(result); // Output: 1 if successful, 0 otherwise
https://www.autoitscript.com/autoit3/docs/functions/ProcessSetPriority.htm
Sets the priority of a process.