Re: Missing values and Script Editor request
Re: Missing values and Script Editor request
- Subject: Re: Missing values and Script Editor request
- From: Matt Neuburg <email@hidden>
- Date: Wed, 07 Sep 2005 11:11:16 -0700
On Wed, 07 Sep 2005 15:35:50 +0200, Jay Louvion <email@hidden>
said:
>My first question is how come the Finder allows ³missing valules² to be
>returned when for example, you are trying to get ³physical size² of an item:
>do we agree that even for an alias, there always is a physical size ? How
>can AS just return ³I don¹t know² and get away with it ?
I find the modern tendency to return "missing value" (instead of just
erroring out, for example) quite delightful. Of course one could argue over
whether the Finder is giving the right answer, but that is not an
AppleScript issue, and in any case there are other ways to get this
information. I have always found the Finder's "physical size" to be very
iffy and squiffy.
>My second subject is a feature request. Would it be possible to select a
>whole piece of script and ³comment it out² in one block, rather than adding
>the comment lines to every friggin¹ line ?
I believe we have just had a thread on the value of learning the language
before trying to use it...!
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden