• 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: Evaluating if a file exists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Evaluating if a file exists


  • Subject: Re: Evaluating if a file exists
  • From: KOENIG Yvan <email@hidden>
  • Date: Mon, 7 May 2007 19:15:39 +0200


Le 7 mai 07 à 19:08:29, email@hidden a écrit :


From my point of vue the culprit is this line:

if not (exists file (theDestFolder & x as string)) then 


because in your script theDestFolder is an alias.

try to code:

if not (exists file ((theDestFolderas text) & x)) then

Yvan KOENIG
 _______________________________________________
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: Evaluating if a file exists
      • From: Luther Fuller <email@hidden>
    • Re: Evaluating if a file exists
      • From: KOENIG Yvan <email@hidden>
References: 
 >Evaluating if a file exists (From: email@hidden)

  • Prev by Date: Evaluating if a file exists
  • Next by Date: Re: Evaluating if a file exists
  • Previous by thread: Evaluating if a file exists
  • Next by thread: Re: Evaluating if a file exists
  • Index(es):
    • Date
    • Thread