I use Named Clipboards a lot to display reference technical charts.
The Named Clipboard Switcher is very useful to view the list of named clipboards, copy & paste clipboard contents, etc
I would like to be able to -
trigger the named clipboard switcher
select one of the named clipboards in the list
perhaps using a modifier key, either display or edit that named clipboard.
thanks in advance for your time and help
As long as you haven't disabled the Switcher Group, that's already done for you. Just check the macros in that group.
That is something you can already do, and I presume you don't want software to do that for you. How would a macro know which clipboard you want to select?
Would a hotkey be adequate? If so, there should be an easy solution, which I may write if it would satisfy you.
I presume you are only interested in text clipboards, not image clipboards. I'm not sure what you mean by editing an image clipboard.
EDIT: I am running into a problem in that I can't seem to use AppleScript to assign a text value to a specific clipboard whose name is stored in a text variable. I think I will need help from one of the people here who can create KM actions using XML, as that's beyond me at this time. Is there anyone here who can create a KM action using XML that can assign the contents of a text variable into a named clipboard whose name is in a different text variable?
I'm not certain I can solve this for you, although I'm thinking hard about it. As I wrote, there's a piece of code I need help with. And now that you say you need image editing, I'll possibly need even more help.
And even if I do succeed, there's no guarantee you will like my code. It just seems like a fun challenge.
Just to make sure that there is no misunderstanding: cogwheel for named clipboards which are a combination of text and images. I don't want to be a pain in the neck. I just want to make sure that we understand each other. thank you again.
The Switcher Group is a standard group for Keyboard Maestro (I have just checked and yes, it is still referred to in the Wiki). The macros can be reloaded, if desired, from Window > Macro Library > Switchers.
thank you. I tried your suggestion and get an error message stating that the group is already in my Keyboard Maestro.
I do have a group called Clipboards which contains the following macros. Are the macros the same as in your Switcher group ?
thanks very much
No, because I have added macros to the group (and deleted one of the default macros), and it appears that you have added macros to your copy of the group too. However, you will see that the first five macros there are the ones that also appear listed under the menu item.
Edit and display where? Do you want to do these by opening KM's "Settings..." with the appropriate Named Clipboard selected or do you want to use an external editor such as Text Edit?
Basically, I use the following 2 macros to edit and display my named clipboards.
I would like the process to be less messy and more efficient, for example using
Prompting for user input with a list of named clipboards
editing would remain (I imagine) as above in KM→ Pref→ Clipboards. I don't see any alternative
display would remain the same except that I would not have to write a different macro for each named clipboard by using (for example) a prompt for user input with a list
ideally I would display the list and either edit or display the named clipboard based on a modifier like ⌘ when I click on the named clipboard in the list.