Re: Ragtime
Re: Ragtime
- Subject: Re: Ragtime
- From: Juergen Schell <email@hidden>
- Date: Wed, 24 Jul 2002 16:19:30 +0200
Just took a look at Ragtime (Solo version).
Quite impressive features (such as live graphs that change as the
spreadsheet changes), but I'm not convinced it meshes with a
publication workflow. (I don't see provisions for Spot and CMYK
colors for example.)
Anybody have experience scripting this in a professional setting?
George
Creation of a color style sheet in RagTime (aka global color in Illustrator)
tell application "RagTime 5"
tell document 1
make new named color with properties ,
{name:"Lab-Red", kind:process, color:{LabL:50,
Laba:80, Labb:80}} at end
end tell
end tell
This would create a color style sheet using the Lab color model.
Actually you simply decide the color model by using the appropriate
coordinate names in the color record.
Examples for the models RagTime supports:
color: {LabL:80, Laba:-50, Labb:-60}
color: {red:0.0, green:82.0, blue:100.0}
color: {cyan:55.0, magenta:0.0, yellow:6.0, black:0.0}
(Of course it does not make sense to mix color types in one record).
With Lab, values for Luminance are in the range 0 .. 100, the two
color values a and b are in the range -127 .. +128.
Components of RGB colors and CMYK colors are given in percent, i.e.
ranging from 0.0 to 100.0.
Values for RGB and CMYK are floating point, Lab values are integer.
In the AppleScript dictionary, you will find the following properties
for a named color:
kind: registration/transparent/process/spot/plate
overprinting: boolean
An example for this:
tell application "RagTime 5"
tell document 1
make new named color with properties ,
{name:"Blue", kind:spot, color:{cyan:80.0,
magenta:30.0, yellow:6.0, black:0.0} ,
, overprinting:true} at end
end tell
end tell
This creates a spot color using a CMYK replacement when printed on a
color printer or the spot to process option is used in separation.
J|rgen
J|rgen Schell
RagTime GmbH Tel: [49] (2103) 9657-0
Itterpark 5 Fax: [49] (2103) 9657-96
D-40724 Hilden
mailto:email@hidden
Germany
http://www.RagTime-online.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.