Jump to content

Recommended Posts

Posted

I have a script(.exe) that needs to be called by IIS. I've set it up to run through COM and it produces an output message, writes it to a file and then IIS(Cold Fusion) reads the file and removes it. I don't like the file system writes and would like to instead return the 20 character string as a method or exit code.

How does one retrieve output data from AutoItX without writing it to disk?

What methods other than file system writes, registry writes or the integer Exit code are there for getting information out through COM?

Thanks.

Posted

There aren't. What's wrong with a file?

Using a text file to transfer small response types of information or even an array is clunky.

What if to use ProcessList() you had to point it to a file, read the file and then delete the file. Much better that we only have to address the memory as an array opposed to locking, reading in the file, splitting it and deleteing the temp file.

Other COMs have methods. It would seem a reasonable request.

Tim

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
×
×
  • Create New...