I have a setup that actually works with this, where I use Dashboard to trigger QLAB through the above AppleScript, and QLAB again to trigger both a Behringer X32 mixer through both MIDI and OSC, a ME DOT2 lighting through midi notes and MSC, and another laser software through MIDI notes, and also playback video through QLAB.
I also set up my Dashboard to trigger Ross Xpression as well, so, as far as I am concerned, you can basically trigger anything from Dashboard.
You can also send OSC through Dashboard, as it's mainly just a UDP message, however it needs to be in big-endian format (as pr. OSC documentation), and that I have yet to crack.
Will bring it up in another topic here though. But you can find the "Send UDP Message" if you just search for it in the visual editor.
So I would guess if we can figure out how to do that, you/we can then just send the OSC commands straight from Dashboard to LPX.
Reading up on LPX just quickly online, and it seems the AppleScript support of LPX is pretty much non-existing actually (kinda surprised there actually), as I can find no dictionary, but plenty posts asking for the same, with negative results (except some basic AppleScript menu triggering and hotkey mapping/triggering).
So for LPX, maybe OSC is the way to go...
#DashBoard