• 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: Including Extensions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including Extensions


  • Subject: Re: Including Extensions
  • From: Gunnar H Reichert-Weygold <email@hidden>
  • Date: Fri, 7 Jun 2002 15:22:44 -0700

On Friday, June 7, 2002, at 04:25 AM, Sander Tekelenburg wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 22:36 -0700 UTC, on 06-06-2002, Gunnar H Reichert-Weygold wrote:

If I include commands from an extension and wish to send the resulting
script to someone, do I need to include the extension?

Or - hopefully - does the compile process include all necessary code in
the compiled script?

I don't know what you mean with "extension". If you mean "Scripting Addition"
[aka "OSAX"], then no, it doesn't (automatically) become part of your script.
Consider it similar to scripting an application - the application will not
become part of your script.

Sorry - that's exactly what I meant. What I'm concerned with is OSAXEN (I suppose that's the right spelling?) that are purchased.

There apparently are ways to embed a Scripting Addition in an applet, but
I've never done this. I believe Bill Cheeseman may have something to say
about it at <http://www.applescriptsourcebook.com>. If you decide to take
this route, make sure to first check with the Scripting Addition's author if
you are entitled to do this!

Personally, for distributed scripts/applets, I prefer to not make them
dependant upon third-party Scripting Additions. I may make use of them if
they are available, but always try to have my scripts fall back gracefully
when the Scripting Addition is not available. In that case, either the script
will use a slower vanilla AS routine, or some functionality will simply not
be available. I mention this in the documentation, and point to places where
people can download the Scripting Addition. I may even add a routine to the
script that checks for the availability of the Scripting Addition, and if it
isn't, inform the user.


HTH


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPQCYLusywKfXgqKdEQLVVQCcDzMaAXv/EuX8sXHR27XuHsH2hW4AoOrH
460mZ/Q2og0miP2xDMRyJrZ/
=PiXk
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
_______________________________________________
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.




---------
Programming is a Dark Art, and it will always be. The programmer is fighting against the two most destructive forces in the universe: entropy and human stupidity.
_______________________________________________
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: 
 >Re: Including Extensions (From: Sander Tekelenburg <email@hidden>)

  • Prev by Date: Re: Text Encoding Convertions
  • Next by Date: Re: >32K classic script editing ?
  • Previous by thread: Re: Including Extensions
  • Next by thread: RE: Including Extensions
  • Index(es):
    • Date
    • Thread