Boy have I gotten myself totally confused. I'm sure there's some way
to do what I'm attempting here but I'm drowning in ""'s and ''s.
Let me try to explain what I want, then show you what I have, and then
hope someone can decipher this gibberish into something coherent.
Januk gave me a nice macro/regex combo yesterday and I am trying to
incorporate that into yet another layer of salutation stuff. So...
I'm trying to set up a macro to first see if there is any text in
%ABOFromMemo (that's where I enter any nicknames I use for certain
people - internet aliases, etc.). If there is, then I want to use
that. If there is no text there then I want to check to see if there
is an e-mail address in the From field instead of someone's name
(checking for the "@" symbol). If there is an @ present I want to use
a default salutation, if not then I want to use the first name. Phew!
Still with me?
Anyway.. this is what I've been working with (unsuccessfully):
Hi %IF:"%ABOFromMemo"="":"%IF:"%SETPATTREGEXP=""@""%REGEXPMATCH=""%-
%OFROMNAME"""="@":"Default Salutation"%-
:"%CAPITAL='%OFROMFName'"":"%ABOFromMemo",
First is it possible to do what I'm trying? If so, what " or ' am I
missing or screwing up and how do I fix it?
Lastly (I hope) is there any rule of thumb for nesting syntax?
Thanks for any enlightenment.
--
(,_ ,_, _,) �� Nick
/|\`-._( )_.-'/|\ Danger
/ | \`'-/ \-'`/ | \
/ |_.'-.\ /.-'._| \ [MUA: 1.53 Beta/11]
/_.-' " `-._\ [OS: Windows 98 4]
I had a fortune cookie the other day that read, "Outlook not so good."
I thought, "Sure, but Microsoft ships it anyway."
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>
You are subscribed as : [email protected]