How to pass data to a launched process
Scott Rossi
scott at tactilemedia.com
Wed Dec 12 01:40:01 EST 2001
Recently, Gene Kennedy wrote:
> I have read the Transcript dictionary descriptions of the process-related
> commands
> namely: Open Process, Close Process, Write to Process and Read from Process
> but do
> not have an understanding yet as to how one actually sets up the
> inter-application
> process.
>
> What I'd like to do is to create two applications A & B. Normally only app A
> would be running however under certain conditions I would like App a to open
> process B then send it some initialization data. Then, after process B has
> done
> its work, send data back to process A (or have process a "Read from Process
> B").
> What do you use as a container in each app to send and receive the data to and
> fro? Does anybody have an example they would be willing to share?
One way to do this (actually two ways) is AppleEvents on MacOS and DDE
(Dynamic Data Exchange) on Windows, which requires Tuviah Snyder's external
collection. I've done this on the Windows side only, just by following the
examples in the external stack. Let me know if this is of any use to you.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
Email: scott at tactilemedia.com
Web: www.tactilemedia.com
More information about the use-livecode
mailing list