Joshjosh Posted April 17, 2008 Share Posted April 17, 2008 Hey guys, I now I need to add a wait variable....just wasn't sure where. Any help please? Thanks While 1 If Not ProcessExists("iexplore.exe") Then Run(@ProgramFilesDir &"\Internet Explorer\iexplore.exe -k C:\inetpub\ftproot\Index.htm") MouseMove(@DesktopWidth + 100, 0, 0) WEnd Link to comment Share on other sites More sharing options...
Achilles Posted April 17, 2008 Share Posted April 17, 2008 While 1 If Not ProcessExists("iexplore.exe") Then Run(@ProgramFilesDir &"\Internet Explorer\iexplore.exe -k C:\inetpub\ftproot\Index.htm") MouseMove(@DesktopWidth + 100, 0, 0) Sleep(50); <-- I added this line WEnd My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Joshjosh Posted April 17, 2008 Author Share Posted April 17, 2008 While 1 If Not ProcessExists("iexplore.exe") Then Run(@ProgramFilesDir &"\Internet Explorer\iexplore.exe -k C:\inetpub\ftproot\Index.htm") MouseMove(@DesktopWidth + 100, 0, 0) Sleep(50); <-- I added this line WEnd Thanks for that. The wait time, is that in seconds? Link to comment Share on other sites More sharing options...
jercfd Posted April 17, 2008 Share Posted April 17, 2008 Thanks for that. The wait time, is that in seconds? Its in milliseconds. Above is 50 milliseconds or about 0.05 seconds. Link to comment Share on other sites More sharing options...
twitchyliquid64 Posted April 17, 2008 Share Posted April 17, 2008 (edited) Thanks for that. The wait time, is that in seconds?No in milliseconds (1000 = 1 sec)I suggest you up it to 300 millisecs.This is annoying. in the time it takes to reply 3 people have already replied Edited April 17, 2008 by hyperzap ongoing projects:-firestorm: Largescale P2P Social NetworkCompleted Autoit Programs/Scripts: Variable Pickler | Networked Streaming Audio (in pure autoIT) | firenet p2p web messenger | Proxy Checker | Dynamic Execute() Code Generator | P2P UDF | Graph Theory Proof of Concept - Breadth First search Link to comment Share on other sites More sharing options...
jvanegmond Posted April 17, 2008 Share Posted April 17, 2008 This is annoying. in the time it takes to reply 3 people have already repliedJump on some of the more difficult topics and you won't have this problem. github.com/jvanegmond 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