Skip to main content
Inspiring
Apr 5, 2025 10:09 PM UTC
Question

Scripting appearance, 2 fills, second with offset path

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

4 replies

Legend
Apr 5, 2025 10:21 PM UTC

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

Translate
siomospAuthor
Inspiring
Apr 6, 2025 6:17 AM UTC

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

Translate
Legend
Apr 6, 2025 6:59 AM UTC

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

Translate