RE: Command execution ala Director's message window
RE: Command execution ala Director's message window
- Subject: RE: Command execution ala Director's message window
- From: Rob Jorgensen <email@hidden>
- Date: Tue, 25 Sep 2001 22:12:49 -0400
On 09/24/2001, Jon Pugh commented:
At 4:58 PM -0700 9/24/2001, Zavatone, Alex wrote:
Yup. With a focus. As in take this string, compile it and direct its
execution to the front most script window.
Any pointers?
There's no way to get text into the Script Editor's window besides
the user typing or pasting.
Well, there's a round-about way to get text into Script Editor's
windows without typing or pasting (taken from scripts by Barry
Wainwright).
You can write the text to a file and then use something along the lines of:
tell application "Finder" to open file theFile using application file id "ToyS"
All this does is put the text into a Script Editor window. It doesn't
compile or run the script. <shrug>
Later,
Rob Jorgensen
Ohio, USA