I've found a quick workaround using Action Chains.
For Device Connected it works well (see
https://www.mobileread.com/forums/sh...ce#post4149693), but on startup of Calibre, due to an apparent bug in ActionChains, it only works if I set a countdown timer (annoying), else it does nothing.