Jump to content

Recommended Posts

Posted

WinKill('window name')
ProcessClose("notepad.exe")

My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
Posted

I want when it comes to instant message program to close

my code is: if WinWaitActive("Instant Message") Then

ProcessClose("key.exe")

EndIf

it is correct?

Posted (edited)

I want when it comes to instant message program to close

it is correct?

you dont need if,then, just 2 lines:

WinWaitActive("Instant Message")
ProcessClose("key.exe")

if it wont close you can add winkill('Instant Message') or winclose('Instant Message')

Edited by goldenix
My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]

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
  • Recently Browsing   0 members

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