rambo3889 Posted March 16, 2006 Share 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! Link to comment Share on other sites More sharing options...
Faustvii Posted March 16, 2006 Share Posted March 16, 2006 umm okay program.. quite usefull.. Link to comment Share on other sites More sharing options...
rambo3889 Posted March 16, 2006 Author Share 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! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 16, 2006 Moderators Share 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. Link to comment Share on other sites More sharing options...
rambo3889 Posted March 16, 2006 Author Share 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! 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