• 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
Problem with tell application "Finder" get exists...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with tell application "Finder" get exists...


  • Subject: Problem with tell application "Finder" get exists...
  • From: email@hidden
  • Date: Wed, 18 Jan 2006 11:08:48 -0500


Was wondering if anyone encountered the same problem...

I'm working with files in a photography studio, so the format  of our file names is always: shotName_001.tif.  (name + _ + capture number + file extension)

When I do a...

tell application "Finder" to get exists "shotName_001.tif"

the result is true.

But when I do...

tell application "Finder" to get exists "shotName_0001.tif"  -- add an extra 0 to the capture number

the result is also true. Even though the literal file name in the Finder only has two zeros in the capture number.

Anyone have any ideas how I can get an accurate result? I need to get a result of false for the second query.

Thanks.


Brad Gourley
Photography Manager
Studio W26
601 West 26th Street
Suite 1680B
New York, NY 10001
P: 212-647-6011
F: 646-336-5165
E: 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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem with tell application "Finder" get exists...
      • From: Bastiaan Boertien <email@hidden>
    • Re: Problem with tell application "Finder" get exists...
      • From: Matt Deatherage <email@hidden>
    • Re: Problem with tell application "Finder" get exists...
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Creating objects with AS in Illustrator 10
  • Next by Date: Re: Problem with tell application "Finder" get exists...
  • Previous by thread: Re: Creating objects with AS in Illustrator 10
  • Next by thread: Re: Problem with tell application "Finder" get exists...
  • Index(es):
    • Date
    • Thread