Parse your keyboard.html into a TARGET Macro File (.ttm)
This is a Powershell v3.0+ script.
1- Export your Bindings in HTML (C:\Users\<Login>\Saved Games\DCS\InputLayoutsTxt\<Plane Name>).
2- Place the script (.ps1) in your TARGET script files folder
3- Right clic on the script, "Execute with Powershell" then follow the instructions.
4- Once the script produced the .ttm file, you can use it with your TARGET Script as a Macro file.
IF THE SCRIPT FAILS TO RUN :
...