Re: Create Incopy assignment
Re: Create Incopy assignment
- Subject: Re: Create Incopy assignment
- From: Shane Stanley <email@hidden>
- Date: Fri, 30 May 2008 21:13:00 +1000
- Thread-topic: Create Incopy assignment
On 30/5/08 8:10 PM, "Antonino Petriliggieri" <email@hidden> wrote:
> the dictionary list those properties as r/o
One of the quirks of AppleScript is that sometimes "read only" properties
can be written to at object creation time. For example, an InDesign library
has a read-only 'full name' property, but you can't create one without
setting the property.
And, indeed, I think the same holds here.
But the error you're seeing might well be because you're trying to make an
assignment in an unsaved InDesign file -- as in the UI, you can't do that.
But if you save a file and run this:
tell application "Adobe InDesign CS3"
tell document 1
make new assignment
end tell
end tell
You should get the following, more useful, error message:
--> Missing required parameter 'file path' for event 'make'.
--
Shane Stanley <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden