• 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: FastScripts and script editor discrepancies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FastScripts and script editor discrepancies


  • Subject: Re: FastScripts and script editor discrepancies
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 22 Jun 2016 23:34:26 +1000

On 22 Jun 2016, at 9:52 PM, Shane Stanley <email@hidden> wrote:
>
> I don't know *why*, but I know what: the FastScripts dialog is using monospaced numerals, and the other one isn't.

So there's a reference from WWDC 2015 about this, but I think it's a little more involved. Here's my guess.

In 10.11, Apple introduced new ways for specifying a system font. As well as being able to choose a range of weights, rather than just regular and bold, an app can also choose to use monospaced digits. If it doesn't choose the latter, it still gets the original style.

But if an application was linked against an SDK earlier than 10.11, when there was no choice, they now get the monospaced version anyway when running under 10.11. And "display dialog" presumably inherits the host's behavior.

So I suspect FastScripts is linked against an older SDK, hence the monospaced defaults, but the behavior is not inherited when the host has been linked against 10.11, as with Script Editor/Script Debugger/Finder/etc.

The easy way to check is to run a script like this:

 display dialog "2121212"

In Script Debugger, choose Script -> Default Target to try different host apps. In Script Editor, you can use the "tell" popup menu, although that only displays apps you've added to its library.


--
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


  • Follow-Ups:
    • Re: FastScripts and script editor discrepancies
      • From: Christopher Stone <email@hidden>
    • Re: FastScripts and script editor discrepancies
      • From: Phil Stokes <email@hidden>
References: 
 >Re: Script Libraries (From: Jim Underwood <email@hidden>)
 >Re: Script Libraries (From: Shane Stanley <email@hidden>)
 >Re: Script Libraries (From: Jim Underwood <email@hidden>)
 >Re: Script Libraries (From: Shane Stanley <email@hidden>)
 >Re: Script Libraries (From: Jim Underwood <email@hidden>)
 >Re: Script Libraries (From: Shane Stanley <email@hidden>)
 >Re: Script Libraries (From: Jim Underwood <email@hidden>)
 >FastScripts and script editor discrepancies (From: 2551phil <email@hidden>)
 >Re: FastScripts and script editor discrepancies (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: FastScripts and script editor discrepancies
  • Next by Date: Re: FastScripts and script editor discrepancies
  • Previous by thread: Re: FastScripts and script editor discrepancies
  • Next by thread: Re: FastScripts and script editor discrepancies
  • Index(es):
    • Date
    • Thread