Cheat Sheet but as a shortcut App dependend (using their shortcut-files)

Helping my shortcut muscle memory, I'd like to let BTT open the shortcut file of my App (LogicPro), opens it, read its out and filters it by the key I pressed and hold for 2seconds.

How this should work:

  1. working in LogicPro I forgot my shortcuts, want to know what I have assigned at F1
  2. I press F1 for 2 seconds, BTT knows the file path and name (it is always the same), opens it up and searches for "F1", reads those lines out and copy and paste them into a floating window.
  3. I press ESC to close the window.

Should this be possible?

Benefit:
a) this is always up to date
b) this reaches out easily to all key assignments including all modifier at once
c) theoretically I could add a search function to tell BTT: open and search for the word "region" and it shows me all shortcuts with region in text and copy and paste those into the floating window.

Data format:
*.logikcs - which should be a XML. Yet having problems to read this correctly out. But from Logics key command editor I can choose "copy all shortcuts into clipboard" -> I then get a nice prepared list (random example):

Befehlstaste	Taste	Touch Bar
  • Globale Befehle
    Stoppen
    Wiedergabe oder Stopp ˽
    Stopp oder Wiedergabe ab letzter Locator-Position ⇧D
    Wiedergabe oder Stopp und zur letzten Locator-Position
    Stopp und zur letzten Locator-Position
    Wiedergabe stoppen und zum linken Locator-Punkt gehen
    Wiedergabe stoppen und zum Anfang gehen ⌘↩
    Alle Zellen stoppen

  • Audiodateieditor
    Alles starten/stoppen
    Region starten/stoppen ⇧˽
    Region bis Anker starten/stoppen
    Region ab Anker starten/stoppen

Could you post an example of such a logikcs file? Then I can check what's the best way to parse it into a floating menu