Jump to content

Deactivate/Activate onboard Soundcard/Wired- and WirelessNetworkadapter


matzew
 Share

Recommended Posts

of course is used the search function but my english ist not very well

probably my keywords are wrong or something..

i forgot, my os is windows 7

i found something but this seems not working..

http://www.autoitscript.com/forum/index.php?showtopic=104226

Edited by matzew
Link to comment
Share on other sites

I ControlSend to a Windows app to enable/disable the wireless card in my laptop.

If Not WinExists("Windows Mobility Center") Then
 $VZExist = 0
 Run("mblctr.exe /open")
Else
 WinActivate("Windows Mobility Center")
EndIf
Sleep(500)
;ControlClick("Windows Mobility Center", "", "Button2")
ControlSend("Windows Mobility Center", "", "", "!t")
If $VZExist = 0 Then WinClose("Windows Mobility Center")

The Button/Alt-T is a toggle, so if it's on, it gets turned off, and vice-versa.

There is most probably a dozen ways to do this same thing, but this was simple to write, and it works for me..

Also, the particular app and whatever is clicked or sent may be different in Win7 than my OS, but the idea will probably work.

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Link to comment
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
 Share

  • Recently Browsing   0 members

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