tauri icon indicating copy to clipboard operation
tauri copied to clipboard

Capture cmd/ctrl c + c

Open cannedconcept opened this issue 2 years ago • 2 comments

Hi,

Not much of a developer, more a ux designer. Am trying to find out if tauri would allow me to capture key event whilst running in background: ctrl c + c

So ctrl press and hold and then twice c.

For example deepl translate desktop app uses this to capture a selected text in another program to OS clipboard and then insert it into the deepl app.

Would this be possible with tauri?

Many thnx!

cannedconcept avatar Oct 03 '24 21:10 cannedconcept

Checkout the global shortcut plugin https://tauri.app/plugin/global-shortcut/

amrbashir avatar Oct 04 '24 02:10 amrbashir

Checkout the global shortcut plugin https://tauri.app/plugin/global-shortcut/

Thank you, we did. Couldn't make it work. Can you share a light as on how to achieve it?

cannedconcept avatar Nov 20 '24 15:11 cannedconcept