Copy link to clipboard
Copied
Hi all,
I have a simple applescript below that gets me the margin information of an InDesign page I have open.
The problem is, if I create a page and then change the margins at a later stage, the margins only ever return the original value. Is there any way to get the 'live' value of the margins actually present on the page?
Thanks!
tell application id "com.adobe.InDesign"
tell active document
tell margin preferences
set MarginTop to top
set MarginLeft to left
set MarginBottom to bottom
set MarginRight to right
end tell
end tell
end tell
Hi Lucas,
margin preferences are available for application, document and page.
Right now you are looking at the preferences for document.
Regards,
Uwe Laubender
( ACP )
Copy link to clipboard
Copied
Hi Lucas,
margin preferences are available for application, document and page.
Right now you are looking at the preferences for document.
Regards,
Uwe Laubender
( ACP )
Copy link to clipboard
Copied
Thanks so much Laubender!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now