• 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
Re: What the "tell" is going on?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What the "tell" is going on?


  • Subject: Re: What the "tell" is going on?
  • From: Pier Kuipers <email@hidden>
  • Date: Fri, 22 Jun 2001 21:49:23 +0100

At 07:13 -0700 22/6/01, Gary B. Little wrote:
>Here's my problem. I've got a Fetch-related script that was compiled when
>the old Fetch 3.0.3 was one my system. When I upgraded to Fetch 4 and
>removed Fetch 3.0.3, the script now asks me "Where is Fetch?" even though
>the creator type for Fetch has not changed. Strangely, it even asks me when
>Fetch 4 is already running.

Sounds like your script included a tell statement in the form of

tell application "Fetch 3.0.3"...

Which should be changed for the upgraded application to

tell application "Fetch 4.x"...

Which is, of course, too cumbersome. You mention creator type, and
that is the best way to call an application if you want to avoid the
dreaded "where is application?" dialog. Your script would look
something like

tell application "Finder"
open application file id "FTCh"
set AppFetch to name of result
end tell
tell application AppFetch
display dialog "Hello."
end tell

Hope this helps;

Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *

2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754

http://www.visualid.com


References: 
 >What the "tell" is going on? (From: "Gary B. Little" <email@hidden>)

  • Prev by Date: Ping from Applescript with no app?
  • Next by Date: Re: Ping from Applescript with no app?
  • Previous by thread: Re: What the "tell" is going on?
  • Next by thread: Re: What the "tell" is going on?
  • Index(es):
    • Date
    • Thread