• 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: AppleScript, Pages and Text boxes (part 1)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript, Pages and Text boxes (part 1)


  • Subject: Re: AppleScript, Pages and Text boxes (part 1)
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 18 Mar 2010 22:39:55 -0700

>
> Some kind of terminology conflict, perhaps?

Yes, that is it.  The property 'single color' appears in two places in the Pages dictionary and it has a different AE code in each place
This will compile and work once, when you compile a second time it will fail.
tell application "Pages"
  tell document 1

    tell page 1
      tell text box 1
        «property pSFC»
        --single color
      end tell
    end tell
  end tell
end tell

This is from Script Debugger dictionary display with the option to show raw codes:

text box (noun), pl text boxesA text box.«class cTxB»

single color«property pSFC»  get/set  color  The color for single color fill.

shape (noun), pl shapesA shape.«class cShp»

single color«property pFlC»  get/set  color  The color for single color fill.


Looks like a bug to me!

ES _______________________________________________
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: AppleScript, Pages and Text boxes (part 1)
      • From: Yvan KOENIG <email@hidden>
References: 
 >AppleScript, Pages and Text boxes (part 1) (From: Yvan KOENIG <email@hidden>)
 >Re: AppleScript, Pages and Text boxes (part 1) (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: AppleScript, Pages and Text boxes (part 1)
  • Next by Date: Re: AppleScript, Pages and Text boxes (part 1)
  • Previous by thread: Re: AppleScript, Pages and Text boxes (part 1)
  • Next by thread: Re: AppleScript, Pages and Text boxes (part 1)
  • Index(es):
    • Date
    • Thread