Skip to content

Commit

Permalink
backup
Browse files Browse the repository at this point in the history
  • Loading branch information
me7 committed Mar 30, 2022
1 parent 186ce83 commit e951877
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
12 changes: 5 additions & 7 deletions autohotkey.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,28 @@ Capslock::
return

; winQ enable WIRE_HANA network adapterQ
#q::
#+q::
if not WinExist(Network Connections)
Run, ncpa.cpl
WinWaitActive, Network Connections
Send, WIR
Send, ZET
Send, {AppsKey}
Sleep, 250 ;adjust as needed
Send, {Down}
Send, a ;en&able
Sleep, 250 ;adjust as needed
WinWaitActive, Network Connections
Send, !{F4}
;Send, !{F4}
return

; WinShiftQ disable WIRE_HANA network adapter
#+q::
#q::
;Run, %ComSpec% /K netsh interface set interface "WIRE_HANA" enable
if not WinExist(Network Connections)
Run, ncpa.cpl
WinWaitActive, Network Connections
Send, WIR
Send, ZET
Send, {AppsKey}
Sleep, 250 ;adjust as needed
Send, {Down}
Send, b ;disa&ble
Sleep, 500 ;adjust as needed
Send, !{F4}
Expand Down
13 changes: 12 additions & 1 deletion forcebindip.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
force app to use specific network adaptor
e.g. you have 2 network adaptor
- WIRE_HANA company network that block many site
- ZEThernet3 is mobile tether network through USB cable

`ForceBindIP64.exe 192.168.54.255 "C:\Program Files\Mozilla Firefox\firefox.exe"`
you can bind firefox web browser to ZEthernet3 only so you can unblock
- check you mobile adapter gateway ip (this case is 192.168.54.255)
- run `forcebindip.exe -i 192.168.54.255 "c:\Program Files\Mozilla Firefox\firefox.exe"`
- open task manager, go to fast.com and check that data is go through mobile tether

![](i/forcebindip.png)


https://github.com/mhasanjb/ForceBindIP-Gui
Binary file added i/forcebindip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e951877

Please sign in to comment.