View Single Post
Old 07-17-2020, 11:31 AM   #943
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,123
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by DNSB View Post
As an alternative (thanks, jhowell!), I did a batch file that kicks off Kindle for PC, waits 10 seconds and then imports the deKFX.reg file.
I modified your .cmd file to not require a separate .reg file and to poll the registry and patch the value once Kindle for PC has set it. That should make it work more quickly on fast systems and prevent it from failing on slow systems.

The file is attached for testing. Unzip and run. (On some systems you may need to unblock it by right clicking, selecting Properties and then in the dialog checking Unblock then OK.)

Spoiler:
Code:
reg delete "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported" /f
start %LOCALAPPDATA%\Amazon\Kindle\application\kindle.exe
:repeat
timeout 1
reg query "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported"
if ERRORLEVEL 1 goto :repeat
reg add "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported" /t REG_SZ /d "false" /f


(Attachment removed. See this post for the latest version.)

Last edited by jhowell; 08-10-2020 at 08:33 AM.
jhowell is offline