Jump to content

Recommended Posts

Posted

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

Posted

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

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...