Shane-
When I do “ tell document preferences of document myDoc”
InDesign quits.
Any other ideas?
tell document preferences of document myDoc
set document slug uniform size to false
set slug top offset to "1.0i"
set slug bottom offset to "0i"
set slug inside or left offset to slugValue
set slug right or outside offset to slugValue
end tell
Thanks,
---------------
Karen Nielsen
IT Project Manager
schmidt
print solutions that deliver
ph | 507.775.7308
fx | 507.775.6655
FSC Certified Printer
From: applescript-users-bounces+ksnielsen=email@hidden [mailto:applescript-users-bounces+ksnielsen=email@hidden] On Behalf Of Shane Stanley
Sent: Monday, August 27, 2012 5:54 PM
To: AS users
Subject: Re: InDesign CS6 Document Preferences
On 28/08/2012, at 7:02 AM, "Nielsen, Karen S. (Schmidt)" <email@hidden> wrote:
That line suggests myDoc is the name of a document -- a string.
tell document preferences of myDoc
If myDoc is a string, that won't work -- you will get the error you describe. Change it to:
tell document preferences of document myDoc