Quote:
Originally Posted by Doitsu
|
I'm hoping to be able to build the few SAPI interface calls required from win32com which is already included in calibre, e.g. replace
Code:
voice = comtypes.client.CreateObject('Sapi.SpVoice')
with
Code:
voice = win32com.client.Dispatch("SAPI.SpVoice")
Initial testing seems OK, but this is why I don't want to make any promises yet.
ETA: Also, I'm currently favouring a calibre User Interface type of plugin rather than a calibre Editor plugin. Mainly because it has full access to calibre library metadata rather than just the current OPF contents. It would also make it easier to extend the functionality (at a later date) to processing multiple books at a time.