snake3062

Quick Help for script

2 posts in this topic

#1 ·  Posted

Does anyone know of a script out there that will close internet explorer after so many minutes of inactivity.  I know this should be easy to do.  I have tried to work it out on my on but for some reason I can't get it to work. 

I can get a title to work and close for just that title  but I want to closed IE completely.

Any help would be great!

Thanks..

 

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

@snake3062

Welcome to the autoit forum:

check out: _Timer_GetIdleTime()  ,its in the help file as well ..

Edit: for closing iexplore.exe completely

Local $a_process = ProcessList("iexplore.exe")
For $i = 1 To $a_process[0][0]
    ProcessClose($a_process[$i][1])
Next

 

 

 

Edited by Deye

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