Guest sossenbinder Posted August 3, 2005 Share Posted August 3, 2005 how to send a string to a vbs-file? plz help thx Link to comment Share on other sites More sharing options...
jpm Posted August 3, 2005 Share Posted August 3, 2005 how to send a string to a vbs-file?plz helpthx<{POST_SNAPBACK}>What do you mean write in a file or send information to vbs running application.The best is to read the tutorial in the doc to start with AutoIT3 Link to comment Share on other sites More sharing options...
Guest sossenbinder Posted August 3, 2005 Share Posted August 3, 2005 (edited) What do you mean write in a file or send information to vbs running application.The best is to read the tutorial in the doc to start with AutoIT3 <{POST_SNAPBACK}>i used a vbs-file(WMI) to change ip-address of any host. now i did a gui with autoit to ask for the target IP-address. this input should be send to the vbs-file. vbs-file is opend by another button on my gui.hope u understand this..or is there a function to change the ip-address of any host within AUTOIT without using my vbs-script(wmi)? Edited August 3, 2005 by sossenbinder Link to comment Share on other sites More sharing options...
aphoria Posted August 3, 2005 Share Posted August 3, 2005 i used a vbs-file(WMI) to change ip-address of any host. now i did a gui with autoit to ask for the target IP-address. this input should be send to the vbs-file. vbs-file is opend by another button on my gui.hope u understand this..or is there a function to change the ip-address of any host within AUTOIT without using my vbs-script(wmi)?<{POST_SNAPBACK}>Is you VBS file written to handle command-line arguments?If not, you'll need to add some code. Here is a snippet to get you started.Dim argsDim ipAddressSet args = WScript.ArgumentsipAddress = args(0)'' The rest of your code'Hope this helps.aphoria Link to comment Share on other sites More sharing options...
herewasplato Posted August 3, 2005 Share Posted August 3, 2005 I'm not sure what you mean by "change the ip-address of any host " so I'll just point you to this post about WMI and AutoIt:http://www.autoitscript.com/forum/index.ph...34&st=0&p=79513hope it helps [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Stumpii Posted August 3, 2005 Share Posted August 3, 2005 Try this. I use it to change the IP address. The basis was another post that I can no longer find.SetIP.au3 Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity. 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