WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: spl on October 15, 2025, 04:36:54 AM

Title: Windows Terminal Key Bindings
Post by: spl on October 15, 2025, 04:36:54 AM
Easy to extract just id and keys elements from the json.
;Winbatch 2025C (should work with earlier version)
;quick display of Windows terminal key bindings - json output
appdata = Environment('LOCALAPPDATA'):'\'
file = appdata:'Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json'
if FileExist(file)
   Message("Terminal Key Bindings",Fileget(file))
else
   Message("Terminal Key Bindings","settings.json file not found")
endif
Exit