Re: Variable to an application keyword
Re: Variable to an application keyword
- Subject: Re: Variable to an application keyword
- From: "Greg Back" <email@hidden>
- Date: Mon, 20 Aug 2001 20:50:10 -0400
>
to cut a long story short, can I coerce or otherwise my users choice of
>
search field into an application keyword?
>
I know this isn't exactly what you are asking about, but you could use
if search_method is "Description" then
set rezults to (contacts whose description contains search_criteria) as
else if search_method is "Display Name" then
set rezults to (contacts whose display name contains search_criteria)
else
set rezults to (contacts whose company contains search_criteria)
set rezults to rezults as list
--Note: I don't know if "Display Name" is a property of contact (I didn't
see it in the dictionary of OE 4.5
Also, you probably want to use (name of (contacts whose...)) unless you want
"Contact (#) of application Outlook Express"
If this helps, you're welcome.
If not, then I hope someone else is more knowledgeably than me.
Greg