• 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: Info for
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info for


  • Subject: Re: Info for
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 20 May 2009 15:05:25 -0700

On May 20, 2009, at 2:36 PM, Chris Page wrote:

This, however, returns info about the startup disk:
info for "/Users/michelle/Desktop/LD.gif"

It shouldn't return info about the startup disk.

Right. It should return a "file not found" error, which is what I get on my machine. Please file a bug with steps for reproducing (I haven't been able to reproduce it).

I just tried it again.  I get the same result regardless of what is between the quotation marks, so long as the first (or only) character is a slash.

{name:"Dora", creation date:date "Friday, August 11, 2006 00:40:55", modification date:date "Tuesday, May 12, 2009 16:39:11", size:missing value, folder:true, alias:false, package folder:false, visible:true, extension hidden:false, name extension:missing value, displayed name:"Dora", default application:alias "Dora:System:Library:CoreServices:Finder.app:", kind:"Volume", folder window:{0, 0, 0, 0}, file type:"", file creator:""}

Do you see this behavior on more than one machine?

I have only one machine, so I can't test it on any other.  I'm running 10.5.7, but found it originally on 10.5.6.

Fortunately, “alias” and “file” by name always means the name is HFS (as far as I am aware). “POSIX file” is the means for explicitly indicating that the name is POSIX.

Yes, it does work with "posix file".

And I reported the bug.  It is bug number 6908279

By the way, I have an open bug dated 27 May 2004, which I guess should be closed.  It's one of those implied "get" that fails.
tell application "Address Book"
date string of (creation date of person 1)
end tell

That one fails, but this one works:

tell application "Address Book"
date string of (get creation date of person 1)
end tell

and one dated 22 Jan 2005, written against Pages 1.0; it can't be reproduced in Pages 3 or Pages 4.  I've annotated it accordingly.

-- Michelle

-- 
“Freedom of _expression_ is the matrix, the indispensable condition, of nearly every other form of freedom.") -- Justice Benjamin N. Cardozo

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Info for (From: Chris Page <email@hidden>)
 >Re: Info for (From: Michelle Steiner <email@hidden>)
 >Re: Info for (From: Chris Page <email@hidden>)

  • Prev by Date: Re: Excel Save as text question
  • Next by Date: Re: Excel Save as text question
  • Previous by thread: Re: Info for
  • Next by thread: Re: Info for
  • Index(es):
    • Date
    • Thread