Re: Error-trapping alias properties
Re: Error-trapping alias properties
- Subject: Re: Error-trapping alias properties
- From: Kai Edwards <email@hidden>
- Date: Sat, 30 Mar 2002 04:59:04 +0000
on 30/3/02 4:01 am, I wrote:
>
However, if there's no evaluation of the alias, then what we're probably
>
looking at is an string coercion from the alias - the *last* time it was
>
evaluated. That is, before it got broken. (We'd still then need a try block to
>
attempt a resolution of the alias.)
>
>
So it seems this approach only really tells us the file path at the time the
>
alias was last evaluated.
>
>
But since it avoided the error that <someFile = ""> couldn't avoid, it fooled
>
me into thinking I'd cracked the problem. >-(
>
Well, so much for theories! I've just rechecked exactly what does happen -
and it seems I was talking complete nonsense! 8-0
When using 'a reference to' an alias, it updates dynamically - just like the
alias itself would. However, if the alias is broken, it returns the alias
first defined by 'choose file'.
Apologies for any confusion caused (although I think it was all here)!
Kai
--
**********************************
Kai Edwards Creative Resources
1 Compton Avenue Brighton UK
Telephone +44 (0)1273 326810
**********************************
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.