• 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
ASObjC Runner, embedded in app bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: ASObjC Runner, embedded in app bundle
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Why O why is speech needed?
  • Next by Date: Re: Why O why is speech needed?
  • Previous by thread: Re: Why O why is speech needed?
  • Next by thread: Re: ASObjC Runner, embedded in app bundle
  • Index(es):
    • Date
    • Thread