Re: Evaluating if a file exists
Re: Evaluating if a file exists
- Subject: Re: Evaluating if a file exists
- From: Emmanuel <email@hidden>
- Date: Mon, 7 May 2007 19:22:11 +0200
At 1:08 PM -0400 5/7/07, email@hidden wrote:
set theDestFolder to alias
"DONNELLY:Users:andrewd:Desktop:TheDestFolder:"
[...}
if not (exists file (theDestFolder & x as string)) then
That was not your question, and I may very well be missing something,
but I'm surprised that this could work: I can't see what Finder (or
AppleScript) will do when asked to concatenate an alias with a
string. For me, that very line should make an error.
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