SomeoneHere Posted August 24, 2009 Share Posted August 24, 2009 as the title says there's a ProcessClose() but there's no ProcessOpen() so, how do i go about opening a process? furthermore how do i pause the process... i need to open a process and pause it right away, patch it, then continue to execute the process... Link to comment Share on other sites More sharing options...
qazwsx Posted August 24, 2009 Share Posted August 24, 2009 What do you mean by "open" a process? Start one? Link to comment Share on other sites More sharing options...
anixon Posted August 24, 2009 Share Posted August 24, 2009 (edited) as the title says there's a ProcessClose() but there's no ProcessOpen() so, how do i go about opening a process? furthermore how do i pause the process... i need to open a process and pause it right away, patch it, then continue to execute the process... ;//Start the Email Client If Not Running Const $DefaultEmail = "Outlook" ;//Calls the Function _sStartEmailClient() ;//Launch Outlook Func _sStartEmailClient() $PID = ProcessExists($DefaultEmail & ".exe") If $PID = 0 Then ShellExecute($DefaultEmail & ".exe", "", "", "", @SW_SHOWMINIMIZED) ProcessWait($DefaultEmail & ".exe", 30) EndIf EndFunc ;==>_sStartEmailClient Sleep(1000) Edited August 24, 2009 by anixon Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now