Skip to main content
Inspiring
April 5, 2025
Question

Scripting appearance, 2 fills, second with offset path

  • April 5, 2025
  • 1 reply
  • 358 views

Hi,

it's possible to script, appearance, 2 fills, second with offset path ?

 

Already played with LiveEffect, without success 

var string = '<LiveEffect name="Adobe Offset Path">' +
'<Dict data="I jntp 0 R mlim 4 R ofst 0.283"/>' +
'</LiveEffect>';
app.selection[0].applyEffect(string);

Action do not record offset path

1 reply

Legend
April 5, 2025

Try to make them all into one graphic style and apply/merge them.

siomospAuthor
Inspiring
April 6, 2025

Thank you, but I want to run the script to new doc, not having any graphic styles!

Legend
April 6, 2025

Is it possible to create the graphic style in another document beforehand and copy it to the new document?