Cataldo Posted September 2, 2007 Share Posted September 2, 2007 Well, Can somone guide me through the steps on making this? i have a program, but it doesnt work.. i was wondering if there was a way to acually make a script so when you press like - it disconnects your internet, and = to bring it back.. Thx New to scripting :[ Link to comment Share on other sites More sharing options...
jvanegmond Posted September 2, 2007 Share Posted September 2, 2007 HotKeySet("-", "DestroyInet") HotKeySet("=", "RestoreInet") While 1 Sleep(1000) WEnd Func RestoreInet() Run("ipconfig /renew", "", @SW_HIDE) EndFunc Func DestroyInet() Run("ipconfig /release", "", @SW_HIDE) EndFunc github.com/jvanegmond Link to comment Share on other sites More sharing options...
Cataldo Posted September 3, 2007 Author Share Posted September 3, 2007 Thx Much!! I love you Link to comment Share on other sites More sharing options...
Cataldo Posted September 4, 2007 Author Share Posted September 4, 2007 Oh, How can i get this to work in dirext X game? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now