Try it form the Actions, type in ReaTrak set , the Custom ones run the script then move to the next region.
If you click on Edit you will see them.
If you have installed the ReaTrak folder with all the scripts in to REAPER\Scripts\ they should have the same ID as in the GUI code.
You can click Edit ReaTrak gui.lua and check the Command ID to the ones in the Actions below.
EDIT: ReaTrak snap midi takes to chords.lua: 'rootkey' make sure you have the midi item selected and have a chord name in that region
ReaTrak add regions from midi lyrics selected items.lua: has the midi item got lyrics in it ?
There needs to be some error handling in a lot of the scripts, like "Please Select an item first"
See the count_in "_b2ce30..." matches the one in the Actions list.
example:
Code:
function btn_click_count_in()
commandID1 = reaper.NamedCommandLookup("_b2ce30f0f372ec4995a64701ccb9169a")
reaper.Main_OnCommand(commandID1, 0) -- Custom: ReaTrak Set to Count-In
end