Tell OS X Application...
Tell OS X Application...
- Subject: Tell OS X Application...
- From: Simon Forster <email@hidden>
- Date: Thu, 10 Jan 2002 14:24:11 +0000
I know this has cropped up many times but I couldn't find a satisfactory
answer in the archives (why do we have to wade through all the headers,
and entire contents of of a digest to get to the one item we're after?).
Anyway...
tell application "URL Access Scripting.app"
is compiled to
tell application "URL Access Scripting" on my machine. Then, when I run
the code, classic starts up, launches the classic version of URL Access
Scripting which then fails to download the URL.
Brilliant.
Using terms form...
tell application <file path for URL Access Scription.app>...
does what I expect but, in the process, turns a 4 line script into a 9
line script.
Any more elegant workarounds?
Simon Forster
________________________________________________
LDML Ltd, 4/5 Hazlitt Mews, London, W14 0JZ, UK
<tel int="+44 20 7602 9370" uk="020 7602 9370">
<fax int="+44 20 7371 6662" uk="020 7371 6662">
<
mailto:email@hidden>
________________________________________________