Re: Font book scripts in 10.8.x? Is this another sandboxing issue?
Re: Font book scripts in 10.8.x? Is this another sandboxing issue?
- Subject: Re: Font book scripts in 10.8.x? Is this another sandboxing issue?
- From: Nigel Garvey <email@hidden>
- Date: Thu, 22 Aug 2013 12:02:01 +0100
Alex Zavatone wrote on Wed, 21 Aug 2013 16:23:05 -0400:
[Top posting corrected]
>On Aug 21, 2013, at 3:26 PM, Nigel Garvey wrote:
>
>> Alex Zavatone wrote on Tue, 20 Aug 2013 16:09:01 +0000 (GMT):
>>
>>> I just had to use a temp Mac for a while and while trying to run the
>> Create
>>> Font Sample font book script under 10.8.x, When it completes, it
>> displays
>>> this in TextEdit:
>>>
>>> Font Samples - 0 families 0 typefaces
>>>
>>> Things like this are really frustrating when using a new version of
the
>> OS,
>>> because they used to work in the older one, and it wastes people's
time.
>>
>> As Yvan's already pointed out, the script does work in 10.8.x,
provided
>> you're expecting it to do what it does: create a TextEdit document
>> containing examples of fonts currently selected in FontBook.
>Actually, it doesn't.
>
>It does select the All Fonts collection.
>
>It does not select all the fonts within that collection.
>
>Open up Font Book on 10.8.x and make sure nothing is selected. Press
>Command A.
>
> All items are selected under Collection.
>
>Open up Font Book on 10.6.x and make sure nothing is selected. Press
>Command A.
>
> All fonts under fonts are selected.
>
>The lines of code are:
>
>set selectedFamilies to selected font families
>set selectedTypefaces to selection
>
>The fonts aren't selected under 10.8.x, so this can't work unless the
>code is changed, or you have manually selected all the fonts first.
• The script's identical in my Mountain Lion, Leopard, and Tiger
installations.
• It works equally well and in the same way in both Mountain Lion and
Leopard and so presumably in Snow Leopard and Lion too.
• It does not select any fonts ('font families') itself. That's for the
user to do. There'd be no point in bothering with the selection
otherwise.
• Any minor changes in what happens when Command-A's pressed are
therefore irrelevant in the context of the supplied script.
• Sandboxing is obviously off the hook too.
• Either you're used to using a customised version of the script or the
matter is indeed, on this list, a waste of people's time.
NG
_______________________________________________
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