Re: why won't this compile?
Re: why won't this compile?
- Subject: Re: why won't this compile?
- From: Steven Angier <email@hidden>
- Date: Fri, 28 Dec 2001 19:36:45 +1100
- Organization: Macscript.com
Paul Berkowitz wrote:
>
For OS's earlier than 9, you need to compile the script using
>
raw codes, without the 'using terms from'. (Or maybe this was introduced in
>
OS 8.6, I forget.)
I think that it is much simpler to use the double-tell technique as this works reliably on
systems 7.5 and above (just make sure the first tell is to the variable):
--first get the local name of the target app
tell app "Finder" to set InternetExplorer to name of (application file id "MSIE")
--make subsequent calls like so:
tell app InternetExplorer to tell app "Internet Explorer"
--statements
end
Steven Angier
Macscript.com