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: Jon Pugh <email@hidden>
- Date: Mon, 24 Sep 2001 15:17:32 -0700
At 1:28 PM -0700 9/24/2001, Zavatone, Alex wrote:
>
So, if I entered "CreateTcpipConfig" in my message window, I'd like Ascript
>
to compile the line, execute it by doing a tell to the frontmost doc that is
>
currently open in the editor we are using.
>
>
Does this sound possible/doable?? If so, any advice on how to go about it??
I don't know about possible. It all depends on the details.
Regardless, to compile and execute AppleScripts (actually OSA scripts) you can check out my MoreOSA example code. It's actual working C++ code that runs scripts.
http://www.seanet.com/~jonpugh/MoreOSA.html
Good luck.
Jon