Emoticon (Smiley) Substitution in Macros Driving Me Nuts!
Posted: 2007-07-26 00:26:31
I had commonly been finding that typing certain strings in macros cause emoticons to be substituted for the strings I'm trying to type. Sometimes typing something new in the replace string of a Find and Replace macro will even cause a substitution to occur back in the find string.
It's like walking in a minefield where all of a sudden, for no apparent reason, some combination of parentheses and colons will be converted into a frowny face (how appropriate!) or a smiley face (never appropriate).
I finally figured out to remove them from the QuickFix preferences, but really, the program should be smart enough not to substitute emoticons in macros.
Wouldn't you know that this section of a macro to convert Nisus Writer Classic PowerFind Pro macro strings into NW Pro macro strings would drive me over the edge?
#--
##Convert NWC Non-Matching Groups to NWP
Find and Replace "([^\\\\]):(\\\()(.+?):(\\\))", "\\1\\2\?:\\3\\4", "-s-va-i-uU-wWE"
#--
javascript:emoticon('')
It's like walking in a minefield where all of a sudden, for no apparent reason, some combination of parentheses and colons will be converted into a frowny face (how appropriate!) or a smiley face (never appropriate).
I finally figured out to remove them from the QuickFix preferences, but really, the program should be smart enough not to substitute emoticons in macros.
Wouldn't you know that this section of a macro to convert Nisus Writer Classic PowerFind Pro macro strings into NW Pro macro strings would drive me over the edge?
#--
##Convert NWC Non-Matching Groups to NWP
Find and Replace "([^\\\\]):(\\\()(.+?):(\\\))", "\\1\\2\?:\\3\\4", "-s-va-i-uU-wWE"
#--
javascript:emoticon('')