TaDa! "Reply Into, Quoting From v0.1" is working just fine (duct tape and all).
Thanks for the starter ideas, Paul B. They really helped. You were right: I couldn't get the window to activate without knowing its name or other reference, but the 'first window whose class is' does the trick! (It did, however, take me 3 sessions to figure out why set theSender to sender name of theMsg wasn't working, as the dictionary seems to suggest. However, a fairly random stab at "set theSender to name of sender of theMsg" worked like a charm, as I'm sure everyone else knows :-) Live and learn. (Frustratingly, since I switched to Smile as my editor, I can make neither heads nor tails out of the unstyled dictionary display. I constantly have to launch Script Editor anyway just to get a more useful dictionary view. Great tool, Smile. Crappy dictionary display, IMHO.) I would now like to add some preference setting routines to the script, so that there is some level of customization for quoting attributes, but I'd love to fist share the guts with some others. And maybe I'll get some feedback, if you've got the time or inclination. (I'm sure my variable handling is the pits, with excessive overhead, but I was first trying to use smaller sub-routines and couldn't get a good handle on the context issue, so I kept bombing with undefined variables. More reading tonight about that should help.) So... What the heck is "Reply Into, Quoting From"? Well, RIQF begins to work after you've started a reply in your normal preferred way. Once that reply is started, then you can go back to your messages, select some text in any message, and then run the script to have that text, along with a proper attribution, inserted into the already-open reply. Lather, Rinse, Repeat until you are finished constructing your reply, with as many "RIQF" runs as you want to quote other people. (I like this method, especially with mail lists and newsgroups, because I often want to reply to what several posters have said, without making new replies for each one, and without having to manually copy, paste as quotation, and repeat until I'm finished.) Limitations (on my script and scripting ability, as it now stands, but that I'm working on): 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. 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. 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. Okay, let me know if you want a copy to try out. I am happy to post here, but I didn't know if that was the norm. Direct email is fine for copy requests, so we don't junk up everyone's mailbox. And thanks again for the two very helpful replies I received to my first post. I appreciate the assist. It is certainly a good feeling when it finally works. Take care, Gary -- 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/>
