Title: Scripting help needed
Hello,
I am a beginning AppleScripter, but a long-time programmer, and I'm having a little problem.
I am trying to get the group of contacts that has the Category "Mailing Lists" with this code:
tell application "Microsoft Entourage"
set theMailingLists to every contact whose categories contains {category "Mailing Lists"}
display dialog "Mailing Lists: " & (count of theMailingLists)
end tell
This code runs, but returns a count of 0.
When I do something like this:
tell application "Microsoft Entourage"
set theMailingLists to every contact whose company name � “”
display dialog "Mailing Lists: " & (count of theMailingLists)
end tell
I do get a count. This tells me that I have something wrong with how I am specifying the category.
Can someone point me in the right direction? I’ve read through the Entourage dictionary and the Word document that describes the AppleScript interface, but it didn’t do anything for me.
Thanks in advance,
Ken Scott
--
<>< Ken Scott [EMAIL PROTECTED] http://www.pcisys.net/~kscott
This is the day that the Lord has made;
Let us rejoice and be glad in it -- Psalm 118:24
- Re: Scripting help needed Ken Scott
- Re: Scripting help needed Paul Berkowitz
- can't connect to scripting system Hannu Kokko
- Re: can't connect to scripting system Paul Berkowitz
- Re: can't connect to scripting system Hannu Kokko
- Re: can't connect to scripting system Paul Berkowitz
- Re: can't connect to scripting system Hannu Kokko
- Re: can't connect to scripting sy... Paul Berkowitz
- Re: can't connect to scripting system Hannu Kokko
