ApplescriptFormatting
ApplescriptFormatting
- Subject: ApplescriptFormatting
- From: Robert Poland <email@hidden>
- Date: Thu, 4 Aug 2005 12:01:41 -0600
Hi,
The following script doesn't seem to work anymore. Gets parameter
error at all "set AppleScript formatting to...".
OS 10.4,2.
Is there a cure?
Tia,
(*
ApplescriptFormatting - 1/7/03 - needs AppleScript Formatting osax
*)
set theFont1 to "Courier"
set theFont2 to "Verdana"
set AppleScript formatting to {uncompiled text
style:{font:"theFont1", size:10, style:{}, color:{32768, 0, 32768}}}
set AppleScript formatting to {normal text style:{font:"theFont2",
size:10, style:{}, color:{0, 0, 0}}}
set AppleScript formatting to {language keyword style:{font:theFont2,
size:10, style:{bold}, color:{65535, 0, 0}}} -- the style for
AppleScript keywords
set AppleScript formatting to {application keyword
style:{font:theFont2, size:10, style:{}, color:{0, 0, 65535}}} -- the
style for terms defined by applications
set AppleScript formatting to {comment style:{font:theFont2, size:9,
style:{}, color:{19660, 19960, 19960}}}
set AppleScript formatting to {literal style:{font:theFont2, size:10,
style:{}, color:{0, 0, 0}}} -- the style for literal values (numbers,
strings, lists, etc.)
set AppleScript formatting to {user symbol style:{font:theFont2,
size:10, style:{bold}, color:{16384, 32768, 0}}} -- the style for
user-defined symbols (variables, subroutine names, etc.)
set AppleScript formatting to {reference style:{font:theFont2,
size:10, style:{}, color:{32768, 0, 32768}}}
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden