Right now, when toggling the wireless network, I press Win+X. Then the Windows Mobility Center appears. I click Turn Wireless On/Off like in screen shot.


I scoured the Internet to find an AutoHotkey script for toggling the wireless network, but my efforts were vain. I want Win+Z to be the shortcut. Can anyone help me?

  • How about this ahk thread and also wirelessautoswitch which suggested by a user their. But I think its not completely free. – avirk Jan 9 '13 at 7:35
  • Those two are related to LAN. The script I want shouldn't be related to LAN. – Michael Dy Jan 9 '13 at 14:48

How about ....

SetTitleMatchMode, 2

Run %windir%\system32\mblctr.exe /open
WinWait, Windows Mobility Center
Sleep, 300
Send, !t
Sleep, 1000
WinClose, A

Alternatively you can look here.. http://wlanbook.com/enable-disable-wireless-card-command-line/

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.