I don't expect attention for this, but this simple code worked on my Ubuntu box, but on Arch I get:
xdo.send_keysequence_window(0,"BackSpace")
argument 3: <class 'TypeError'>: wrong type
I've tried using the additional delay parameter, adding the xdo object as the first argument, and explicitly stating "BackSpace" as a string. This error happens for other key events, like "alt+F4" and "ctrl+w"
the b for byte string literal might help, it will get rid of the type error. Though I haven't actually gotten my text to send yet, so not sure if it's the right fix.
I don't expect attention for this, but this simple code worked on my Ubuntu box, but on Arch I get:
I've tried using the additional delay parameter, adding the xdo object as the first argument, and explicitly stating "BackSpace" as a string. This error happens for other key events, like "alt+F4" and "ctrl+w"