• 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
use vs. Scripting Additions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

use vs. Scripting Additions


  • Subject: use vs. Scripting Additions
  • From: Mitchell L Model <email@hidden>
  • Date: Sat, 28 May 2016 19:13:17 -0400

This has probably been discussed before on this list, but maybe this reminder will be useful to some people. I started using “use” instead of loading script libraries by path into properties. Some weird things started happened, but unfortunately quite bit after I had made that change to one of my scripts so I didn’t associate them with my change to “use". AppleScript  no longer understood commands as basic as “display alert”. Well, it turns out (10.10 and later) that once you have a “use” statement, the any Scripting Additions — Standard Additions in particular — will not get loaded unless you include
	use scripting additions
in your script. I don’t see any reason not to do that, especially as you are transitioning to using “use”,  because there’s a lot in Standard Additions that you are so used to using that you may not realize they aren’t in AppleScript per se.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: use vs. Scripting Additions
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: functions as sort of first class objects
  • Next by Date: functions as sort of first class objects
  • Previous by thread: Re: problems with permissions on TextEdit "make new doc"
  • Next by thread: Re: use vs. Scripting Additions
  • Index(es):
    • Date
    • Thread