Kragen Posted September 13, 2008 Share Posted September 13, 2008 Hey fellow scripters. In my class in school, we're playing a lot of games with each other on ad-hoc wireless networks. But to make it easier for us all, we all have an IP adress that we always use. So everytime we want to play, one of us has to set up a network and we all have to go into the options and manually type in the IP we want. So, is it possible to make an AutoIt script that does the whole thing? I'm thinking of making an input box that asks for the desired IP, and then just a few lines of code that changes the IP adress. I've been thinking of how it can be done, but the only solution I can come up with is going through start -> Control Panel -> Network Connections -> make it rightclick on the wireless network connection and then go through menus and stuff. This is very hard to code for computers with different languages, network connection names and such. Can it be done in any other way? I was hoping for a function called $desiredIP = xxx.xxx.xxx.xxx SetIP(xxx.xxx.xxx.xxx, "network connection name") Link to comment Share on other sites More sharing options...
APPLEEATER Posted September 13, 2008 Share Posted September 13, 2008 Hey fellow scripters. In my class in school, we're playing a lot of games with each other on ad-hoc wireless networks. But to make it easier for us all, we all have an IP adress that we always use. So everytime we want to play, one of us has to set up a network and we all have to go into the options and manually type in the IP we want. So, is it possible to make an AutoIt script that does the whole thing? I'm thinking of making an input box that asks for the desired IP, and then just a few lines of code that changes the IP adress. I've been thinking of how it can be done, but the only solution I can come up with is going through start -> Control Panel -> Network Connections -> make it rightclick on the wireless network connection and then go through menus and stuff. This is very hard to code for computers with different languages, network connection names and such. Can it be done in any other way? I was hoping for a function called $desiredIP = xxx.xxx.xxx.xxx SetIP(xxx.xxx.xxx.xxx, "network connection name") I don't think there is anything like a SetIP fuction but there is a HttpSetProxy() function... you could make it select a proxy from a list but i haven't looked into it Link to comment Share on other sites More sharing options...
botanic Posted September 13, 2008 Share Posted September 13, 2008 i made a program that changes ip and can save profileshttp://www.autoitscript.com/forum/index.php?showtopic=64673 Link to comment Share on other sites More sharing options...
Kragen Posted September 13, 2008 Author Share Posted September 13, 2008 Awesome! Thank you, botanic. Am I allowned to make the changes in the program I want? Link to comment Share on other sites More sharing options...
LarryDalooza Posted September 13, 2008 Share Posted September 13, 2008 command line utility NETSH.EXE ... google AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
botanic Posted September 13, 2008 Share Posted September 13, 2008 of course 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