Jump to content
Sign in to follow this  
MrBeatnik

Pass data to another program...

Recommended Posts

MrBeatnik

Hi all,

Sorry if this has been covered - my searches aren't getting what I'm looking for.

Basically I have a client machine that will invoke an autoit script on a server by way of PSEXEC.

That autoit script simply needs to return a variable (string) to the client. The string is one line perhaps 16 characters long.

If it were an integer, I could simply use the Exit #, but because it is string, I'm not sure of the cleanest way.

I'm aware that I could write the string to many places, but I feel this is untidy.

I would need a second part of the program on the client that picks up the resulting file or reg key, reads it in, then deletes the key.

This is particularly annoying as the writing of data to a file or reg key would be on the server, rather than the client (due to the environment).

Is there any way for an autoit script to simply pass a string back to the parent application that calls the script?

It is possible that it will be an autoit script on the client machine that calls the autoit script on the server...

Hope that makes sense!

Cheers


Please correct me if I am wrong in any of my posts. I like learning from my mistakes too.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.