• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Create Incopy assignment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Create Incopy assignment (From: Antonino Petriliggieri <email@hidden>)

  • Prev by Date: Re: Targetting a specific Word version
  • Next by Date: Re: read file failing from an application bundle
  • Previous by thread: Re: Create Incopy assignment
  • Next by thread: Help
  • Index(es):
    • Date
    • Thread