Skip to main content
Participant
March 19, 2010
Question

applescript for mixed ink

  • March 19, 2010
  • 1 reply
  • 417 views

Hi,

I want to be able to make mixed inkt swatches from an applescript.

Can anyone help to correct or  this script?

Tnx

tell application "Adobe InDesign CS3"

tell document 1

set mylist to {"Process Cyan, Process Magenta, Process Yellow, Process Black, Orange, Green"}

set myvalue to {"10, 10, 10, 10, 10"}

set myColor to make color with properties {name:"color_1", space:MixedInk, ink list:mylist, ink percentages:myvalue}

end tell

end tell

This topic has been closed for replies.

1 reply

Inspiring
March 19, 2010

Try this:

tell application "Adobe InDesign CS4"

tell document 1

set mylist to {ink "Process Cyan", ink "Process Magenta", ink "Process Yellow", ink "Process Black", ink "Green", ink "Orange"}

set myvalue to {10, 10, 10, 10, 10, 10}

set myColor to make mixed ink with properties {name:"color_1", model:mixedinkmodel, space:MixedInk, ink list:mylist, ink percentages:myvalue}

end tell

end tell


--

Shane Stanley <sstanley@myriad-com.com.au>

AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>

Participant
March 22, 2010

Tnx Shane,

It is working fine now.