Re: AppleScript4programmers
Re: AppleScript4programmers
- Subject: Re: AppleScript4programmers
- From: "Mark J. Reed" <email@hidden>
- Date: Sat, 8 Dec 2007 17:41:19 -0500
Enter, not Return. Huh. Would never have thought to try that (rtfm,
I know...) I tried various combinations of modifier keys with Return
instead...
Thanks!
On 12/8/07, Gary (Lists) <email@hidden> wrote:
> "Mark J. Reed" wrote:
>
> > Well, I got the impression that was what Smile was, but it's not quite
> > how I imagined it, andI haven't figured out how to make it actually
> > execute a line of AppleScript yet... :\
>
> 1. Launch Smile.
> 2. In the worksheet that opens (or in one you make, Cmd-N)
> type a line of code.
> 3. Press 'Enter' (not return)
>
> That's it.
>
> It's an interactive AS terminal.
>
> Notes:
>
> A) you can't execute a line that is not a fully executable line of code.
> That is, if you type and execute "repeat with x from 2 to 4"
> you will get an error, because that's not a fully executable line.
> In that case, you'd manually select the full 'repeat loop' and press
> 'enter' to execute.
>
> B) From the 'Scripting' menu, you can choose 'tell...' and then select a
> running app, and then you can execute lines that are directed at that app,
> as if the line were in a 'tell' block targeting that app.
>
> C) If you want your output in a different window, press Cmd-Opt-L to get an
> output window.
>
> It's a very convenient way to test pieces of code, particularly when you use
> that 'tell...' feature to target an app, so you can check out app-specific
> code.
>
> --
> Gary
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden