Thank you for your work.
I have tested and it could extract the file successfully. The purpose is fulfilled.
For testing purpose, I ran it on a book without txtz format, it returned:
Code:
File "ntpath.py", line 540, in normpath
TypeError: expected str, bytes or os.PathLike object, not NoneType
I think I will have to figure out how to set condition (it only runs on books with the intended format). The "condition" and "scope" areas look alien to me.
and {path_to_format} looks like a built-in variable. Where can I find the list of built-in variables like this? I'm interested in path to current book folder [current book data folder].
I realize that if this code works out and if I can get necessary variables, I can have external apps (command line interface) do a lot of things.