• 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: applescript-users digest, Vol 2 #1064 - 14 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 2 #1064 - 14 msgs


  • Subject: Re: applescript-users digest, Vol 2 #1064 - 14 msgs
  • From: "Marc K. Myers" <email@hidden>
  • Date: Fri, 14 Sep 2001 09:48:51 -0400
  • Organization: [very little]

> Date: Thu, 13 Sep 2001 20:08:56 -0500
> To: AS List <email@hidden>
> From: "Joseph A. Weaks" <email@hidden>
> Subject: Container of an app
>
> Here's the full subroutine I'm working on. I need the routine to
> find the container folder of the app it'll be working with. The
> script will be used by folks on different computers from 8.1 to 9.2.
> (I substituted Tex-Edit since it's more popular than the obscure app
> I'm working with.)
> Basically, I want to know if there's a better way to do this. Some
> other errors/quesions are in the comments.

There's certainly a much shorter way to do it!

tell application "Finder"
set x to (container of application file id "TBB6") as alias
end tell

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[9/14/01 9:47:44 AM]


  • Prev by Date: Creating list references in handlers. Bad code or bug?
  • Next by Date: Re: does anybody have a recursive directory subrountine???
  • Previous by thread: Re: Creating list references in handlers. Bad code or bug?
  • Next by thread: TV Tuner Channel Changing
  • Index(es):
    • Date
    • Thread