hotkey for disconnect from Internet.
hotkey for disconnect from Internet.
Hello guys I wanna create a hotkey for disconnecting from my Internet but I have no experience with autohotkey or with scripts can you help me .
Re: hotkey for disconnect from Internet.
Could you expand on what you mean by 'disconnecting' from your internet? If you disable your network adapter, that will prevent traffic from flowing inside and out, ie, you won't be able to load any websites and/or get email, but, if, say, you have DSL, your internet service will still be active.
If you want to disable your network adapter, you can do it via command line:
http://superuser.com/a/466011/626174
You can open a command prompt in Windows by clicking on the Start Menu button, then run, then typing cmd and then pressing enter.
Lastly, once you have a command that you're happy with, you can, if you want to use a hotkey to trigger it, you can create a script like this:
replacing the word 'command' with the actual command you want to run.
If you want to disable your network adapter, you can do it via command line:
http://superuser.com/a/466011/626174
You can open a command prompt in Windows by clicking on the Start Menu button, then run, then typing cmd and then pressing enter.
Lastly, once you have a command that you're happy with, you can, if you want to use a hotkey to trigger it, you can create a script like this:
Code: Select all
^d::
run command
return
Who is online
Users browsing this forum: Google [Bot], scriptor2016 and 257 guests