ASObjC Runner, embedded in app bundle
ASObjC Runner, embedded in app bundle
- Subject: ASObjC Runner, embedded in app bundle
- From: Jim Weisbin <email@hidden>
- Date: Tue, 16 Dec 2014 14:28:09 -0500
I want to make the ASObjC Runner portable by embediing it in the script’s app bundle, so I don’t have to worry about installing it on everyone’s computer.
So I am doing this:
set the_path to (path to me) as string set the_path to the_path & "Contents:Resources:" set ASOBJC to the_path & "ASObjC Runner.app"
tell application ASOBJC activate end tell
tell application "ASObjC Runner”
etc…..
This seems to work fine, any down side? Is there a better way to do it?
Thanks.
Jim Weisbin | C.T.O. | human | 138 Fifth Avenue | 3rd Floor | New York, NY | 10011 | (212) 352-0211 | (917) 375-2272 | Los Angeles Office | 2046 Broadway | Santa Monica, CA | 90404 | (310) 264-0211 telephone | www.humanworldwide.com
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden