• 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: Yvan KOENIG <email@hidden>
  • Date: Thu, 18 Mar 2010 19:12:12 +0100


Le 18 mars 2010 à 18:40, Stockly, Ed a écrit :

I don’t have Pages here at work, but I seem to remember something like this:

Set maybe to singleColor of properties of text box I

Set singleColor of properties of text box I to maybe

Or

Tell properties of text box I
Set maybe to singleColor  

Set singleColor  to maybe

end

Thank for trying.
These where the first things which I tried.

tell application "Pages" to tell document 1
set nbTextBoxes to count of text box
repeat with i from 1 to nbTextBoxes
try
get single color of properties of text box i
on error errmsg
tell properties of text box i
set maybe to single color
end tell
end try
end repeat
end tell

Alas, they failed !

tell application "Pages"
count every text box of document 1
1
get single color of properties of text box 1 of document 1
get single color of properties of text box 1 of document 1
"Erreur dans Pages : Impossible de transformer single color of properties of text box 1 of document 1 en type reference."

Yvan KOENIG (VALLAURIS, France) jeudi 18 mars 2010 19:11:46





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