codingmatty / cerebro-plugin-clipboard

Cerebro plugin to record and fetch list of items on clipboard
13 stars 1 forks source link

plugin clipboard does not grasp all #11

Open polx opened 9 months ago

polx commented 9 months ago

I seem to see that the plugin does not catch all entries copied: it seem s to catch only when Cerebro comes to front.

OS: macOS Sonoma (14.0). Cerebro clipboard plugin: 1.2.1 Cerebro 0.11.0

Could it be that setInterval that is disabled when cerebro is not to front?

polx commented 9 months ago

If my supposition is correct, that would mean that Cerebro, the app, should regulate the setTimeout itself (right now it's the electron web) as well as fetch the clipboard data itself (that would make it able to grasp and restore more formats, e.g. with swift).

Am I right? I did have something running in Swift for macOS for a while which I can happily attach. However, the glue to Electron is a bit longer.

Thinkable? Anyone enthusiastic?