Re: Handler joy
Re: Handler joy
- Subject: Re: Handler joy
- From: Richard 23 <email@hidden>
- Date: Wed, 28 Feb 2001 20:09:04 -0800
Cal mused:
>
Richard 23 <email@hidden> chimed in:
>
>
>First "Mac HD:" is being coerced to a file spec or alias for you,
>
>and second something sneaky is using the File Manager behind the
>
>scenes to get your result. AppleScript does neither of these.
>
>
Richard, I suspect this is just a case of not looking at his result
>
for reasonability. The above script returns the number 7, regardless
>
of whose machine its on, or whether there is a folder named "Mac HD:".
>
>
This is one of those situations where I looked at this and said to
>
myself, "Huh? How is he getting the number of items in a folder by
>
just supplying the name as a string? Is this something about
>
AppleScript that I don't know? Is the universe as I know it falling
>
apart?
Good call, Cal. You're right.
"Mac HD:" has the same number of characters on my machine as it does
on Jolly Roger's.
When I assume I make an ass out of you and me.
R23