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: "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