View Single Post
  #4 (permalink)  
Old 07-29-2007, 11:59 PM
Vandana Vandana is offline
Junior Member
 
Join Date: Jul 2007
Posts: 11
Default Re: Return to cursor location

I have done the similar thing and its working perfectly. I have created a macro that copies predefined text from Notepad and pastes it at current cursor location on Word document. I have defined a hotkey to my macro so while typing in Word document wherever I need to insert that text I just use to press those hotkeys and the macro pastes that text at current cursor location only.
I have not inserted any Keystroke command to set the cursor location. Here is the sample text format of my macro:

Keystrokes: [CTRL DOWN]a[CTRL UP] in "Untitled - Notepad"
Delay: (120 ms)
Keystrokes: [CTRL DOWN]c[CTRL UP] in "Untitled - Notepad"
Delay: (120 ms)
Keystrokes: [CTRL DOWN]v[CTRL UP] in "Document1 - Microsoft Word"
Reply With Quote