The notice is the same regardless of the numeral used in %PastClipboard%
I have confirmed with other clipboard managers (LaunchBar, BetterTouchTool) that the past clipboard items exist. My hypothesis is that without Keyboard Maestro's Clipboard History Switcher, Keyboard Maestro is not saving past clipboards, and therefore they are not available. (This feels clumsier than I expect from Keyboard Maestro, and so I not will be surprised if my hypothesis is wrong; it's the best I've come up with.)
I have rebooted.
How can I restore a working copy of the Clipboard History Switcher (and the entire switcher group)?
MacOS Sequoia 15.1.1 on M4 Mac; Keyboard Maestro 11.0.3. Each up to date.
You can reinstall all default macros from the Macro Library (in the Window menu).
What notice?
The system itself has no clipboard history. Each clipboard tool implements their own, so this statement does not make sense.
This is not accurate.
The only way you would not have a clipboard history in Keyboard Maestro is if you actively configured the size of the clipboard history to 0 as described in the Preferences.
Somethings are odd. Thank you for your quick helpful response.
Did not know.
When I open the "Macro Library" dialog via "Window ▹ Macro Library" and select "Activate Clipboard History Switcher" and click "Insert" a small dialog pops up warning me:
This library item has already been inserted. Inserting it a second time may result in duplicate macros. Would you like to insert the library item anyway?
I clicked "Cancel".
I searched "All Macros" using the search field in the Toolbar and despite trying variations and checking over lists I cannot find the installed version of this.
I tried to find it using the search field in the Action "Execute a Macro" set to "Select Macro by Name … ". It did not show up.
I have used the Keyboard Maestro Clipboard History Switcher in the past. IDK when I did last.
I mean the sentence on the Action block, visible in the image I posted. In place of the result the Action would produce, it says, "Not Available in Editor".
%PastClipboard%0% shows the contents of the current clipboard (the system clipboard). %PastClipboard%1%, %PastClipboard%2%, and so on show the same result for the Action: "Not Available in Editor".
I now understand more. I should have been more specific. My other clipboard managers show their own uninterrupted history of items put on the system clipboard. I conclude from that the issue is not caused by a malfunction of the system clipboard.
I think your two statements cannot both be true .
Setting Keyboard Maestro's clipboard history's size to 1 sounds like something I may have done during a trouble-shooting session. I may have set it larger.
I closed Keyboard Maestro and then I copied the following line from the help page you linked and ran it from a Terminal I opened with Path Finder in my Applications folder:
Afaict, nothing changed. The Action to set a variable to past clipboard 1 still shows the same message where I would expect the result to be, and I still cannot find a copy of either the Clipboard Switcher or the Activate Clipboard Switcher macros. I will reboot now.
Thank you for your time. I have no doubt I've either screwed this up or misunderstand the issue.
I went ahead and inserted the macro "Activate Clipboard History Switcher" in spite of getting the same warning that the library item "has already been inserted".
A "Switchers" macro group now shows in my macro groups list. The "Activate Clipboard History Switcher" macro is in it.
It ran as expected.
The Clipboard history list shows 200 items.
I show "Not available in editor" as the expected result in a new Action newly added to a macro by double-clicking the Action "Set Variable to Clipboard" in the Actions List and selecting "Past clipboard" from "Insert Token ▹ Clipboard ▹ Past clipboard" from the control in the Action block.
Yes, it's a default macro, so it has been inserted. And then presumably inadvertently deleted.
Insert it again.
Not everything is available to the editor. The editor knows about the current clipboard, but it does not have access to the clipboard history, so it cannot show you what the result would be.
The engine keeps the clipboard history, and only it has access to it. The editor is simply telling you the results are not available for it to display.
It is just letting you know that the editor does not have access to that information.