Re: [XGP-devel] Cool ~> operator
Brought to you by:
spratt
|
From: Lindsey S. <sp...@al...> - 2003-06-08 22:30:54
|
On Sunday, June 8, 2003, at 05:03 PM, ro...@wr... wrote: > I've been testing the redirect ~> operator, and this seems to provide > a nice > workaround > allowing cocoa & XGP programs to "talk" to each other when using > applescript > ... for > example, one could pipe the results into a file such as '/tmp/result' > and then > parse the file > contents for the information. I think this may be suitable for getting > info > back from XGP, > pain-free. I also noticed that flush_output ensures the file gets > written. This is a creative workaround...but we still need to figure out how to do the "right" thing and get the 'fullResult' to be properly returned from the 'evaluate query given by' applescript command. (I spent a little more time looking at this and I'm currently stumped. Perhaps I can get some help from the applescript-implementors mailing list.) Keep up the good work, Lindsey Spratt http://homepage.mac.com/lspratt |