Re: Automating steps to copy URL from IE into Word
- From: "Steve Yandl" <syandl@xxxxxxxxxxx>
- Date: Wed, 11 May 2005 10:50:10 -0700
Larry,
The original incarnation of the program was created in response to a
question on a newsgroup. It basically created a new text file that was
given a name based on date and time. It grabbed the text as a string plus
the URL as a reference. People in the newsgroup where I provided it started
asking for more features, like the option to choose some other file naming
convention, the option to add comments, etc. After using it a bit myself, I
found it would work better for me if I used Word because I could then use
Word's find feature to locate text by key term or phrase. I incorporated
bookmarks with my date time strings from the previous version so I could
quickly zoom in to an approximate time once the archive document got large.
For my own use, I wasn't concerned about the formatting, only the actual
text, the URL, and the date/time reference. I added the ability to add
comments based on feedback on the earlier version but like you I could live
without that and might make a more streamlined version for my own use.
I might experiment with using the clipboard for the text seletion itself and
that might retain the font properties.
What might work better for you would be to write some VBA for a Word
template and have your VBA launch an instance of Internet Explorer. That
should give you access to the document properties for any page opened with
that particular instance of IE.
Steve
"Larry" <larry328NOSPAM@xxxxxxx> wrote in message
news:OMMQTzkVFHA.612@xxxxxxxxxxxxxxxxxxxxxxx
Steve,
This is great, it's wonderful to know that such capabities exist, but this
program is geared for a different set up from mine. Here are my thoughts
and suggestions.
What this does is append each entry to a _closed_ Word document. This is
perfect for accumulating a lot of material from the web in a kind of
research project. However, if the document is open, it opens a second
instance of Word without my custom toolbar and prompts the user to save it.
So that would have to be changed. The program needs to insert the material
into open document. And it must not open additional instances of Word if
Word is already open. That creates problems for me.
Also, I don't need a single saved document into which to put the information
from many different such operations. Each such insert could go into its
own, new Word document, which I could then save manually.
When the application opens, it prompts the user for a comment, which then
makes it necessary to scroll down to where the button is to execute the
program. It would be better to skip all that and have the whole operation
take place in one step. I could do without the comment, since I'm going to
be working on the Word document into which I've inserted the material, I can
add whatever I want directly in the Word document.
Another thing. This does not carry over character formatting of the
selected text, such as italics. I don't supposed that would be possible?
If it's not possible, what I might want to do is change the program so that
it inserts the title and url into a new Word document, while copying the
selected text in the webpage AND switching the focus to the Word document,
so then all I have to do is paste the (formatted) text underneath the title
and url.
Thanks,
Larry
.
- Follow-Ups:
- References:
- Automating steps to copy URL from IE into Word
- From: Larry
- Re: Automating steps to copy URL from IE into Word
- From: Steve Yandl
- Re: Automating steps to copy URL from IE into Word
- From: Larry
- Re: Automating steps to copy URL from IE into Word
- From: Steve Yandl
- Re: Automating steps to copy URL from IE into Word
- From: Larry
- Automating steps to copy URL from IE into Word
- Prev by Date: Re: Aligning table cell contents based on style
- Next by Date: Re: Saving formatting
- Previous by thread: Re: Automating steps to copy URL from IE into Word
- Next by thread: Re: Automating steps to copy URL from IE into Word
- Index(es):
Loading