Re: Evaluating if a file exists
Re: Evaluating if a file exists
- Subject: Re: Evaluating if a file exists
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 7 May 2007 19:18:02 +0200
Le 7 mai 07 à 19:15:39, KOENIG Yvan 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
OOPS, I made a typo::
if not (exists file ((theDestFolder as 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