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: Bryan Rieger <email@hidden>
- Date: Wed, 26 Sep 2001 19:38:23 -0400
Zav,
Check out ScriptDebugger 3 from lateNightSoftware
<
http://www.latenightsw.com/> - version 3 (just released with OS X support)
includes a 'console' window that does exactly this.
Very, very nice...
Cheers,
Bryan
on 9/24/01 4:28 PM, Zavatone, Alex at email@hidden wrote:
>
In light of our recent usability and adoption of applescript discussion, I'm
>
REALLY interested in creating Director style message window functionality in
>
AScript.
>
>
I've already got message window style output pretty much done but what I'm
>
looking for advice is how to proceed on the input part of this.
>
>
See, Director allows the user to enter a a Lingo command in the message
>
window and it will be executed and applied to the movie.
>
>
For example, If I have a routine in my current director movie with a handler
>
called "InitGlobals" or "Main", I can test these commands without running
>
the movie. I can enter them in the message window and press return. They
>
will be compiled, executed ( within the context of being applied to the
>
currently loaded director file ) and the output dumped to the message
>
window.
>
>
I'd like to create a similar thing for AScript with the following changes:
>
Add a focus field or method to apply the commands being entered to the
>
frontmost open applescript doc.
>
>
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??