Re: AppleScript, Pages and Text boxes (part 1)
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
|
_______________________________________________
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