• 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: satimage OSAX list folder problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: satimage OSAX list folder problem
      • From: Philip Aker <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>)
 >Re: satimage OSAX list folder problem (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: satimage OSAX list folder problem
  • Next by Date: Meta: any hobbyists out there interested in a 'code-free' semi-social spinoff list?
  • Previous by thread: Re: satimage OSAX list folder problem
  • Next by thread: Re: satimage OSAX list folder problem
  • Index(es):
    • Date
    • Thread