RE: Finder Tell Blocks
RE: Finder Tell Blocks
- Subject: RE: Finder Tell Blocks
- From: email@hidden
- Date: Sun, 3 Mar 2002 22:29:32 EST
Ah, now I finally understand the whole pointlessness of the finder tell block
(re: Wind Chill), having dropped back into the script editor and tinkered
around. Up to this point, I was under the impression that I had to tell some
(whatever) application to execute whatever code I wanted to run (or else the
script editor would have to handle the request); so I was using the Finder in
all cases where no other program needed to be called, because the Finder was
always running. I never realized that AS coding didn't require invoking at
least one program to act as the executor of the code. Now there's a mistake I
hadn't had clarified to me in the four & half years I've been (occasionally)
coding AppleScript, although I will freely admit to only having signed up for
the list this past month... And now it all makes sense.
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.
=-= Marc
_______________________________________________
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.