Difference between revisions of "Lua:openProcess"

From Cheat Engine
Jump to navigation Jump to search
(Undo revision 1290 by Dark Byte (Talk))
m (Added CodeBox Template.)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Selam , Red5 i windows7 fczerine kumaryı 1 aydır deniyorum server yf6netimi kulumu konusunda pek deneyimim yok fakat guide dof6kfcmanları okuyup ilerliyorum . bir tfcrlfc e7alışır hale getiremedim. Windows fczerine kurabilen. Olmadı linux fczerine kuralım diyen arkdaşlar varsa yardıma ae7ığım linux hangi versiyonunu kurmamız nasıl yol almamız gerekiyor. [email protected] mail adresim. Yazdığım flash projesini test etmek ie7in kendi evdeki pc me kuruyorum . Proje yayına gee7tikten sonrası ie7inde Red5 hizmeti veren hosting firmalarına ihtiyacım olacak bidiğiniz varsa onları da yazar mısınız.Kolay gelsin.
+
[[Category:Lua]]
 +
{{CodeBox|'''function''' openProcess(''ProcessID'')}}
 +
{{CodeBox|'''function''' openProcess(''ProcessName'')}}
 +
 
 +
Opens the specified process in Cheat Engine, either by process ID or by process name.  
 +
This sets the target process for memory editing and scanning.
 +
 
 +
===Function Parameters===
 +
{|width="85%" cellpadding="10%" cellspacing="0" border="0"
 +
!align="left"|Parameter
 +
!align="left"|Type
 +
!style="width: 80%;background-color:white;" align="left"|Description
 +
|-
 +
|ProcessID
 +
|Integer
 +
|The ID of the process to open.
 +
|-
 +
|ProcessName
 +
|String
 +
|The name of the process to find and open (e.g., "notepad.exe").
 +
|}
 +
 
 +
===Examples===
 +
<pre>
 +
-- Open a process by name
 +
openProcess("notepad.exe")
 +
 
 +
-- Open a process by ID
 +
local pid = getProcessIDFromProcessName("notepad.exe")
 +
if pid then
 +
  openProcess(pid)
 +
end
 +
</pre>
 +
 
 +
{{LuaSeeAlso}}
 +
 
 +
{{Process}}

Latest revision as of 00:47, 5 December 2025

<> Function

function openProcess(ProcessID)

<> Function

function openProcess(ProcessName)

Opens the specified process in Cheat Engine, either by process ID or by process name. This sets the target process for memory editing and scanning.

Function Parameters[edit]

Parameter Type Description
ProcessID Integer The ID of the process to open.
ProcessName String The name of the process to find and open (e.g., "notepad.exe").

Examples[edit]

-- Open a process by name
openProcess("notepad.exe")

-- Open a process by ID
local pid = getProcessIDFromProcessName("notepad.exe")
if pid then
  openProcess(pid)
end

See also[edit]

Lua
Script Engine

Related Functions[edit]

createProcess
openProcess
onOpenProcess
getForegroundProcess
getOpenedProcessID
getProcessIDFromProcessName
openFileAsProcess
saveOpenedFile
setPointerSize
setAssemblerMode
getProcesslist
getWindowlist
pause
unpause
targetIs64Bit
enumModules
closeRemoteHandle