Re: weirdness: colons stripped from aliases when script saved as classic app
Re: weirdness: colons stripped from aliases when script saved as classic app
- Subject: Re: weirdness: colons stripped from aliases when script saved as classic app
- From: Timothy Bates <email@hidden>
- Date: Wed, 04 Sep 2002 14:47:08 +1000
>
On Monday, September 2, 2002, at 01:08 PM, Timothy Bates wrote:
>
> It runs fine under X, and the code is 9-safe, but when I save it and then
>
> reopen it, all the colons...
>
Are you sure it's all the colons, as opposed to just the first one?
Just the first one, from all the paths
>
> ...are missing from my alias names
>
> Ie., alias "labview:rabbit response.vi"
>
> --> alias "labviewrabbit response.vi"
>
This happens now (since maybe AS 1.6) OMM when the volume is not found -
>
the colon after its name disappears. Maybe it's not mounted when you
>
open the script?
That is a shocking bug: chris? Is that already in Radar?
It is also un-undoable - there is no way of knowing where the colons are
supposed to be.
So. The lesson is "aliases are really bad". As always, convert everything
into a path as string and keep it that way until run time. What a mess.
Tim
_______________________________________________
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.