Sign in to follow this  
Followers 0
rambo3889

Procces Close If Lag

5 posts in this topic

#1 ·  Posted (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 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! you’re the best in town Fight!

Share this post


Link to post
Share on other sites



umm okay program.. quite usefull..

Share this post


Link to post
Share on other sites

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! you’re the best in town Fight!

Share this post


Link to post
Share on other sites

What are you using out of the Process.au3?


[center]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.[/center]

Share this post


Link to post
Share on other sites

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! you’re the best in town Fight!

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