View Single Post
Old 06-12-2018, 10:53 AM   #449
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 893
Karma: 3273787
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jhowell View Post
Certainly.

You can unzip the plugin file, edit, and re-zip it. In the "kfxlib" folder the file "generate_kpf.py" has the code that runs the Kindle Previewer. In that file change the line near the beginning of the file:

TEST_PROGRAM_PATH = None

to point to the folder where the program was installed. Something like:

TEST_PROGRAM_PATH = "C:\\Program Files (x86)\\Kindle Previewer 3"

(Note the need for double backslashes for Windows paths.)


Added: I will add a tweak to the next release of the plugin that allows the program location to be configured without having to edit any files.
Thank you very much!!! Your plugin worked flawlessly and I could build a .kfx ebook. You have done a great job with your tool, many thanks for sharing it with us.
RbnJrg is offline   Reply With Quote