Search code examples
applescriptborderadobe-illustratorstroke

How to add stroke to text frame in Illustrator using Applescript?


set mytexts to make new text frame with properties {contents:"Annonation " & g & ":" & param_Text, kind:area text, position:{(-150), (new_Var)}, width:(checkValue3 - checkValue1), name:"notes"}

Above code is used to create text in Illustrator using Applescript. How to add stroke or border to the created text frame. Any references or advice is highly appreciated.


Solution

  • Text Path.

    set properties of text path of mytexts to {stroked:true, stroke width:0.1}