• 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: Recommendations for AppleScript Formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recommendations for AppleScript Formatting


  • Subject: Re: Recommendations for AppleScript Formatting
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 26 Oct 2001 13:47:37 +1000

On 26/10/01 1:28 PM +1000, Ehsan Saffari, email@hidden, wrote:

> would be nice if font, size, and text styles were modifiable too.

Under X, they're stored in
Users:<Username>:Library:Preferences:com.apple.applescript.plist like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM
"file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>AppleScriptTextStyles</key>
<array>
<string>Courier;p;12;0 0 0</string>
<string>Geneva;p;10;0 0 21845</string>
<string>Geneva;b;10;0 26214 0</string>
<string>Geneva;b;10;26214 13107 0</string>
<string>Geneva;i;10;0 0 0</string>
<string>Geneva;p;10;39321 0 26214</string>
<string>Verdana;p;10;43690 0 0</string>
<string>Geneva;p;10;39321 26214 0</string>
</array>
</dict>
</plist>

It should be easy enough to modify that file using read/write commands.

(And yes, the above is a pretty bad set...)

--
Shane Stanley, email@hidden


  • Prev by Date: Re: Recommendations for AppleScript Formatting
  • Next by Date: Re: Recommendations for AppleScript Formatting
  • Previous by thread: Re: Recommendations for AppleScript Formatting
  • Next by thread: Re: Recommendations for AppleScript Formatting
  • Index(es):
    • Date
    • Thread