Le 17 oct. 06 à 19:07, Matt Deatherage a écrit :
It would be a lot easier to diagnose if you'd share actual error
messages; even native English speakers have trouble understanding
"blahblah..." :-)
There is an internal File Manager data type (the FSRef) that's currently
recommended for storing file references, but you can only create FSRef
structures that point to existing files - you can't make one that points
to a file that doesn't exist, even though a pathname can. Aliases are
the same way, as many scripters have noted.
yes, thanks, i know very well the File Manager's type FSRef because i wrote a C extension for Ruby in order to use it...
AppleScript uses FSRefs internally in some places, so at some point,
trying to refer to an actual "file" object may fail if the file does not
exist.
some times AppleScript says "file wasn't found" even if i get the unix path of the file using path snagger contextual menu..