Skip to main content
dublove
Legend
Aug 17, 2025 4:43 AM UTC
Question

How do I set the displacement to 0 in the annotation settings using a script?

Is it called annotation settings (Or caption settings)?

I want to set the displacement data to 0.

3 replies

Kasyan Servetsky
Legend
Aug 17, 2025 8:04 AM UTC

I believe this property is not accessible to scripting, but I found a workaround here by rob day.

I didn't test it, but as I can see, the approach is: first — invoke the menu, then — set the text frame's insetSpacing property (the 1st element of the array for the top offset).

Translate
dublove
dubloveAuthor
Legend
Aug 17, 2025 9:53 AM UTC

@Kasyan Servetsky 

@rob day 

It's so complicated...
I only changed one displacement setting.
I don't seem to have found it either.

Translate