Title: Re: Problem: Entourage Many to Word Script
Okay. I found what I had done was to save the changed script in the wrong place. My change was correct, and here it is. Also, I advise anyone who recompiles this script on their own to remove the two references to “SmartWrap” if you do not own that scripting addition. The script will use my internal unwrap routine.

I HAVE DISCOVERED that I used the incorrect order for parameters for my search/replace routine. Make this change: At the end of the "unwrap" routine, replace the last eight lines as follows:

    if theNewText contains "  " then
        set theNewText to my SearchReplace(theNewText,"  ", " ")
    end if
    if theNewText contains "  " then
        set theNewText to my SearchReplace(theNewText,"  ", " ")
    end if
    return theNewText & return
    
end unwrap

TO REMOVE REFERENCES TO SMARTWRAP:

Find two occurrences of the following:

               if my checkForAdditions({"SmartWrap OSAX PPC/68K 1.6"}) then
                   set theBody to «event aevtshs9» theBody with «class shsQ»
                
else
                   set theBody to my unwrap(theBody)
                
end if
And replace that with:

                    
set theBody to my unwrap(theBody)


I will post an updated script to the appropriate places immediately, as v1.2.1.

Reply via email to