How could i send keystroke like ctrl+v to anki

Hello everyone,

I tried to send keystroke to my add-on like ctrl+v with different library, but pyqt5 does not want to hear anything of this,
I used pyautogui.hotkey, and keyboard lib. The sending strokes are working verry efficently on word, but not on anki. Maybe bc it’s pyqt ?

Is there a solution to send keystroke to the window of adding cards ? because the library can’t work correctly on this. My focus is set on the front dialog, i just want to paste my clipboard (with images) with an automated ctrl+v.

Thanks for any help

1 Like