Jump to content
Macro Express Forums

Internet Connection Loss While Running Macro


valley

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...