On 8/27/02 9:11 AM, "::.jay.west"  wrote:

> 
> Hi there,
> Now that I can finally sync my Address with my Palm I am in the process of
> cleaning up my contacts list. It seems to me I once had an AppleScript that
> Paul or Allen had created that would swap the home and work addresses and
> visa versa. Now that I am on Entourage X I am looking around to see if that
> script is still available and if it works for X? Any assistance would be
> much appreciated. That was a fantastic little script.

It came from MS with Office 2001. I think it was on the CD in the Value
Pack, but can't swear to that.

It's pretty short, so here it is

tell application "Microsoft Entourage"
    set theItems to selection
    repeat with i in the theItems
        if class of i is contact then
            set StartAddress to the (home address of i)
            set DestinationAddress to the (business address of i)
            set the home address of i to DestinationAddress
            set the business address of i to StartAddress
        end if
    end repeat
end tell

-- 
Jan Martel in Davis, CA
IBook 500; System 10.1.5, 9.2.2


-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to