Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6791 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is there anyway to check if there is a valid internet connection at time of script execution through script maker, and if not maybe through send event somehow?

Cheers,

~Genx

Posted

You'd have to use OS-level scripting to do this. Not sure if there's a simple command line that would be able to do this or if you'd need a VBscript.

Posted

I suppose i could try and ping something like google, but how would i get the result back to fm?

~Genx

Posted

Genx,

How did you make out?

I did a couple test and was able to get the results into FM.

If someone has a way to clean this method up or an alternate way please share.

Send Event ["aevy"; "odoc"; ping_instructions.bat"]

Pause/Resume Script [Duration (seconds: 2]

Import Records [No dialog; Folder_Name; Text files; Add; Windows ANSI]







ping_instructions.bat


ping www.google.com >Folder_Nameping_results.txt

Posted

you don't need the batch file. Do the following in the Send Event as a Calc instead of referencing the batch file:


cmd /c ping www.google.com >Folder_Nameping_results.txt

This topic is 6791 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.