Genx Posted April 22, 2006 Posted April 22, 2006 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
Wim Decorte Posted April 22, 2006 Posted April 22, 2006 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.
Genx Posted April 22, 2006 Author Posted April 22, 2006 I suppose i could try and ping something like google, but how would i get the result back to fm? ~Genx
MarkWilson Posted April 22, 2006 Posted April 22, 2006 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
Wim Decorte Posted April 23, 2006 Posted April 23, 2006 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
Genx Posted April 24, 2006 Author Posted April 24, 2006 Cheers guys, i've been curious about that for ages, that helps heaps ~Genx
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now