On or near 11/11/02 5:42 PM, Paul Berkowitz at [EMAIL PROTECTED] observed:
> On 11/11/02 2:18 PM, "Gary" <[EMAIL PROTECTED]> wrote:
>
>> 1. The insertion of your selected text is not internet quoted (as if you had
>> run the "paste as quotation" menu command). I want it to be, but I don't' be
>> knowin' how right now. Meaning, I'd still like to have the > markers applied
>> properly, but I've pseudo-marked the insertions with enough visual clarity
>> to transfer the same meaning to a reader.
>
> That's complicated but not so bad as it might be. Plain-text replies are
> hard-wrapped at 76 characters or the nearest word end before that, precisely
> so there's still room for up to 4 > characters. (The real, true limit is
> 80.) So if you're quoting from a received plain-text message, you just have
> to get every paragraph of the excerpt, check whether it already starts with
> ">". If it does, prefix ">", if not, prefix "> " (add a space). Feed that
> back into (concatenate to) a new cumulative string or to a list which you
> convert to a string when done with {return} delimiters. It's MUCH harder if
> you're quoting from an HTML message (or a saved draft message of your own),
> which is soft-wrapped. Then you need very complicated routines for
> hard-wrapping. See my early script "Reply with CC" for Outlook Express,
> before we had a 'reply to' command in Entourage.
>>
There are also scripting additions available that can help, or even
shareware text editors. SmartWrap ($18) has a scripting addition; TextSoap
scripting addition does wrapping, quoting and LOTS more ($20); TextSpresso
is a scriptable text filtering app ($30); Tex-Edit Plus is a full-blown
styled text editor, scriptable, that also can do filtering and wrapping ($15
and worth four times that); there is a freeware scripting addition called
WrapText you can find at < http://osaxen.com/wrap_text.html>. The latter
isn't perfect (multiple calls can result in words getting pasted together),
but it's free.
>> 2. Preference for Wording of the Attribution:
>>
>> Currently, the formatting of the author/msg attribution uses hard-wired
>> values for construction.
>>
>> I have stored two bits of text in two variables, in preparation for
>> preference changes, so as it stands now, you can manually (in the script)
>> just change two strings at the top to get a differently flavored
>> attribution. No other editing is needed.
>
> Since there is no way in OS X to detect modifier keys, you need to write a
> separate PREFS script to load, change a property and store the main script.
> See any of my many X scripts that have PREFS scripts with them (Edit and
> Resend X REFS is one of the simpler ones.)
>>
I use the separate preference scripts method also, in part because I think
it is easier to remember (there is a visible reminder in the preference
script), but recently someone brought out a scripting helper application
called X-Commands that does allow detection of keystrokes from within a
script. It is still in beta (current version expires 11/15; new one will be
available then), so pricing is unknown. It works kinda like a scripting
addition. I have not experimented with it yet, just read the Readme and
dictionary.
>> As I have it constructed, you get this:
>>
>> "And also, in a message or post titled " ....... " said:"
>>
>> 3. I can't figure out how to move the cursor to the end of the reply, so
>> right now the user's current preferences determine whether the multiple RIQF
>> insertions are inserted at the end of the message or the beginning. I
>> changed my preferences from MY preference of "insertion point before" just
>> so this script would put everything at the bottom.
>>
>>
> There's no way to do that in OS X after the reply message is already
> created. Take a look at my "Reply Insertion Reversed" script for how to do
> it when creating the reply. (All this sort of thing was made easier in OS
> 8/9 where there were keypress emulation scripting additions which could do
> it.)
>
X-Commands also does keystroke emulation!
--
Microsoft MVP for Entourage/OE/Word (MVPs are volunteers)
Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site:
<http://www.entourage.mvps.org/>
AppleScripts for Outlook Express and Entourage:
<http://members.thinkaccess.net/allenwatson@;thinkaccess.net/Scripts/>
Entourage Help Pages: <http://www.entourage.mvps.org/>
--
To unsubscribe:
<mailto:Entourage-Talk-Off@;lists.letterrip.com>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>