rambo3889 0 Report post Posted March 16, 2006 (edited) I was on a netclub today and was using a pc there is VERY slow so a lot of programs lags and freezes like 20 times after 5 times i was angry so i made this to close the window if it lags HotKeySet("{F3}","quit") HotKeySet("{F4}","close") While 1 Sleep(10);Dont take the CPU to hard WEnd Func close() $pid = WinGetProcess("") ProcessClose($pid) EndFunc Func quit() Exit EndFunc Edited March 16, 2006 by rambo3889 My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Share this post Link to post Share on other sites
Faustvii 0 Report post Posted March 16, 2006 umm okay program.. quite usefull.. Share this post Link to post Share on other sites
rambo3889 0 Report post Posted March 16, 2006 Thank you liope My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Share this post Link to post Share on other sites
SmOke_N 199 Report post Posted March 16, 2006 What are you using out of the Process.au3? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Share this post Link to post Share on other sites
rambo3889 0 Report post Posted March 16, 2006 Sorry i did forget to remove id because i wanted to make so the procces close was closed by the name not the pid but pid worked sorry My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Share this post Link to post Share on other sites