Genx Posted April 22, 2006 Share 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 Link to comment Share on other sites More sharing options...
Wim Decorte Posted April 22, 2006 Share 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. Link to comment Share on other sites More sharing options...
Genx Posted April 22, 2006 Author Share Posted April 22, 2006 Figures, Cheers Wim ~Genx Link to comment Share on other sites More sharing options...
Genx Posted April 22, 2006 Author Share 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 Link to comment Share on other sites More sharing options...
MarkWilson Posted April 22, 2006 Share 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 Link to comment Share on other sites More sharing options...
Wim Decorte Posted April 23, 2006 Share 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 Link to comment Share on other sites More sharing options...
Genx Posted April 24, 2006 Author Share Posted April 24, 2006 Cheers guys, i've been curious about that for ages, that helps heaps ~Genx Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6577 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