Skip to main content
Participant
June 12, 2024
Answered

How to Write a Script to Implement Changing Corners' "Rounding" to "Relative"

  • June 12, 2024
  • 1 reply
  • 618 views

I only know a bit of JavaScript and have tried to implement changing Corners' Rounding to Relative with the help of ChatGPT, but I can't get it to work.

 

I need to use it very often, and each time I have to tediously double-click and then click Relative, or tediously click in a far away toolbar.

 

The effect I'm trying to achieve in ChatGPT is to change to Relative when there are more than 2 anchors selected, when the angle is less than 90 degrees, and when Rounding is Absolute.

 

This topic has been closed for replies.

1 reply

m1b
Community Expert
Community Expert
June 12, 2024

Hi @gd35128839wl6a, sadly Illustrator's scripting API does not give us access to "corner radius" or related options.

- Mark

gd35128839wl6aAuthorCorrect answer
Participant
June 12, 2024