Tim Net Posted December 29, 2008 Share Posted December 29, 2008 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. Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 30, 2008 Share Posted December 30, 2008 There aren't. What's wrong with a file? Link to comment Share on other sites More sharing options...
Tim Net Posted December 30, 2008 Author Share Posted December 30, 2008 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 Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 31, 2008 Share Posted December 31, 2008 Well, I suppose you could try something like standard output. Is there a way for you to read that information? Link to comment Share on other sites More sharing options...
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