• 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: Formatting fonts - Update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatting fonts - Update


  • Subject: Re: Formatting fonts - Update
  • From: Robert Poland <email@hidden>
  • Date: Mon, 03 Nov 2014 09:02:43 -0700

Emmanuel,

The script runs from Smile but gives the error, below, when run from Applescript Editor.

.Emmanuel,

Looks like a useful addition,

However with Yosemite I get an Syntax Error, Expected “:” but found property And the first occurrence of size highlighted.

Should this script be directed toward an Application?

> On Nov 3, 2014, at 7:17:AM, Emmanuel LEVY <email@hidden> wrote:
>
> This may be only partially true.
>
> For instance, here a script I run whenever I install a new machine, to set Applescript's text formats.
>
> --------
> set theformats to {{font:"Lucida Grande", text size:11.0, style:{}, color:{9993, 9993, 9993}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{41, 0, 0}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{19835, 36752, 10829}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{0, 32767, 4528}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{31999, 31999, 31999}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{56682, 2241, 16137}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{0, 26, 0}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{59999, 0, 0}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{0, 21747, 36474}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{0, 0, 65535}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{0, 0, 65535}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{27745, 1206, 54283}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{19130, 7761, 32626}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{0, 5668, 45210}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{0, 5670, 45210}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{0, 5671, 45210}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{17401, 5414, 45323}}, {font:"Lucida Grande", text size:11.0, style:{}, color:{9781, 4600, 20973}}}
>
> repeat with i from 1 to (count theformats)
> 	set ASFormat i to contents of item i of theformats
> end repeat
> --------
>
> Best,
> Emmanuel
>
>
> On Nov 3, 2014, at 2:34 PM, Robert Poland wrote:
>
>> Hi,
>>
>> I understand that to format the fonts in Smile I need to set them in Applescript Editor preferences, and apply them.
>>
>> What I don’t understand is why I need to do this over and over again. The changes never last.
>>
>> Is there a patch, or, to fix this Yosemite(?) “Feature"?
>>
>> TIA,
>>
>> Robert Poland
>> iMac, Late 2013, 14,2
>> 3.2 GHz Intel Core I5, 27”
>> 16 GB Ram, 1TB Fusion HD
>> OS X 10.10

Robert Poland
Fort Collins CO


 _______________________________________________
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


References: 
 >Formatting fonts (From: Robert Poland <email@hidden>)
 >Re: Formatting fonts (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: Formatting fonts
  • Next by Date: Re: Formatting fonts
  • Previous by thread: Re: Formatting fonts
  • Next by thread: Re: Formatting fonts
  • Index(es):
    • Date
    • Thread