View Single Post
Old 05-12-2024, 02:29 PM   #2918
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,138
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If you want, try this Action Chain while your device is connected. I use it myself.

You'll want to check the template in the single-field edit action and update the columns to your own.

Code:
program:
	input = $#kobobookmark;
	status = $#fanficstatus;
	percent = $$#percentread;

	if 
		'(In-Progress|Dormant)' in status 
		&& percent ==# 99
	then
		a = re(input, '^OEBPS/file(\d{4})(\.xhtml.*$)', '\1');
 		strcat('OEBPS/file', format_number(add(a, 1), '04d'), '.xhtml#kobo.1.1')
	else 
		input
	fi
Make sure not to open the book on device before the next update, it'll reset to the beginning.
Attached Files
File Type: zip FanficAsRead.zip (3.8 KB, 135 views)

Last edited by ownedbycats; 05-12-2024 at 06:00 PM.
ownedbycats is online now