• 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: opening a .app bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opening a .app bundle


  • Subject: Re: opening a .app bundle
  • From: garbanzito <email@hidden>
  • Date: Thu, 11 Apr 2002 18:12:27 -0600

at 2002 04 11, 13:37 +0200, they whom i call Frank Blome wrote:
is there a way, to open an application bundle (like MyApplication.app) with AppleScript?

this worked for me:

set apps_path to (path to "apps" from local domain) as string
set iTunes_path to (apps_path & "iTunes.app")
open_bundle (iTunes_path)

on open_bundle (my_app)
tell application "Finder"
make new Finder window
set target of Finder window 1 to folder "Contents" of application file my_app
end tell
end open_bundle

--
steve harley email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >opening a .app bundle (From: Frank Blome <email@hidden>)

  • Prev by Date: Re: Obtaining the name of a "dropped" folder
  • Next by Date: Re: Multiple formats starting from a QXP file
  • Previous by thread: Re: opening a .app bundle
  • Next by thread: RE: opening a .app bundle
  • Index(es):
    • Date
    • Thread