Jump to content
Sign in to follow this  

run script after wifi connection

Recommended Posts

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

Share this post

Link to post
Share on other sites

Use this code to detect whether it is connected or not:

#include <WinAPIEx.au3>

While Not _WinAPI_IsNetworkAlive()
MsgBox(4096, "IsNetworkAlive", "Network connected!")
Need this UDF:


João Carlos.

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram


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

Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...