Re: Scripts or example scripts for Pages?
Re: Scripts or example scripts for Pages?
- Subject: Re: Scripts or example scripts for Pages?
- From: KOENIG Yvan <email@hidden>
- Date: Fri, 27 Feb 2009 10:44:36 +0100
Le 27 févr. 2009 à 01:36:24, M Pulis a écrit :
I am looking for scripting example for Pages. My objective is a
mail-merge function. Trying to read the pages dictionary and
getting a bit lost as to implementing this properly.
Thanks!
As far as I know there is no provision to drive the merge feature
thru AppleScript.
So you will have to use GUIscripting which is odd.
My own track is to use my own merge scheme.
In the Pages document I insert my own merge fields defined like these
ones
<<Title>> <<Name>>
<<Address>>
<<Zip>> <<City>>
<<Email>>
<<Name>>
Then I uses a script grabbing datas from a Numbers document.
It insert the value where are stored merge fields.
At this time it uses and old code because it was built for iWork '08
whose Numbers was not scriptable.
Rebuilding it for iWork '09 is on my long todo list ;-)
You may get the beast from my idisk:
<http://idisk.me.com/koenigyvan-Public?view=web>
download:
For_iWork:For_Pages:fusion_dans_Pages.zip
You may also scan the public folder and download other scripts if you
wish.
Yvan KOENIG (from FRANCE vendredi 27 février 2009 10:44:11)
_______________________________________________
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