Tcl/tk and AppleScript
Tcl/tk and AppleScript
- Subject: Tcl/tk and AppleScript
- From: Stavros Kassinos <email@hidden>
- Date: Tue, 09 Jan 2001 17:57:52 -0800
- Organization: Stanford University
I have a GUI application that am porting from Unix to Mac Os 8.6. Under
Unix the tcl/tk script uses pipe to communicate to a FORTRAN code that
it controls.
Under Mac OS I am using LS FORTRAN and it seems to me that the
alternative to pipes will be Apple Script.
Since I have no prior experience with Apple Script I wonder if anybody
could help me withn some examples. What I need to do is described below:
1. Tcl/tk GUI starts FORTRAN code.
2. FORTRAN code sends information to tcl/tk (can be treated as of type
string)
3. tcl/tk reads, processes and sends back info.
One concern I have is for the communication to be asynchronous so that
the GUI does not freeze while waiting for data to arrive from the
FORTRAN side.
Thank you
Stavros
--
--------------------------------------------------------------------
Stavros C. Kassinos | e-mail: email@hidden |
| Office: (650)-723-0546 |
Center for Turbulence Research | Fax: (650)-723-4548 |
Stanford University |
http://www.stanford.edu/~kassinos |
--------------------------------------------------------------------