Sign in to follow this  
Followers 0
genocid

Close program

4 posts in this topic

how do you close a program when I have Instan Message title. Bother me for two hours

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

#4 ·  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]

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