Hi all, i'm an applescript noob and i began to learn its basics to automate some tricky tasks of my daily work.
I wrote a very simple code - and it actually works - , but i need to refine it.
Here it is:
tell application "Adobe InDesign CC 2014"
tell active document
tell every master spread
tell every page to make rectangle with properties {stroke weight:0, absolute horizontal scale:1, absolute vertical scale:1, fill color:"Paper", transparency settings:{blending settings:{opacity:0.1}}}
end tell
end tell
end tell
This script automatically places my rectangle somewhere on the top left corner - why? - of every page; i tried it on another mac but it doesn't work as well, because the rectangle appears outside the page.
So, is there a way to tell my rectangle to, for example, snap to the top margin of every page, in the middle? This way there shouldn't be problems anymore...
Hope to find a way, thanks all.
Alessandro