Jump to content

get inputs from another program


Recommended Posts

  • Moderators

I would like to get inputs from executing a perl program inside my autoit script. Is this possible?

something like this

$input='program.pl'

You might look at the Conrol Commands in the help file.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

stdoutread doesn't even look like a valid function. I'm using autoit3.

closest thing i can find is: Run ( "filename" [, "workingdir" [, flag]] )

But this will not return the output of the program that you run. Anymore ideas?

Link to comment
Share on other sites

Hi,

you could write you info somewhere ( Registry, file, etc.) ans read it with your script

you cold start the autoit script with parameters

You cold you use Stdout...

Hope that helps.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

cool, looks like it might work with beta, if not then beta has regular expressions which is what i needed.

As a suggestion new version should allow you to execute any program and store its output in a variable in one line of code.

such as $output='program.exe parm1 parm2'

that would make autoit godly :D

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...