Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from Jan 9 '13 at 4:38

This question came from our site for professional and enthusiast programmers.

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
up vote 3 down vote accepted

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

share|improve this answer
It works, thanks. – Michael Dy Jan 9 '13 at 17:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .