Jump to content
Sign in to follow this  

Capture an event

Recommended Posts


I'd like to find a way to capture a device state change. For example, when a user activate a device such a network card, I want my script to execute an action.

Any idea?

Share this post

Link to post
Share on other sites

That's just vague enough to work.

Vagueness is a sign of maleficence.


Well, not sure about what you are meaning.... Just one thing, i'm not english spoken so If I'm vague it's quite normal...

I'v made a tool to detect and disable unwanted wireless connexion at work. Now I want to optimize it. I have a function that do sometings like :

  wifi_device_not_connected it's ok


Actually this loop turn and turn... but if I could detect that the state of the wireless device has changed it will sound..more sexy for me.

What about Windows Message?

Edited by Tentaal

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...