mrjoli021 Posted August 19, 2012 Posted August 19, 2012 I have an rsync script that runs the backups. I would like this scipt to run only when I connect to my home wifi. I am looking for a way to run the script after I connect to my wifi
JScript Posted August 19, 2012 Posted August 19, 2012 Use this code to detect whether it is connected or not:#include <WinAPIEx.au3> While Not _WinAPI_IsNetworkAlive() Sleep(100) WEnd MsgBox(4096, "IsNetworkAlive", "Network connected!")Need this UDF: Regards,João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
Recommended Posts
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