• 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
using terms from
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using terms from


  • Subject: using terms from
  • From: christian vick <email@hidden>
  • Date: Fri, 18 Jan 2002 15:12:13 +0100

I searched the archives, Apple Dev, the web, the AS language guide. I found
no 'official' or definite explanation of how it works/how the code have to
look. Can anyone point me to the proper place?


I'm especially unsure about:

1) Is it still neccessary on OS X if the target app is Carbon/Cocoa?


2) To define the app, what do i have to say?:
set iTunesAppName to "iTunes"
set iTunesAppName to "x:Applications:iTunes.app:Contents:MacOS:iTunes"
set iTunesAppName to alias "x:Applications:iTunes.app:Contents:MacOS:iTunes"

Do i have to point to the app within the package?


3) Does 'using terms' enclose the 'tell app' statement or is it the other
way round?

using terms from application "iTunes"
tell application iTunesAppName
--
end
end using terms from




Greetings
cris :-)


  • Follow-Ups:
    • Re: using terms from
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Using error handlers (was Re: HD name change for X)
  • Next by Date: iTunes: open a playlist window?
  • Previous by thread: Re: including script in DVD root level
  • Next by thread: Re: using terms from
  • Index(es):
    • Date
    • Thread