• 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: Weird behavior of text in Pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird behavior of text in Pages


  • Subject: Re: Weird behavior of text in Pages
  • From: "koenig.yvan" <email@hidden>
  • Date: Thu, 31 Jul 2014 10:43:33 +0200

Hello

While testing this behavior I discovered what smells like an other bug.
Run this script upon a Pages document embedding images.

tell application "Pages"
tell document 1
set iworkItems to every iWork item
repeat with anItem in iworkItems
try
get properties of anItem
end try
end repeat
end tell
end tell

The dictionary claims :
image n [inh. iWork item] : An image container
elements
contained by documents.
properties
description (text) : Text associated with the image, read aloud by VoiceOver.
file (file, r/o) : The image file.
file name (file or text) : The name of the image file.
opacity (integer) : The opacity of the object, in percent.
reflection showing (boolean) : Is the iWork item displaying a reflection?
reflection value (integer) : The percentage of reflection of the iWork item, from 0 (none) to 100 (full).
rotation (integer) : The rotation of the iWork item, in degrees from 0 to 359.

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.


Yvan KOENIG (VALLAURIS, France) jeudi 31 juillet 2014 10:43:28


 _______________________________________________
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

  • Follow-Ups:
    • Re: Weird behavior of text in Pages
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Weird behavior of text in Pages (From: "Stockly, Ed" <email@hidden>)
 >Re: Weird behavior of text in Pages (From: Deivy Petrescu <email@hidden>)
 >Re: Weird behavior of text in Pages (From: "koenig.yvan" <email@hidden>)
 >Re: Weird behavior of text in Pages (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Read a text file
  • Next by Date: Re: Weird behavior of text in Pages
  • Previous by thread: Re: Weird behavior of text in Pages
  • Next by thread: Re: Weird behavior of text in Pages
  • Index(es):
    • Date
    • Thread