A search I just did turned up a technique that @peternlewis posted some time ago. I didn't know about it, but have been using the same technique with great success for a long while:
There is nothing wrong with what you’re doing. Typically, I’d do something like:
Set Clipboard to “KM-NONE”
Command-C
If clipboard is not “KM-NONE” …
Alternatively, you can use the If condition to determine if the Copy menu is enabled first.
If menu with shortcut Command-C is enabled
Command-C …
Here's a macro I wrote based on suggestions and help from many others:
[image] 2017-09-14 8:55 PM CT
Revised to use KM Copy Action with Clipboard Seed to determine if selection was made.
MACRO: COPY with Selection Test [Sub-Macro]
~~~ VER: 2.0 2017-09-14 ~~~
DOWNLOAD:
COPY with Selection Test [Sub-Macro].kmmacros (6.3 KB)
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.
ReleaseNotes
Author.@JMichaelTX
PURPOSE:
Attempt to Copy User's Selection
and set KM Variable to indicate IF Clipboard has changed.
H…
1 Like