Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Workspace Macro Pro - Automation Edition
Register FAQ Search Today's Posts Mark Forums Read

Workspace Macro Pro - Automation Edition Post messages and questions related to Macro Software for Windows Automation here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2007, 06:14 PM
Barzillai Barzillai is offline
Junior Member
 
Join Date: Jun 2007
Posts: 2
Default Return to cursor location

QUESTION: How do I create a macro that inserts clipboard text at the cursor location in an AOL mail-body window? I need the macro to insert text from the clipboard (signature text) at the cursor location at the start of running the macro which will change each time I run the macro.


BACKGROUND INFORMATION:

I do not know how to insert text in my clipboard (a mail signature) at the place where I left my cursor in an e-mail at the start of running the macro.

The macro I have created inserts the signature at cursor location where the signature was inserted when I created the macro, that was easy to do. But I need the macro to insert the signature at the cursor location at the start of running the macro which will change each time I run the macro. Thus, I need the macro to find the location of the cursor and then insert the clipboard. I think I can create a macro to insert a code and then find the code and then insert the text, but if there is a way for a macro to just begin at the cursor location in a window, that would be simpler.

Thanks for any suggestions.


Also thanks for the great technical help from Tethy experts.
Reply With Quote
  #2 (permalink)  
Old 07-03-2007, 06:54 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 435
Default

Hello,

What we understand is that you want to insert some text at a particular
location. Is it in the end of your mail body? What you can do is copy the
text that you want to insert before you run the task using CTRL+c keystroke.
And, to figure out the location, we suggest you to use keystrokes to reach
to the location you want to insert the clipboard value.

For e.g at Windows log on window, to go to the username field the shortcut
key is Alt+u. So, we would request you to figure out the keystrokes to reach
to location where you want to hit Ctrl+v i.e clipboard.

Hope that helps. If not, send us the screen shot image of the location you
want to paste the text.
Reply With Quote
  #3 (permalink)  
Old 07-27-2007, 12:56 PM
Barzillai Barzillai is offline
Junior Member
 
Join Date: Jun 2007
Posts: 2
Default Return to cursor location

Thank you for the information. In answer to your question, I never want to insert the text at the end of the mail window or at any fixed position in relation to the open window or at an absolute location like the bottom or top of a document. Instead, the location for insertion of the clipboard text is usually between lines of text which location changes each time I run the macro.

If I understand your suggestion, you suggest using keystrokes (like down arrow? or returns?) to go to a particular location in a text document. I do not understand how this will help because the location at which the macro will insert the clipboard text needs to change each time the macro is run because my cursor location will change. And I think using keystrokes will return me to the same location each time — something I do not want to do. Or more directly, what keystokes tell the macro to start where my cursor is when the cursor location changes each time the macro is run?

For example, the best description of where I want the clipboard text to appear is where I last had my cursor as I was writing/editing the document.

For example, to help me understand the problem, I opened any MS word document that has text. I want the macro to insert a clipboard text at whatever location my cursor happens to be. I made a simple test macro that just types the word “HERE.” When I replay the macro, the macro inserts the text in the location on the screen where the cursor was when I made the macro. But, for example, the next time I run the macro I want the text to be inserted on a different screen and at a lower location on the screen, near the bottom of the screen (just as an for example), ie where my cursor is, but the macro inserts the text where the cursor was (in relation to the open screen) when I made the macro.

The actual macro is designed to paste the clipboard which is created by opening a file with unchanging text, by adding the date and time to the file text, then copying the unchanging text and the new date and time to the clipboard. After pasting the clipbaord, the macro goes to the address portion of the mail and inserts different text. I want to be able to be writing an email and then insert the clipboard wherever my cursor is at the start of the macro. Although the macro is designed for my AOL mail, in my test macro I have the same problem trying to insert the word “HERE” into an MS Word file at the location of my cursor.

I think I am missing some simple concept. Thanks for any help for a real novice at this.

Last edited by Barzillai : 07-27-2007 at 01:02 PM.
Reply With Quote
  #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
  #5 (permalink)  
Old 11-05-2007, 03:11 AM
teikarate teikarate is offline
Junior Member
 
Join Date: Nov 2007
Posts: 1
Default adding text usign a macro to Oulook 2003 'subject' field

Can someone tell me how to automatically enter a specific line of text into the subject field of an outgoing e-mail when replying or forwarding on?
Every e-mail I send must have the text "Release-Authorised" in the subject line. I can do this for new e-mails but am unable to do it for repying and forewarding. I created new a macro and button which when clicked will enter the text in the main body of the e-mail but I would like to have it entered into the subject line. Any ideas?
Reply With Quote
  #6 (permalink)  
Old 11-06-2007, 09:23 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 435
Default

Hello,

In that case, you can create a macro comprising of keystrokes to insert Subject in already open email editor window (it can be either for replying or forwarding) and then assign hotkey to this macro. The text format of your macro would appear like this:


Keystrokes: [ALT DOWN]u[ALT UP] in "Currently Active Window" // to go to Subject text box
Delay: (250 ms)
Keystrokes: [SHIFT DOWN][END][SHIFT UP] in " Currently Active Window "

Delay: (250 ms)
Keystrokes: Release-Authorised in " Currently Active Window " //will type required subject
Delay: (250 ms)
Keystrokes: [TAB] in " Currently Active Window "//will take the cursor in email body
Delay: (250 ms)


We have also attached macro for your convenience. Copy it under location: My Documents\Workspace Macro Pro\My Macros\
Assign hotkey to it so that you can run it just by pressing keyboard shortcut. You can find hotkey tab at the bottom of main window.


Hope that helps.
Attached Files
File Type: wksp InsertSubject.wksp (2.1 KB, 0 views)
Reply With Quote
Reply


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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 05:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved