On 5/5/08 17:05, David Bovill wrote:
I guess this works? Can someone test it on windows?

function file_IsAlias someFile
    put the aliasreference of someFile into testAlias
    return someFile is not testAlias
end file_IsAlias


2008/5/5 David Bovill <[EMAIL PROTECTED]>:

Is there a way to find out if a file is an alias. The only way I can do it
at the moment is with MacOS specific hacks?


Be wary: on the Mac there are three possible kinds of 'alias': a symbolic
link, a hard link, and a "Mac alias".  AFAICT, "the aliasReference" only
understands the third kind.

Possibly that should be the subject of an enhancement request in BZ?

- Ben


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to