Jump to content

Help!


 Share

Recommended Posts

I wanna Process kill with other program..

--

RunWait("ptkill.exe 580") ==> Good Work.

but

$pid=ProcessExits("program.exe")

RunWait("ptkill.exe $pid") or

RunWait("ptkill.exe" & $pid) not work.

What's Problem?

Thx.

Link to comment
Share on other sites

I wanna Process kill with other program..

--

RunWait("ptkill.exe 580") ==> Good Work.

but

$pid=ProcessExits("program.exe")

RunWait("ptkill.exe $pid") or

RunWait("ptkill.exe" & $pid) not work.

What's Problem?

Thx.

If I were you I will do:

Run("ptkill.exe")
While 1
If $pid=ProcessExist("ptkill.exe") Then
ProcessClose($pid)
EndIf
Sleep(250)
WEnd

Edit: Added sleep

Edited by Generator
Link to comment
Share on other sites

Heh, well Genreator said it.

Edited by jokke
UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...