• Got mailto: tags to work!

    By Rob Breault 2 decades ago

    First off, Kudos on an awesome parser…



    Using the [mailto:user@domain.com Link Name] format, changed the ReplaceRangeEnds function in the GeneralFunctions script library to look for those:



    'Ignore special issue with mailto: tags…

    If (chunk Like chunkCondition) = matchCriteria And Instr(1, chunk, "mailto:", 5) = 0 Then

    ReplaceRangeEnds = ReplaceRangeEnds &amp; Left(source, pos1 - 1) &amp; repl1 &amp; chunk &amp; repl2<br/>
    

    Else

    ReplaceRangeEnds = ReplaceRangeEnds &amp; Left(source, pos2 + lenSrch2 - 1)<br/>
    

    End If

    • Thank you!

      By Benedict R Poole 2 decades ago

      That's great, I will incorporate this in v1.1. For the project credits, do you have a website I can link to? ;o)