Author: SKAN Last Modified: 20080617
Sets the CPU to be used in Dual/Quad/Multi core processors / Effectively, this function allows you to choose which AHK script uses what processor.
Affinity_Set( CPU=1, PID=0x0 )
For more details of the functions's parameters and return value, please see it's source code or the document.
Currently there is only one function Affinity_Set().
The documentation is part of authors post of this function.
Client Requires Windows Vista, Windows XP, or Windows 2000 Professional.
Server Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.
For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/viewtopic.php?p=202460#202460
nonexistent
; #Include Affinity.ahk #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% Process, Exist, calc.exe PID := errorLevel Affinity_Set( 3, PID ) ; presuming Affinity.ahk is available in User Library