Hi, i'm looking everywhere and i can't find it. How can i script a corner effect, rounded at .0625" with InDesign CS4?
this doesn't work because it is too round. I need .0625.
I am using the jongware scripting guide.
Try this below js code:
//convertShape (given, numberOfSides, insetPercentage, cornerRadius)
app.selection.convertShape(ConvertShapeOptions.CONVERT_TO_ROUNDED_RECTANGLE, 3, 2, 2)
Thanks to both of you, it now works. This guide is awsome! I wish i could give you both correct answer but i am still learning and i coundn't pull it off just looking at the guide. I will study hard though