Sign in to follow this  
Followers 0
Guest sossenbinder

send string to external *.vbs

6 posts in this topic

how to send a string to a vbs-file?

plz help

thx

Share this post


Link to post
Share on other sites



how to send a string to a vbs-file?

plz help

thx

<{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 :whistle:

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 :whistle:

<{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 by sossenbinder

Share this post


Link to post
Share on other sites

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 args

Dim ipAddress

Set args = WScript.Arguments

ipAddress = args(0)

'

' The rest of your code

'

Hope this helps.

aphoria

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0