Difference between revisions of "Lua:openProcess"

From Cheat Engine
Jump to navigation Jump to search
(Function Parameters)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' openProcess(''processname'')<br>
 
'''function''' openProcess(''processname'')<br>
 
'''function''' openProcess(''processid'')
 
'''function''' openProcess(''processid'')
Line 14: Line 15:
  
  
Hey Kyle, I have a fully semantic site i cretead for SharePoint and was wondering if you had any thoughts on how to make the content area div flex out for content? Sometimes list columns force the content to pop out, to which I added an auto overflow. Auto overflow for SP lists have some really gnarly results however. display: table cell doesn't work in IE, the only  compatible browser Works great for sites where I can predict the content width, but horrible when list content stretches horizontally.It's just such a nice clean base semantic SP master and css with minimally styled content placeholders that I can reuse from client to client I'd hate to have to throw it away and start again with a tabled design.Thanks, RebeccaPosted by Rebecca on December 8, 2008 at 5:35 pm.
+
===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]]
+
{{LuaSeeAlso}}
 +
 
 +
=== Related Functions ===
 +
* [[Lua:getProcesslist|getProcesslist]]
 +
* [[Lua:getOpenedProcessID|getOpenedProcessID]]
 +
* [[Lua:getProcessIDFromProcessName|getProcessIDFromProcessName]]
 +
* [[Lua:createProcess|createProcess]]
 +
* [[Lua:openFileAsProcess|openFileAsProcess]]

Latest revision as of 03:24, 18 April 2018

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[edit]

Parameter Type Description
processname String The processname to find and open
processid integer The processID to find and open


See also[edit]

Related Functions[edit]