View Single Post
Old 03-07-2024, 03:39 PM   #1292
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
I am not really familiar with syncing in calibre, because the closed nature of kindle and the inability to manage collections, means it is better for me to just email one book at a time. But in principle, that code above could be adapted to a custom action or a "Run Python Code" action. For anyone interested, to halt the chain, instead of returning the function, you should call:

Code:
raise chain.UserInterrupt
capink is offline   Reply With Quote