Title: Script: sync with palm, flagged
on 10/23/2000 2:04 PM, Joshua Jabbour at [EMAIL PROTECTED] wrote:

> Just wondering if there is any way to find out which contacts are marked
> "Sync with Palm" and which aren't? The option isn't in the find dialog...
>
>
Neither is "flagged" which is really dumb. Sounds like we need a script, e.g.,

tell application "Microsoft Entourage"
    set aList to every contact whose sync with palm is true
    set listOfNames to ""
    repeat with acontact in aList
        set listOfNames to listOfNames & name of acontact & return
    end repeat
    make new draft window with properties {content:listOfNames, subject:"Contacts who sync with Palm"}
end tell

Finding flagged contacts would be just changing “sync with palm” to “flagged”.

We could modify this to select the list of contacts, in the Address Book:

-- Select Flagged Contacts --
tell application "Microsoft Entourage"
    activate
    open address book 1
    set thecontacts to every contact whose flagged is true
    set selection to thecontacts
end tell

--
Peace,
Allen Watson <[EMAIL PROTECTED]> XNS name: =Allen Watson
A Mac family since 1984
My web page: <http://home.earthlink.net/~allenwatson/>

Reply via email to