User Submitted Macro

Clipboard Helper

Written by Derek Bench

What it does

This macro will let you have 10 “fake” clipboards that will keep your information saved as long as Macro Express is running. It will also keep a record of anything you copy (with ctrl+c) and allow you to view the past 15 things that have been copied to your Windows clipboard.

To install

Download the macro file umclipboards.mex and save it to your hard drive. If desired, import the macro into your existing macro file by clicking File, Import, Import Macros.

To use

  • To Copy: Ctrl + (1 – 0) – This will copy the highlighted text to fake clipboard 1 through 10
  • To Paste: Alt + (1 – 0) – This will paste out the saved contents of clipboards 1 through 10
  • To Swap: Win + (1 – 0) – This will take whatever is in the fake clipboard and copy it to your Windows clipboard (normal paste/ctrl+v will paste it)
  • View History: Ctrl+Shift+C – This will show you the last 15 things you have copied (using ctrl+c).

How it works

Each fake clipboard # corresponds to a variable starting at T11 through T20. It simply copies the information to a variable and then you can paste it out or “swap” it to your Windows clipboard through the other hotkeys. Each time you hit ctrl+C it saves the info to T21. It then moves the contents of what was previously in T21 to T22 and so on for 15 entries (up to T35). To view it MACEXP simply brings up a dialog box with all the variables pasted out in it.

Limitations

It only saves the history of things you’ve copied with ctrl+c. Will not work if you copy through mouse menu.

** Derek wins a Macro Express T-shirt for his submission.