Pasting specific text

Michelle

  • Joined: Nov 13, 2009
  • Posts: 2

Fri 11/13/2009 - 4:41

This is a macro I have set up on another program and I want to gradually move them all over to here - once I've worked out how to do it!

All I want to do is paste specific text into a field or document by typing in a shortkey or similar.

For example, if I want to paste a signature file into a document/email or whatever, I currently type

##5 and my sig appears.

Any ideas on how I do this with WinAutomation?

Thanks!

Michelle

#1

Fwteinh.M

  • Joined: Nov 10, 2009
  • Posts: 1

Fri 11/13/2009 - 12:27

Hiho! This is a pretty common task and one of the first things that I wondered when I started using WinAutomation. At first, I came across with the following solution:

For every piece of text that I was using very often, I created a different job with a different hotkey assigned to it. For example, check the job "Paste Email.waj" that is attached. I have attached the Ctrl+Shift+E trigger to it so that every time I press this specific keystroke combination, it sends my email address to the current field. Of course you can change the piece of text that is being sent by changing the value in action no.2 ("Set Variable").

But then I contacted the support department of WinAutomation and they came up with a much more efficient technique, which I have been using since then.

In order to test it, please do the following:

- Import the job "Abbreviations.waj"
- Copy the file Aliases.txt in your root C:\ folder
- Now write sig in any editor (e.g. notepad, or email client) and press the hotkey Ctrl+Shift+Space. Sig will be automatically replaced by the signature that is contained in the Aliases.txt file. Now, you can create your own abbreviations just by modifying the Aliases.txt text file. Just keep sure that you use the notation that they are using. For example a new notation should be added like this:

<abbreviation>
<one or more lines of the text that will replace the abbreviation>
---

Let me know which solution worked best for you
 

Abbreviations_0.waj Aliases_0.txt Paste Email.waj

#2

baz

  • Joined: Nov 12, 2009
  • Posts: 47

Sat 11/14/2009 - 17:37

MIchelle

I know what you're trying to do...and I found that the hotkeys in that other program performed better and now I run both macro programs at start up. Winautos keys are slow to put the text in compared to that other program. Having said that, win auto can use shortcut text rather than hotkeys to read lines of text from a file from your hard drive which you can add to over time wih snippets...so that pressing {shift} and typing the letters a,d and d (short for address), for example, will copy your entire address from teh text file.

Slower, but much more scope for many more shortcuts and they will be easier to remember.

All the best

you know who

#3

Michelle

  • Joined: Nov 13, 2009
  • Posts: 2

Sun 11/15/2009 - 6:40

Hmm. Yep I'm beginning to see that this will work better for "longer" type jobs and not for simple copy and paste jobs like I use my other macro program for.  But that's ok.  This one will have its purpose as I am beginning to see!

Thanks for your help guys! :)

#4
Not a member yet? Register

Copyright 2012 - Softomotive Ltd