Re: what the ***? literal paths update "automatically"
Re: what the ***? literal paths update "automatically"
- Subject: Re: what the ***? literal paths update "automatically"
- From: Michelle Steiner <email@hidden>
- Date: Wed, 14 Feb 2001 15:56:49 -0800
On 2/14/01 1:21 PM, Michael Turner <email@hidden> wrote:
>
> did you preface the path with alias?
>
>
>
>
>
> -- hcir
>
>
Short answer: "no"
>
>
This was the snippet involved:
>
>
tell application "Palindrome:Desktop Folder:testbed:scripts:MSetterWOPT.qks"
>
activate
>
end tell
>
>
moved to:
>
>
tell application "Palindrome:Desktop Folder:prod:scripts:MSetterWOPT.qks"
>
activate
>
end tell
The script stores the application reference as an alias once it is
compiled, and thus keeps track of where it is. That's why, if you just
specify the application name (e.g., tell application "MSetterWOPT.qks")
and the script asks you where it is, it won't ever have to ask again,
even if you move the application to somewhere else on the disk.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spirtual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------