View Single Post
Old 12-09-2023, 02:24 PM   #1204
terry.nz
Junior Member
terry.nz is no ebook tyro.terry.nz is no ebook tyro.terry.nz is no ebook tyro.terry.nz is no ebook tyro.terry.nz is no ebook tyro.terry.nz is no ebook tyro.terry.nz is no ebook tyro.terry.nz is no ebook tyro.terry.nz is no ebook tyro.terry.nz is no ebook tyro.
 
Posts: 9
Karma: 1466
Join Date: May 2016
Location: Canterbury, New Zealand
Device: Kobo Glo
After posting I went on to try PMC (Pulovers Macro Creator) but that proved troublesome, so currently heading the AutoHotKey v2 route. I thank you for providing some code (which I don't understand full) but upon trying I got this error ( I don't expect you to fix it as I do want to try my idea with AHK):

calibre, version 7.1.0
ERROR: Unhandled exception: <b>UnicodeDecodeError</b>:'utf-8' codec can't decode byte 0xdc in position 214: invalid continuation byte

calibre 7.1 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Action Chains (1, 18, 19) && DOC Input (1, 0, 1) && Editor Chains (0, 9, 6) && Find Duplicates (1, 10, 8) && Import List (1, 9, 1) && Kobo Books (1, 9, 2) && Kobo Utilities (2, 16, 12) && KoboTouchExtended (3, 6, 7) && Modify ePub (1, 8, 2) && Quality Check (1, 13, 6) && Resize Cover (1, 2, 0)
Traceback (most recent call last):
File "calibre_plugins.action_chains.action", line 451, in run_chain
File "calibre_plugins.action_chains.chains", line 403, in run
File "calibre_plugins.action_chains.chains", line 208, in _run_loop
File "calibre_plugins.action_chains.chains", line 181, in _run_loop
File "calibre_plugins.action_chains.actions.code", line 174, in run
File "module", line 18, in run
File "codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdc in position 214: invalid continuation byte
terry.nz is offline   Reply With Quote