Barry
Mon Sep 22 15:52:37 CDT 2003
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--B_3147112360_5914159
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: 8bit
First, a BIG WARNING - if you do this you are likely to lose data due to a
bug in entourage (see below)...
This script should accomplish what you want (I haven't checked it, but it
should work)
> tell application "Microsoft Entourage"
> set theAddresses to (every contact whose business address is {street
> address:"", city:"", state:"", zip:"", country:""} and home address is not
> {street address:"", city:"", state:"", zip:"", country:""} and default postal
> address is not home)
> set default postal address of theaddresses to home
> end tell
Now, the explanation...
If the entourage conduit is set up to have the default address as ?home¹,
you are likely to lose addresses. This is what happens...
Create a new contact in entourage, and put an address in the ?home¹ section.
The ?default address¹ gets changed automatically to ?home¹ and everything
works as planned.
Now, create a contact on the palm. Put the address into the palm¹s one and
only address slot. Sync once. The contact gets transferred to entourage, and
E obeys the conduit¹s preference to put the address into the default ?home¹
slot. But, the ?default address¹ property does NOT get reset it remains in
the programmes default of work. Sync a second time the empty work address
gets synced over to the palm (that¹s how entourage¹s preference is set,
right?). You now have a home address in Entourage and nothing in the palm.
Sync a third time the palm¹s empty address gets synced over to entourage,
obeying the conduit¹s preference to put it in the ?home slot, and
overwriting the actual address that is stored there. You now have the
contact on both palm and entourage both copies if which have no address
data at all!
--
Barry Wainwright
Microsoft MVP (see
http://mvp.support.microsoft.com for details)
Seen the Entourage FAQ pages? - Check them out:
<
http://www.entourage.mvps.org/toc.html>
> From: janne.wallin@telia.com (Janne Wallin)
> Organization:
http://groups.google.com/
> Newsgroups: microsoft.public.mac.office.entourage
> Date: 21 Sep 2003 14:06:25 -0700
> Subject: changing standard address
>
> How can I change the standard address in Entourage to be home address
> instead of work address as it is now without making the change in each
> and every one of my five hundred listings? Or to put it in another
> way: How can I make sure that the home address in Entourage is the
> address that shows up on my handheld (Palm m515)? Changing the setting
> in Palm's Conduit Manager doesn't to the job.
> Best,
> Janne
--B_3147112360_5914159
Content-type: text/html;
charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>Re: changing standard address</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:10.0px'>First=
, a <B>BIG WARNING </B>- <I>if you do this you are likely to lose data due t=
o a bug in entourage (see below)...<BR>
</I><BR>
This script should accomplish what you want (I haven't checked it, but it s=
hould work)<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYL=
E=3D'font-size:10.0px'>tell application "Microsoft Entourage"<BR>
set theAddresses to (every contact whose business a=
ddress is {street address:"", city:"", state:""=
;, zip:"", country:""} and home address is not {street a=
ddress:"", city:"", state:"", zip:""=
, country:""} and default postal address is not home)<BR>
set default postal address of theaddresses to home<=
BR>
end tell<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STY=
LE=3D'font-size:10.0px'><BR>
Now, the explanation...<BR>
If the entourage conduit is set up to have the default address as ‘ho=
me’, you are likely to lose addresses. This is what happens...<BR>
<BR>
Create a new contact in entourage, and put an address in the ‘home=
217; section. The ‘default address’ gets changed automatically t=
o ‘home’ and everything works as planned.<BR>
<BR>
Now, create a contact on the palm. Put the address into the palm’s on=
e and only address slot. Sync once. The contact gets transferred to entourag=
e, and E obeys the conduit’s preference to put the address into the de=
fault ‘home’ slot. But, the ‘default address’ proper=
ty does NOT get reset – it remains in the programmes default of work. =
Sync a second time – the empty work address gets synced over to the pa=
lm (that’s how entourage’s preference is set, right?). You now h=
ave a home address in Entourage and nothing in the palm. Sync a third time &=
#8211; the palm’s empty address gets synced over to entourage, obeying=
the conduit’s preference to put it in the ‘home slot, and overw=
riting the actual address that is stored there. You now have the contact on =
both palm and entourage – both copies if which have no address data at=
all!<BR>
<BR>
-- <BR>
Barry Wainwright<BR>
Microsoft MVP (see <a href=3D"
http://mvp.support.microsoft.com">http://mvp.su=
pport.microsoft.com</a> for details)<BR>
Seen the Entourage FAQ pages? - Check them out:<BR>
<a href=3D"
http://www.entourage.mvps.org/toc.html"><http://www=
.entourage.mvps.org/toc.html></a><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<FONT COLOR=3D"#0000FF">> From: janne.wallin@telia.com (Janne Wallin)<BR>
> Organization: <a href=3D"
http://groups.google.com/">http://groups.google=
.com/</a><BR>
> Newsgroups: microsoft.public.mac.office.entourage<BR>
> Date: 21 Sep 2003 14:06:25 -0700<BR>
> Subject: changing standard address<BR>
> <BR>
> How can I change the standard address in Entourage to be home address<=
BR>
> instead of work address as it is now without making the change in each=
<BR>
> and every one of my five hundred listings? Or to put it in another<BR>
> way: How can I make sure that the home address in Entourage is the<BR>
> address that shows up on my handheld (Palm m515)? Changing the setting=
<BR>
> in Palm's Conduit Manager doesn't to the job.<BR>
> Best,<BR>
> Janne<BR>
</FONT></SPAN></FONT>
</BODY>
</HTML>
--B_3147112360_5914159--