Jump to content

Recommended Posts

Posted

Hello Community,

I am searching for an elegant method to send a string from a non-autoit-process to autoit.

Criteria are:

- as easy ( few commands ) and unidependent ( eg win-api calls only ) to perform in any programming language

- no tcp/ udp

- no winSetText

 

I tried sending window messages but, I can only send pointers to strings within the lparam which then point to the

memory of another process and format depends on programming language.

 

So any ideas are welcome.

Thanks

Blues

My UDF: [topic='156155']_shellExecuteHidden[/topic]

Posted (edited)

Thanks for your suggestions.

I have to specify:

- processes are totaly independent from each other and not start one another ( stdstreams no option )

- processes should communicate while running not just parameters on start ( is that what you meant billo? )

- I am experimenting with a combination of shared memory and window messages ( would you support this approach? what could be downsides and better solutions? )

regards

Edited by Bluesmaster

My UDF: [topic='156155']_shellExecuteHidden[/topic]

Posted

If you look in my sig "simple text man"

 this is just one example of sending a string (array of strings) to an autit script via the cmdline...

If you are looking pass strings back and forth between applications I will have to pass...

Bill

Posted

Well I personally think WM_COPYDATA is an elegant solution, though you haven't specified what the other process is or who has written it.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

That sounds very interesting, I had not heard about this. It will take a  while to investigate the support by other languages

My UDF: [topic='156155']_shellExecuteHidden[/topic]

Posted

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
  • Recently Browsing   0 members

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