Using clipboard history in macros?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
rn701
Posts: 2
Joined: Tue Sep 29, 2009 4:27 pm

Using clipboard history in macros?

Post by rn701 »

I'm trying to create a macro that accesses text from the clipboard history and inserts it.

Basically, I type some stuff, use Ctl-F3 to activate the clipboard history, move the cursor to select the desired text, press enter to insert it, press Ctl-F3 to close the clipboard history, type some more stuff, press Ctl-F3 to open the clipboard history again and select some different text and insert it. (I am expecting the clipped text entries to be copied in a certain order). When it's all done I press Ctl-F3 to open the clipboard history, right click and select "clear" from the context menu to reset it.

When I run the macro, all I get is the typed text. I don't get the text from the clipboard history, and the clipboard history is not cleared.

I have tried selecting the clipboard history text using the mouse and the keyboard by pressing Shift-F10 to get the context menu.

Am I not understanding how this works?

I'm basically trying to simulate multiple clipboards, or a stack, or a registry, or what have you, of different bits of cut/copied text and then reassemble them using a macro.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Unfortunately when you record a macro in TextPad, the clipboard values are hard coded into the macro. You cannot use the macro process using different clipboard values each time. TextPad macros also cannot be edited.

I use Macro Scheduler to do tasks like that. I use both Macro Scheduler and TextPad to automate many text processing tasks. More info available here: http://www.mjtnet.com/macro_scheduler_pro.htm

There are other similar products out there, a popular one is AutoIt3. I prefer Macro Scheduler product, but you may like the price better on AutoIt3.
Hope this was helpful.............good luck,
Bob
rn701
Posts: 2
Joined: Tue Sep 29, 2009 4:27 pm

Post by rn701 »

Thanks, Bob. I'll check it out.
Post Reply