Re: Checking on the existence of a file
Re: Checking on the existence of a file
- Subject: Re: Checking on the existence of a file
- From: "koenig.yvan" <email@hidden>
- Date: Sun, 28 Oct 2012 16:01:36 +0100
Le 28/10/2012 à 15:13, Luther Fuller < email@hidden> a écrit : On Oct 28, 2012, at 8:18 AM, koenig.yvan wrote: No. Chris Nebel explained that checking the existence of an alias was linked to some features of the operating system which were not guaranteed to be valid in future. My understanding is that it may be broken if Apple switch from Hfs+ to an other file system as it was rumored several time (and we may be sure that they will switch one day).
Mmmmm. I use this ...
tell application "Finder" if (exists alias file linkName of mailboxFolder) then
very often in a script. Should I be worried?
Ask to Chris Nebel ;-)
But honestly what's the need to test if an alias exists.
tell application "Finder" if (exists file linkName of mailboxFolder) then
will do the trick.
If you want details about Chris Nebel explanations, search in the archives.
Yvan KOENIG (VALLAURIS, France) dimanche 28 octobre 2012 16:01:29
|
_______________________________________________
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