Sign in to follow this  
Followers 0
SomeoneHere

How to open process and pause process

3 posts in this topic

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...

Share this post


Link to post
Share on other sites



What do you mean by "open" a process? Start one?

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by anixon

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0