genocid Posted March 24, 2010 Share Posted March 24, 2010 how do you close a program when I have Instan Message title. Bother me for two hours Link to comment Share on other sites More sharing options...
goldenix Posted March 24, 2010 Share Posted March 24, 2010 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] Link to comment Share on other sites More sharing options...
genocid Posted March 24, 2010 Author Share Posted March 24, 2010 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? Link to comment Share on other sites More sharing options...
goldenix Posted March 24, 2010 Share Posted March 24, 2010 (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 March 24, 2010 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] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now