valley Posted December 8, 2006 Report Share Posted December 8, 2006 Hi guys, new here but looking forward to learning a lot My broadband connection is quite shaky, and many times I lose connection to the internet for 10-15 seconds (not too often, but it happens I'd say 4-5 times throughout the day). This loss of internet connection really messes up some of the macros I am running. My question/request is: Is there any possible way to have the macro CONTINUOUSLY check for an internet connection, and if the connection suddenly goes offline, to PAUSE all macros until the connection is back online? I've attempted many combinations of code, but none seem to do what I need. Any help or suggestions would be extremely appreciated, thanks so much! -Dave Quote Link to comment Share on other sites More sharing options...
kevin Posted December 8, 2006 Report Share Posted December 8, 2006 Have you tried the macro commands that check to see if a website is up and running? You could add something like this just prior to the macro commands that require access to the Internet: If Online Else Pause: Complex End If This does essentially the same thing but you can pick the website to check. If Ping Successful: "http://www.somesite.htm" Else Pause: Complex End If Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.