I'm helping a friend transition to a new iBook running OS10 from her old
iMac running OS9. One of the few issues remaining is address labels. She
was using an AppleScript that would print address labels based on the
selected entries in her address book. This script requires Akua Sweets,
which I cannot get to load on her OS10 box (I keep getting a message about
needing "classic" loaded).

Our first attempt to get around this was to use the MailMerge feature of
Word X, but it doesn't meet her needs because the MailMerge seems to only
account for a contact being in a single category and the Export Entourage X
script uses delimiters that MailMerge doesn't recognize, so we're back to
square one. I'm a proficient programmer on the PC platform, but have not
done any programming for Mac. My thought is that I need a script to do the
following:

1. Delete a certain file if it already exists
2. Create an empty file
3. Write each selected contact (with delimiters that can be recognized by
MailMerge) out to the file
4. Kick off Word opening a new document based on a template with the
MailMerge set to read the desired file

Can anybody help get me there or give a better suggestion?

Re: Label question by Paul

Paul
Mon Nov 10 01:50:45 CST 2003

On 11/9/03 2:57 PM, in article ezhSUTxpDHA.2592@TK2MSFTNGP10.phx.gbl, "Kyle
Burns" <kyle.REMOVE.INVALID.ADD.AT.CaliberIS.com> wrote:

> I'm helping a friend transition to a new iBook running OS10 from her old
> iMac running OS9. One of the few issues remaining is address labels. She
> was using an AppleScript that would print address labels based on the
> selected entries in her address book. This script requires Akua Sweets,
> which I cannot get to load on her OS10 box (I keep getting a message about
> needing "classic" loaded).
>
> Our first attempt to get around this was to use the MailMerge feature of
> Word X, but it doesn't meet her needs because the MailMerge seems to only
> account for a contact being in a single category and the Export Entourage X
> script uses delimiters that MailMerge doesn't recognize, so we're back to
> square one. I'm a proficient programmer on the PC platform, but have not
> done any programming for Mac. My thought is that I need a script to do the
> following:
>
> 1. Delete a certain file if it already exists
> 2. Create an empty file
> 3. Write each selected contact (with delimiters that can be recognized by
> MailMerge) out to the file
> 4. Kick off Word opening a new document based on a template with the
> MailMerge set to read the desired file
>
> Can anybody help get me there or give a better suggestion?

I did not adapt the "Office for Office" (NOT Export) scripts for Office v. X
because they're not necessary. Data Merge Manager in Word does allow you to
select contacts in the Address Book in Word. At the very end of the Data
Merge process, click Query button on the bottom. That allows you to select a
category. You can then go through the Address Book window that has come up,
and select (or deselect) individual contacts as well.

If there are too many in the second category to add individually
comfortably, then make a combined category in Entourage first. First make a
new category "Combined Cat" (or whatever). Then make a new Custom View , or
Advanced Find, of Contacts (only)

matching if ANY criteria are met

and specify

Category is cat1
Category is cat2

Now you'll have a list of all contacts of both categories. Select them all
(cmd-A). click on the category column, and click "Assign Category..." so the
big Categories window comes up. Check "Combined Cat", but do NOT check the
box at the bottom that assigns the Primary category. That way they'll keep
the color of their usual category. Click OK.

Back in Word, do the Merge and select "Combined Cat" as the category in
Query. That will do it.


--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: http://www.entourage.mvps.org/toc.html

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Entourage you are using - 2001 or X.
It's often impossible to answer your questions otherwise.


Re: Label question by Kyle

Kyle
Mon Nov 10 04:20:53 CST 2003

Thanks for the reply, Paul. I'll try to get her to go with the merged
categories. Unfortunately, she's not very comfortable with her ability to
perform multi-step operations and she wants me to find her a way to print
labels that was as simple as your script on her old Mac.


"Paul Berkowitz" <berkowit@spoof_silcom.com> wrote in message
news:BBD48355.47788%berkowit@spoof_silcom.com...
> On 11/9/03 2:57 PM, in article ezhSUTxpDHA.2592@TK2MSFTNGP10.phx.gbl,
"Kyle
> Burns" <kyle.REMOVE.INVALID.ADD.AT.CaliberIS.com> wrote:
>
> > I'm helping a friend transition to a new iBook running OS10 from her old
> > iMac running OS9. One of the few issues remaining is address labels.
She
> > was using an AppleScript that would print address labels based on the
> > selected entries in her address book. This script requires Akua Sweets,
> > which I cannot get to load on her OS10 box (I keep getting a message
about
> > needing "classic" loaded).
> >
> > Our first attempt to get around this was to use the MailMerge feature of
> > Word X, but it doesn't meet her needs because the MailMerge seems to
only
> > account for a contact being in a single category and the Export
Entourage X
> > script uses delimiters that MailMerge doesn't recognize, so we're back
to
> > square one. I'm a proficient programmer on the PC platform, but have
not
> > done any programming for Mac. My thought is that I need a script to do
the
> > following:
> >
> > 1. Delete a certain file if it already exists
> > 2. Create an empty file
> > 3. Write each selected contact (with delimiters that can be recognized
by
> > MailMerge) out to the file
> > 4. Kick off Word opening a new document based on a template with the
> > MailMerge set to read the desired file
> >
> > Can anybody help get me there or give a better suggestion?
>
> I did not adapt the "Office for Office" (NOT Export) scripts for Office v.
X
> because they're not necessary. Data Merge Manager in Word does allow you
to
> select contacts in the Address Book in Word. At the very end of the Data
> Merge process, click Query button on the bottom. That allows you to select
a
> category. You can then go through the Address Book window that has come
up,
> and select (or deselect) individual contacts as well.
>
> If there are too many in the second category to add individually
> comfortably, then make a combined category in Entourage first. First make
a
> new category "Combined Cat" (or whatever). Then make a new Custom View ,
or
> Advanced Find, of Contacts (only)
>
> matching if ANY criteria are met
>
> and specify
>
> Category is cat1
> Category is cat2
>
> Now you'll have a list of all contacts of both categories. Select them all
> (cmd-A). click on the category column, and click "Assign Category..." so
the
> big Categories window comes up. Check "Combined Cat", but do NOT check the
> box at the bottom that assigns the Primary category. That way they'll keep
> the color of their usual category. Click OK.
>
> Back in Word, do the Merge and select "Combined Cat" as the category in
> Query. That will do it.
>
>
> --
> Paul Berkowitz
> MVP Entourage
> Entourage FAQ Page: http://www.entourage.mvps.org/toc.html
>
> Please "Reply To Newsgroup" to reply to this message. Emails will be
> ignored.
>
> PLEASE always state which version of Entourage you are using - 2001 or X.
> I