Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a keyboard shortcut with ShortKeeper using AutoHotkey code
#3
A way to disable the Internet connection with AutoHotkey:

Run, *RunAs %ComSpec% /c netsh interface set interface name="Local Area Connection" admin=disabled,, Hide


A way to enable the Internet connection with AutoHotkey:

Run, *RunAs %ComSpec% /c netsh interface set interface name="Local Area Connection" admin=enabled,, Hide


Tests done with Windows 7.  "Local Area Connection" needs to be your adapter connection's name.
Enterpad: For those who need more than a few shortcuts.

Reply


Messages In This Thread
RE: How to create a keyboard shortcut with ShortKeeper using AutoHotkey code - by denilama - 05-20-2019, 08:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)