Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: satimage OSAX list folder problem



On 2007-06-20, at 22:53:41, Emmanuel wrote:

At 12:29 PM -0700 6/20/07, Christopher Nebel wrote:
list folder "Macintosh HD:a folder with 32 characters name:"
-->"Bad name for file. Macintosh HD:a folder with 32 characters name"

It's a known limitation. "list folder" is deprecated anyway, use 'tell application "System Events" to get the name of every item of folder Š' instead.

Indeed that's good to know, glad you point it out, thanks much Chris.

That said, and out of curiosity, how comes it seems to work here on 36-characters folder names:

list folder alias "emmanuel's hd30:Library:WSDev:spaces:9CAA9C92- E822-4496-9F28-2FD1D9DAF2E7:"
--> {".DS_Store", "profile.xml", "services", "uploads.plist", "users"}

That's a G4 with 10.4.9.

Intel/10.4.10

Because you coerced it to an alias and the pascal StringPtr was hashed in the alias?


Philip Aker email@hidden


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

This email sent to email@hidden
References: 
 >satimage OSAX list folder problem (From: Håvard Graudo <email@hidden>)
 >Re: satimage OSAX list folder problem (From: Christopher Nebel <email@hidden>)
 >Re: satimage OSAX list folder problem (From: Emmanuel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.