Hmm, I can't seem to get the shortcuts-actions working.
Counting always returns 0, although there are multiple shortcuts available:
Code:
B=reaper.CountActionShortcuts(0, 40012)
and with this function, I don't know, what to pass into the last two parameters, it always returns false and "", unless I pass a text into desclen, then it will return false and the text:
Code:
Aretval, Adesc = reaper.GetActionShortcutDesc(0, 40012, 0, "", 10)
I tried the implementations by Julian Sader in his extension, and they work...
Tried on Windows 7 and the actions "Item: Split items at edit or play cursor" and "Item: Split items at edit cursor (select right)."
Edit:
Delete and DoActionShortcutDialog also doesn't work. I suspect, I pass something wrong into KbdSectionInfo section, though I use the numbers accepted by other functions...