Sign in to follow this  
Followers 0
Tim Net

Exit code for output string?

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Well, I suppose you could try something like standard output. Is there a way for you to read that information?

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