newcomtd Posted April 1, 2010 Posted April 1, 2010 (edited) Hello, I have a working script to automate file upload dialogs in a web browser. The script expects an argument (the name attribute of an html input). I have no trouble running the script from the windows command line. The trouble is that I need to run this script from VB .NET code. I am using AutoItX3Lib which has a Run() function. How do I specify command line parameters in the Run() function in VB? In my VB function, I have tried: //Start Function Dim autoIT As AutoItX3Lib.AutoItX3 autoIT = New AutoItX3Lib.AutoItX3 autoIT.Run("Compiled.exe C:\pathToCompiledScript\compiledScript.exe aTestParameter") autoIT.Run("C:\Program Files\AutoIt3.exe C:\pathToAu3File\myScript.au3 aTestParameter") //End Function Neither of these throw any VB errors, they just don't execute the script. Thank you Edited April 1, 2010 by newcomtd
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