A Windows 98 & ME forum. Win98banter

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.

Go Back   Home » Win98banter forum » Windows 98 » General
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

automating a multi-step action in Windows into one step



 
 
Thread Tools Display Modes
  #1  
Old May 8th 05, 05:16 PM
Larry
external usenet poster
 
Posts: n/a
Default automating a multi-step action in Windows into one step


Here's the kind of thing I do a million times. I've just copied some
text from a web page into Word. Now I want to copy the URL of that web
page into Word.

I do Alt+Tab to switch back to the Internet Exporer page.

I press Alt+D to place cursor in address bar.

I press Ctrl+C to copy the address.

I use Alt+Tab switch back to Word.

I press Ctrl+V to paste the url into Word.

Would there be a way to automate these five steps into one action,
whether done by a .vbs file or some other means?


  #2  
Old May 8th 05, 07:42 PM
Brian A.
external usenet poster
 
Posts: n/a
Default

If it is MS Word (part of MS Office). Not sure if in your version of Word you
can do this, yet worth mentioning:

While in Word click Insert Hyperlink.
Click on the Browsed Pages icon and select the URL from the list.

--

Brian A. Sesko
{ MS MVP_Shell/User }
Conflicts start where information lacks.
http://www.dts-l.org/goodpost.htm




"Larry" wrote in message
...

Here's the kind of thing I do a million times. I've just copied some
text from a web page into Word. Now I want to copy the URL of that web
page into Word.

I do Alt+Tab to switch back to the Internet Exporer page.

I press Alt+D to place cursor in address bar.

I press Ctrl+C to copy the address.

I use Alt+Tab switch back to Word.

I press Ctrl+V to paste the url into Word.

Would there be a way to automate these five steps into one action,
whether done by a .vbs file or some other means?



  #3  
Old May 8th 05, 11:18 PM
Jeff Richards
external usenet poster
 
Posts: n/a
Default

This is actually a WORD question, not a Windows question, so you might get
better answers in a WORD newsgroup.

These steps can be written as a VBA module in WORD and assigned to a hotkey.
There will be some restrictions - for instance if you have two copies of IE
open then you would need to select which one should be the source for the
URL. You will find many references to writing VBA modules for WORD - this
site is a useful starting point.
http://msdn.microsoft.com/office/und...s/default.aspx

This site has many small example modules
http://www.vba-programmer.com/
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Larry" wrote in message
...

Here's the kind of thing I do a million times. I've just copied some
text from a web page into Word. Now I want to copy the URL of that web
page into Word.

I do Alt+Tab to switch back to the Internet Exporer page.

I press Alt+D to place cursor in address bar.

I press Ctrl+C to copy the address.

I use Alt+Tab switch back to Word.

I press Ctrl+V to paste the url into Word.

Would there be a way to automate these five steps into one action,
whether done by a .vbs file or some other means?




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smart Portable Shortcuts ForestSpirit General 5 February 28th 05 03:50 AM
error loading explorer.exe. SHLWAPI.dll Gary General 4 October 20th 04 04:08 AM
EXPLORER caused a page fault in module EXPLORER.EXE. Can't start bubbaaaa General 12 October 20th 04 03:30 AM
PROBLEM RE-INSTALLING WINDOWS 98 (STEP 4 OF 4) SANDERS General 3 October 1st 04 11:06 PM
deleted explorer.exe Anida Software & Applications 20 June 16th 04 06:21 AM


All times are GMT +1. The time now is 10:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.