• 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: Deivy Petrescu <email@hidden>
  • Date: Fri, 19 Mar 2010 12:07:52 -0400


On Mar 19, 2010, at 6:11 AM, Yvan KOENIG wrote:


Le 19 mars 2010 à 06:39, email@hidden a écrit :

Looks like a bug to me!


THANK's


Same thing to me.

I will file a bug report.

I will continue to use Axel's scheme because with the raw format «property pSFC»
the instruction is automatically compiled as single color and if we must change something to the script, we must rewrite the raw format whichis a bit boring.

Yvan KOENIG (VALLAURIS, France) vendredi 19 mars 2010 11:11:08


Yvan, if you use outside the tell block you get what you want.
That is

tell application "Pages" to tell document 1
set nbTextBoxes to count of text box
repeat with i from 1 to nbTextBoxes
set bProps to (get properties of text box i)
end repeat
end tell
set maybe to get «class pSFC» of bProps
---> return what you want





Deivy Petrescu
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: 
 >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>)
 >Re: AppleScript, Pages and Text boxes (part 1) (From: "email@hidden" <email@hidden>)
 >Re: AppleScript, Pages and Text boxes (part 1) (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: OS 10.6 Set Current Printer not working
  • Next by Date: Re: OS 10.6 Set Current Printer not working
  • Previous by thread: Re: AppleScript, Pages and Text boxes (part 2)
  • Next by thread: Re: AppleScript, Pages and Text boxes (part 1)
  • Index(es):
    • Date
    • Thread