Re: Finder Tell Blocks
Re: Finder Tell Blocks
- Subject: Re: Finder Tell Blocks
- From: JollyRoger <email@hidden>
- Date: Sun, 03 Mar 2002 23:22:56 -0600
On 3/3/2002 9:29 PM, "email@hidden" <email@hidden> wrote:
>
For others (newbies especially) who also didn't quite get the rant & rave of
>
it:
>
>
set X to 5
>
set Y to 25
>
set Z to 2
>
set A to ((X+Y)/Z)
>
display dialog "The answer is: " & a
>
>
does not have to be within a tell block at all -- it will just run all by
>
it's lonesome without it, even outside the script editor (as a saved
>
application) because it never calls anything unique to any program.
That's right. Built-in AppleScript commands and calls to scripting
additions can run outside of any tell block.
I think a lot of people don't get this at first - probably at least
partially due to the lack of a good AppleScript reference guide that
documents the built-in commands.
JR
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.