Re: Recommendations for AppleScript Formatting
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