Jump to content

Exe Kapanınca Scirpte Kapansın


MstfBlgn
 Share

Recommended Posts

Önce çalıştırdığın programın pid bilgisini alır ve döngünün içinde ilgili pida aipt programın çalışıp çalışmadığını kontrol edersin.
Örnek vermem gerekirse;

[code]Local $PID = Run("notepad.exe")
While ProcessExists($PID) <> 0
Sleep(50)
;Diğer işlemler
WEnd
Exit[/code]

Veyahut;
[code]Local $PID = Run("notepad.exe")
While 1
If ProcessExists($PID) = 0 Then Exit
;Diğer işlemler
Sleep(50)
WEnd[/code]

Link to comment
Share on other sites

beyler ben kendimi anlatamadım sanırım size

Mesela Ben Oyunun Exe sine 1-2 Dosya İle Paketledim Eve Adını AutoIt.dll Yaptım Onuda Auto It İle Run Yaptım Auto It Exe Sine Tıklayınca Oyun Acılıyor Oyundan Cık Tusuna Basınca Auto İt Acık Kalıyor Calıstırdıktan Sonrada Exit Komutu Veremem Exe Yi Bazi hile Titlelerinden korumak Zorunda Çünkü Onun İçin Oyun Kapanınca AutoIt.dll Yani Run Yapan SCript Exe sininde Kapanmasını İStiyorum

Edited by MstfBlgn
Link to comment
Share on other sites

  • 1 ay sonra...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...