Skip to content

Commit

Permalink
Added suggestions when typing setting
Browse files Browse the repository at this point in the history
  • Loading branch information
MikronT committed Mar 28, 2019
1 parent 42329b8 commit e20981c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tenTweaker.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,14 @@ echo.^(^>^) Choose action to enable/disable input suggestions:
echo. ^(1^) Auto Suggest %interface_suggestions_autoSuggest%
echo. ^(2^) Append Completion %interface_suggestions_appendCompletion%
echo. ^(3^) Start Track Progs %interface_suggestions_startTrackProgs%
echo. ^(4^) Suggestions when typing %interface_suggestions_suggestionsWhenTyping%
echo.
echo. ^(0^) Go back
echo.
echo.
echo.
if "%error_main_variables_disabledRegistryTools%" == "1" call :errorMessage_main_variables_disabledRegistryTools
choice /c 1230 /n /m "> "
choice /c 12340 /n /m "> "
set command=%errorLevel%


Expand All @@ -367,9 +368,13 @@ if "%error_main_variables_disabledRegistryTools%" NEQ "1" (
if "%command%" == "3" if "%interface_suggestions_startTrackProgs%" == "disabled" (
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Start_TrackProgs /t REG_DWORD /d 1 /f >nul
) else reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Start_TrackProgs /t REG_DWORD /d 0 /f >nul

if "%command%" == "4" if "%interface_suggestions_suggestionsWhenTyping%" == "disabled" (
reg add HKCU\Software\Microsoft\Input\Settings /v EnableHwkbTextPrediction /t REG_DWORD /d 1 /f >nul
) else reg add HKCU\Software\Microsoft\Input\Settings /v EnableHwkbTextPrediction /t REG_DWORD /d 0 /f >nul
)

if "%command%" == "4" ( set command= & exit /b )
if "%command%" == "5" ( set command= & exit /b )
goto :interface_suggestions


Expand Down Expand Up @@ -1098,6 +1103,7 @@ if %errorLevel% GEQ 1 (
set interface_suggestions_autoSuggest=[error]
set interface_suggestions_appendCompletion=[error]
set interface_suggestions_startTrackProgs=[error]
set interface_suggestions_suggestionsWhenTyping=[error]

set interface_explorer_fileExtensions=[error]
set interface_explorer_hiddenFiles=[error]
Expand Down Expand Up @@ -1186,6 +1192,9 @@ if "%1" == "interface_suggestions" (

set interface_suggestions_startTrackProgs=disabled
for /f "skip=2 tokens=3,* delims= " %%i in ('reg query HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Start_TrackProgs') do if "%%i" == "0x1" set interface_suggestions_startTrackProgs=enabled

set interface_suggestions_suggestionsWhenTyping=disabled
for /f "skip=2 tokens=3,* delims= " %%i in ('reg query HKCU\Software\Microsoft\Input\Settings /v EnableHwkbTextPrediction') do if "%%i" == "0x1" set interface_suggestions_suggestionsWhenTyping=enabled
)


Expand Down

0 comments on commit e20981c

Please sign in to comment.