View Single Post
Old 02-11-2020, 02:40 AM   #26
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Here is v1.99A (warning: this is beta-beta-beta version)
At least it can draw current location estimate at every page turn:

0) Copy it to extensions as usual
1) Open a desired book
2) Replace chapter/subchapter locations, book length in the DrawgressBar.sh
3) Run it from KUAL (preferably via "Start DrawgressBar" because it also logs outputs
4) Start reading the book. The progress bar should appear at each page turn.
5) after usage hit “Stop Drawgressbar” button in KUAL to stop log reading
It only shows finished/unfinished parts right now. Will add chapters later.

Any suggestions are welcome!

@NiLuJe, I wasn't able to draw via "fbink -b -q -k" or "fbink -bqk", however the fbink output shows usual info as if it is drawing. "fbink -qk", on the other hand, works, but I don't notice screen refresh anyway.
Also, it looks to me that fbink is drawing as if it "tearing". Like, it draws dark widths larger first, then adjusts.

P.S. b2t.sh and b2t_2.sh script contain just my tests of various functions, mostly awk. awk is beautiful and neat!
Attached Thumbnails
Click image for larger version

Name:	DrawgressBar_v1.99A.png
Views:	159
Size:	87.4 KB
ID:	177073  
Attached Files
File Type: zip DrawgressBar_v1.99A.zip (446.7 KB, 178 views)

Last edited by mergen3107; 02-11-2020 at 11:14 AM.
mergen3107 is offline   Reply With Quote