Sign in to follow this  
Followers 0
dll2000

how to open internet explorer and how to tell if pc is idle?

4 posts in this topic

i am currently opening internet explorer using _RunDos command.. this works well but if the current user is using the net it replaces what they were viewing with the page i want the script to view. (replaces current page, instead of opening a new ie6 window)

also i would like to know how i can tell if a user is away from the computer, i.e. tell if the mouse and keyboard hasnt been pressed for last 5 min etc. or detect if screensaver is active.

Share this post


Link to post
Share on other sites



Run('"C:\Program Files\Internet Explorer\iexplore.exe" ' & $webpage)

As for checking if it is idle. Try making a task here or in the "Scheduled Tasks" folder.

Share this post


Link to post
Share on other sites

if the screen saver is active you will se it in the processlist as screensaver.scr or ?????????.scr

for the IE thing! look for winexist() function and related! you can easyly send a URL to a allready opened IE windows! or open a new one with a URL like gamerman2360 tel you!

maybe with _ispressed() and mouse function but that mean you will have a script running everytime to know if user is idle! i think it not a good solution! the tasksheduler is a good one.

in the group policies you can manage action if a session is becoming idle and do some action! like lock computer! check for tool like pstoolkit: pslist.exe to retrive process list from remote computer!

bye bye

hope this help


GreenseedMCSE+I, CCNA, A+Canada, QuebecMake Love Around You.

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