Difference between revisions of "Lua:openProcess"
Jump to navigation
Jump to search
m (Reverted edits by 85.194.84.197 (Talk) to last revision by Dark Byte) |
|||
Line 1: | Line 1: | ||
− | + | '''function''' openProcess(''processname'')<br> | |
+ | '''function''' openProcess(''processid'') | ||
+ | |||
+ | |||
+ | |||
+ | Causes cheat engine to open the provided processname or processid. | ||
+ | |||
+ | Please note that if you provide an integer in the form of a string openProcess will look for a process that has as name the specified number. Provide an integer if you wish to specify the PID. | ||
+ | |||
+ | Example: | ||
+ | openProcess("game.exe") | ||
+ | openProcess(7890) | ||
+ | openProcess(tonumber("7890")) | ||
+ | |||
+ | |||
+ | ===Function Parameters=== | ||
+ | {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0" | ||
+ | !align="left"|Parameter | ||
+ | !align="left"|Type | ||
+ | !style="width: 80%;background-color:white;" align="left"|Description | ||
+ | |- | ||
+ | |processname | ||
+ | |String | ||
+ | |The processname to find and open | ||
+ | |- | ||
+ | |processid | ||
+ | |integer | ||
+ | |The processID to find and open | ||
+ | |} | ||
+ | |||
+ | |||
+ | == See also == | ||
+ | * [[Lua]] |
Revision as of 14:42, 13 May 2012
function openProcess(processname)
function openProcess(processid)
Causes cheat engine to open the provided processname or processid.
Please note that if you provide an integer in the form of a string openProcess will look for a process that has as name the specified number. Provide an integer if you wish to specify the PID.
Example:
openProcess("game.exe") openProcess(7890) openProcess(tonumber("7890"))
Function Parameters
Parameter | Type | Description |
---|---|---|
processname | String | The processname to find and open |
processid | integer | The processID to find and open |