Re: opening a .app bundle
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.