Re: Weird behavior of text in Pages
Re: Weird behavior of text in Pages
- Subject: Re: Weird behavior of text in Pages
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 31 Jul 2014 10:36:15 -0700
- Thread-topic: Weird behavior of text in Pages
Title: Re: Weird behavior of text in Pages
On 7/31/14, 1:43 AM, "koenig.yvan" <email@hidden> wrote:
But in real life, trying to get image's properties issue an error number -10000
In fact I identified it because I got the same error when I asked :
get properties of iWork items
which is a perfectly valid instruction.
It's only a valid instruction if the dictionary implements the 'properties' property of a class, by name, which this class apparently does not do, from what you have quoted of its dictionary entry. 'properties' is a not a built-in way of getting them all, even though it is a subheader in the dictionary (along with elements) for all class listings. It has to be implemented as a specific property of its own. Once upon a time, there were really very few classes that had these, but most of the OS X Cocoa Apple apps do have a 'properties' property for most classes, I've noticed, even when there may be only two or three other properties. This particular 'image' class in iWork does not have a 'properties' property, it seems. (I don't have iWork, so I'm relying on your excerpt.)
--
Paul Berkowitz
_______________________________________________
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