• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Handler joy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: global variable not being recognized by script object
  • Next by Date: Re: simple math equations
  • Previous by thread: Re: Handler joy
  • Next by thread: Network Setup Scripting error
  • Index(es):
    • Date
    • Thread