• 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: Finder's "exists" command ignores leading zero's in filename
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder's "exists" command ignores leading zero's in filename


  • Subject: Re: Finder's "exists" command ignores leading zero's in filename
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 23 May 2014 09:26:26 -0500

On May 22, 2014, at 4:20 PM, Stan Cleveland wrote:

On May 22, 2014, at 1:14 PM, Luther Fuller wrote:

Has anyone seen it documented? And, if so, then where?

It's outdated and not specific to AS, but there's relevant information at http://support.apple.com/kb/TA22935

From that, it's clear that any portion of a file name that can be interpreted as a number, for purposes of sorting, will be. And, of course, leading zeros have no significance in a numeric sort. 

Outdated or not, this seems to be the explanation for this behavior.

Consequently, the Finder is seeing files which are not there while the '... as alias' conversion does not see them.
Using aliases or System Events seems to be the proper work-around for this "problem".




 _______________________________________________
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: Finder's "exists" command ignores leading zero's in filename
      • From: "koenig.yvan" <email@hidden>
References: 
 >Finder's "exists" command ignores leading zero's in filename (From: Bert Groeneveld <email@hidden>)
 >Re: Finder's "exists" command ignores leading zero's in filename (From: Luther Fuller <email@hidden>)
 >Re: Finder's "exists" command ignores leading zero's in filename (From: "koenig.yvan" <email@hidden>)
 >Re: Finder's "exists" command ignores leading zero's in filename (From: Luther Fuller <email@hidden>)
 >Re: Finder's "exists" command ignores leading zero's in filename (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: Finder's "exists" command ignores leading zero's in filename
  • Next by Date: Re: Finder's "exists" command ignores leading zero's in filename
  • Previous by thread: Re: Finder's "exists" command ignores leading zero's in filename
  • Next by thread: Re: Finder's "exists" command ignores leading zero's in filename
  • Index(es):
    • Date
    • Thread