• 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
El Capitan
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

El Capitan


  • Subject: El Capitan
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 01 Oct 2015 10:16:07 +1000

In case you've missed them, the official release notes are here: <https://developer.apple.com/library/mac/releasenotes/AppleScript/RN-AppleScript/RN-10_11/RN-10_11.html>

There are a few other issues worth noting.

First, it looks like the activate command is back to working like it was before Yosemite.

Second, there's been an improvement in the progress dialog that appears when you run an applet and set the various progress properties. The problem in Yosemite was that hitting the Stop button in the dialog would stop a script immediately, with no opportunity to do any clean-up. Now it generates an error that you can trap in your script, allowing you to end things gracefully. The dialog still lays itself out in a rather lame manner, so if you have long lines you need to wrap them yourself (the left side of the dialog is pinned near the centre of the screen, but it can grow indefinitely to the right). But the change to the Stop button makes it much more usable.

Third, there's been a fix for a bug involving AppleScriptObjC that would manifest itself in script editors when testing scripts. Sometimes an editor would crash after running a script three or four times, for no apparent reason. That no longer happens.

And fourth, there have been some updates to bring the AppleScript Language Guide more up to date. It's still got some out-of-date stuff in it, but it's a start.

The release notes mention that NSURLs are bridged to aliases. Actually, you can use "as" to convert them to POSIX files or aliases (the latter only if they exist, obviously), and in the case of NSURLs in dictionaries or arrays, they get converted to POSIX files when converted, not aliases.

In the scheme of things, this looks a pretty good release for AppleScript. The bug fixes cover several common aggravations, and reliable folder actions will make a nice change. The better bridging of structs may not mean much to a lot of people, but it opens up yet more capabilities for AppleScript. And the bridging of dates/NSDates and files/NSURLs will be a great convenience for AppleScriptObjC users.

The ability to install script libraries in any application bundle is also one to watch...

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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


  • Prev by Date: Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
  • Next by Date: [ANN] Update time
  • Previous by thread: Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
  • Next by thread: [ANN] Update time
  • Index(es):
    • Date
    • Thread