If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Using Windows script to paste or insert text into a new e-mail
Steve Yandl showed me how to set up an htm file with Windows script
inside it that would in one step insert selected text, the url, and the title of a Web page into a Word document. This is a fantastic capability. Now I have another question. Can Windows script insert selected text (whether from a web page or from Word) directly into a new e-mail? I prefer to copy and paste the text, not insert it as a string, because I'd like to keep any character formatting. I use Outlook Express 6, IE6, Word 97, and Windows 98. I'm sending this to both the vba group and the Windows group because the question concerns both platforms. Thanks, Larry |
#2
|
|||
|
|||
Why not include the OE6 newsgroup? (I have.)
Copy/Pasting Word's formatting into OE(6) is fraught with incompatiblity, Larry. -- ~Robear Dyer (PA Bear) MS MVP-Windows (IE/OE) & Security Larry wrote: Steve Yandl showed me how to set up an htm file with Windows script inside it that would in one step insert selected text, the url, and the title of a Web page into a Word document. This is a fantastic capability. Now I have another question. Can Windows script insert selected text (whether from a web page or from Word) directly into a new e-mail? I prefer to copy and paste the text, not insert it as a string, because I'd like to keep any character formatting. I use Outlook Express 6, IE6, Word 97, and Windows 98. I'm sending this to both the vba group and the Windows group because the question concerns both platforms. Thanks, Larry |
#3
|
|||
|
|||
PA Bear, Thanks for the cross posting. The Word-OE relationship is not a problem, I copy text from Word into OE all the time. I just want to automate it more. One thing I want to do is run a Windows script from IE that inserts the title, url and selected text from a web page directly into a new e-mail. Another thing I do is, I copy a web page, then run a Word document that pastes that selection into Word and does a bunch of formatting on it and copies it, and then opens an e-mail. I then manually move the focus from the To line to the client area and paste. I'd like those last two steps to be automated, so that the clipboard contents get automatically pasted into the e-mail and the whole operation gets done in one step. Larry formats the "PA Bear" wrote in message ... Why not include the OE6 newsgroup? (I have.) Copy/Pasting Word's formatting into OE(6) is fraught with incompatiblity, Larry. -- ~Robear Dyer (PA Bear) MS MVP-Windows (IE/OE) & Security Larry wrote: Steve Yandl showed me how to set up an htm file with Windows script inside it that would in one step insert selected text, the url, and the title of a Web page into a Word document. This is a fantastic capability. Now I have another question. Can Windows script insert selected text (whether from a web page or from Word) directly into a new e-mail? I prefer to copy and paste the text, not insert it as a string, because I'd like to keep any character formatting. I use Outlook Express 6, IE6, Word 97, and Windows 98. I'm sending this to both the vba group and the Windows group because the question concerns both platforms. Thanks, Larry |
#4
|
|||
|
|||
The format of text you see in OE is not what others see unless their configured
for the same. -- Brian A. Sesko { MS MVP_Shell/User } Conflicts start where information lacks. http://www.dts-l.org/goodpost.htm http://basconotw.mvps.org/ "Larry" wrote in message ... Steve Yandl showed me how to set up an htm file with Windows script inside it that would in one step insert selected text, the url, and the title of a Web page into a Word document. This is a fantastic capability. Now I have another question. Can Windows script insert selected text (whether from a web page or from Word) directly into a new e-mail? I prefer to copy and paste the text, not insert it as a string, because I'd like to keep any character formatting. I use Outlook Express 6, IE6, Word 97, and Windows 98. I'm sending this to both the vba group and the Windows group because the question concerns both platforms. Thanks, Larry |
#5
|
|||
|
|||
You can't work directly with OE. You are actually working with MAPI. See,
for instance: http://support.microsoft.com/?kbid=239576 INFO: Developer Support Limitations with Outlook Express Also: http://support.microsoft.com/?kbid=268440 INFO: MAPI Is Not Suitable for HTML Messages More extensive discussion he http://msdn.microsoft.com/library/de...ui04152003.asp -- Jeff Richards MS MVP (Windows - Shell/User) "Larry" wrote in message ... Steve Yandl showed me how to set up an htm file with Windows script inside it that would in one step insert selected text, the url, and the title of a Web page into a Word document. This is a fantastic capability. Now I have another question. Can Windows script insert selected text (whether from a web page or from Word) directly into a new e-mail? I prefer to copy and paste the text, not insert it as a string, because I'd like to keep any character formatting. I use Outlook Express 6, IE6, Word 97, and Windows 98. I'm sending this to both the vba group and the Windows group because the question concerns both platforms. Thanks, Larry |
#6
|
|||
|
|||
Larry,
Normally, I'd suggest CDO but I'm guessing that with Word 97 and Windows 98, that isn't available to you. Moreover, I suspect that you still want to enter recipients from your contacts list and enter things like subject line which can kind of crimp the advantages of scripting email. One option might be to modify the script we worked on to do a SelectAll and a copy operation from the Word document after the new entries are typed and then launch msimn.exe which would allow you to enter address and subject info and just do a Ctrl plus V to paste the clipboard contents into your new OE message. Not total automation but gives you a lot of control and prevents errors. Steve Yandl "Larry" wrote in message ... Steve Yandl showed me how to set up an htm file with Windows script inside it that would in one step insert selected text, the url, and the title of a Web page into a Word document. This is a fantastic capability. Now I have another question. Can Windows script insert selected text (whether from a web page or from Word) directly into a new e-mail? I prefer to copy and paste the text, not insert it as a string, because I'd like to keep any character formatting. I use Outlook Express 6, IE6, Word 97, and Windows 98. I'm sending this to both the vba group and the Windows group because the question concerns both platforms. Thanks, Larry |
#7
|
|||
|
|||
The material is beyond my level, and even if it is possible to do this,
it's not worth the research and effort for the small amount of increased automation I'm seeking. Thanks for the references. Larry Jeff Richards wrote: You can't work directly with OE. You are actually working with MAPI. See, for instance: http://support.microsoft.com/?kbid=239576 INFO: Developer Support Limitations with Outlook Express Also: http://support.microsoft.com/?kbid=268440 INFO: MAPI Is Not Suitable for HTML Messages More extensive discussion he http://msdn.microsoft.com/library/de...ui04152003.asp Steve Yandl showed me how to set up an htm file with Windows script inside it that would in one step insert selected text, the url, and the title of a Web page into a Word document. This is a fantastic capability. Now I have another question. Can Windows script insert selected text (whether from a web page or from Word) directly into a new e-mail? I prefer to copy and paste the text, not insert it as a string, because I'd like to keep any character formatting. I use Outlook Express 6, IE6, Word 97, and Windows 98. I'm sending this to both the vba group and the Windows group because the question concerns both platforms. Thanks, Larry |
#8
|
|||
|
|||
Steve,
Thanks, that's what I'm going to do. Larry Steve Yandl wrote: Larry, Normally, I'd suggest CDO but I'm guessing that with Word 97 and Windows 98, that isn't available to you. Moreover, I suspect that you still want to enter recipients from your contacts list and enter things like subject line which can kind of crimp the advantages of scripting email. One option might be to modify the script we worked on to do a SelectAll and a copy operation from the Word document after the new entries are typed and then launch msimn.exe which would allow you to enter address and subject info and just do a Ctrl plus V to paste the clipboard contents into your new OE message. Not total automation but gives you a lot of control and prevents errors. Steve Yandl "Larry" wrote in message ... Steve Yandl showed me how to set up an htm file with Windows script inside it that would in one step insert selected text, the url, and the title of a Web page into a Word document. This is a fantastic capability. Now I have another question. Can Windows script insert selected text (whether from a web page or from Word) directly into a new e-mail? I prefer to copy and paste the text, not insert it as a string, because I'd like to keep any character formatting. I use Outlook Express 6, IE6, Word 97, and Windows 98. I'm sending this to both the vba group and the Windows group because the question concerns both platforms. Thanks, Larry |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with invalid page fault in module EXPLORER.EXE | rbryan | General | 13 | February 20th 05 07:39 AM |
873009 Update will not install [correction=> 837009] | PA Bear | General | 72 | February 2nd 05 02:01 PM |
EXPLORER caused a page fault in module EXPLORER.EXE. Can't start | bubbaaaa | General | 12 | October 20th 04 03:30 AM |
can't access .pif | Ron Jacob | General | 13 | September 7th 04 03:23 AM |
deleted explorer.exe | Anida | Software & Applications | 20 | June 16th 04 06:21 AM |