[PA] 업무자동화/[AH]Autohotkey

AH Windows, Shortcut to Change adapter settings

Weneedu 2021. 11. 5. 21:16

20211105 0813 

 

REF

[1] "https://www.top-password.com/blog/open-network-connections-in-windows-10/"

 

동기

블룸버그 pc에서 듀얼 네트워크 어댑터*가 있는데 두 개가 동시에 인식이 안된다.

- 외부 인터넷 어댑터가 able되어 있으면 블룸버그 로그인이 안됨

- 이걸 disable한 뒤 로그인하면 되고, 다시 able해야한다.

- 매일 하기 귀찮으니 자동으로 하자.  with autohotkey

 

코드

^n::
send #r
sleep 500
;send Control Panel\Network and Internet\Network Connections
send ncpa.cpl
sleep 500
send {enter}
sleep 500
send {right}
sleep 500
send {AppsKey}
sleep 500
send {down}
sleep 500
send {enter}
return