p0deje / Maccy

Lightweight clipboard manager for macOS
https://maccy.app
MIT License
11.51k stars 495 forks source link

"dontIgnoreOnlyNextEvent" for when Maccy is currently ignoring #788

Open YBPN opened 1 month ago

YBPN commented 1 month ago

Before Submitting Your Feature Request

Problem

It would be nice to have this command: defaults write org.p0deje.Maccy dontIgnoreOnlyNextEvent true

The dontIgnoreOnlyNextEvent would be for when I want Maccy to capture just the next copy event.

Thank you for Maccy!

Solution

No response

p0deje commented 1 month ago

Can you elaborate on the use case?

YBPN commented 1 month ago

An app or website where the clipboard is frequently used by text-editing macros (implemented via Keyboard Maestro), during which Maccy should ignore the clipboard. But occasionally an explicit copy is performed (command+C) by the user, which Maccy should not ignore.

YBPN commented 1 month ago

And also some macros where saving the clipboard to Maccy is desired. Although, tbh, I've simply been toggling Maccy on and off via defaults write where relevant, so dontIgnoreOnlyNextEvent would just be a nice-to-have.

p0deje commented 1 month ago

An app or website where the clipboard is frequently used by text-editing macros (implemented via Keyboard Maestro), during which Maccy should ignore the clipboard. But occasionally an explicit copy is performed (command+C) by the user, which Maccy should not ignore.

Hmm, I wonder if it's possible to simply integrated Maccy into Keyboard Maestro so when it performs actions, Maccy doesn't store new copies. I'm not familiar with the app though, but I think it should be possible to execute defaults write ... before you start a macro and afterwards too.