• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Tell OS X Application...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>
________________________________________________


  • Follow-Ups:
    • Re: Tell OS X Application...
      • From: Steven Angier <email@hidden>
    • Re: Tell OS X Application...
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Create alias to application binary inside bundle
  • Next by Date: Re: Resetting Hard Drive Names
  • Previous by thread: Create alias to application binary inside bundle
  • Next by thread: Re: Tell OS X Application...
  • Index(es):
    • Date
    • Thread