Re: satimage OSAX list folder problem
Re: satimage OSAX list folder problem
- Subject: Re: satimage OSAX list folder problem
- From: Emmanuel <email@hidden>
- Date: Thu, 21 Jun 2007 09:46:17 +0200
At 11:40 PM -0700 6/20/07, Philip Aker wrote:
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 S' 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?
Not sure what this implies. The test works as well with "file" and
with the mere string: list folder "emmanuel blah".
Now that you say it, maybe the problem comes with paths longer than 512?
Emmanuel
_______________________________________________
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