dll2000 Posted December 4, 2005 Share Posted December 4, 2005 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. Link to comment Share on other sites More sharing options...
gamerman2360 Posted December 4, 2005 Share Posted December 4, 2005 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. Link to comment Share on other sites More sharing options...
Greenseed Posted December 5, 2005 Share Posted December 5, 2005 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. Link to comment Share on other sites More sharing options...
themax90 Posted December 5, 2005 Share Posted December 5, 2005 Try HereInternet Explorer Automation UDF Library:http://www.autoitscript.com/forum/index.php?showtopic=13398 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