Ahahaha!!! I did it! It took many many hours of troubleshooting since there are so many ways to go about doing the same things but I finally figured it out with the help of applescript, QuicKeys, and automator. And I learned more about Applescript in the process. Monstrejumo, your mention of using .command files (after chmod +x the .txt config files in terminal) is what set me on the right track. Turns out, running .command files as an automator workflow was the only way I could get the config to launch in Terminal and still have the terminal running in active farmpad mode (so that I could automate quitting farmpad later).
monstrejumo wrote:(but this would need another 3rd party app like bomes translator, to be running in the background and so that would need to be exited too when quitting live... lol)
Not really with QuicKeys. I highly recommend QuicKeys to everyone. It can be set to start up with your computer so it always stays on (doesn't take up any cpu: 0.1%) and can be set to always stay hidden in the background so it doesn't even take up space in the dock. It has a built-in MIDI translator that's much more powerful and useful than midistroke. In fact, with QuicKeys you can not only easily midi map keystrokes, but also any menu items, including context menus, pop up menus...etc.
So now, whenever I launch Live, I have QuicKeys do the following:
- have automator launch my config file in Terminal, and then minimize the Terminal window to hide it out of way
- 2 seconds after Live launches, an applescript runs to make Live the frontmost application (since otherwise, the Terminal or Automap Server (which launches automatically for my Nocturn) would be at the front).
Then when I quit Live:
- an applescript quits the Novation Automap Server
- an applescript makes Terminal the frontmost application, runs a command to un-minimize the window, and then runs the command to quit out of farmpad
- then finally, 2 seconds later, an applescript quits Terminal.
Call me lazy, but I like having the seamless experience of having farmpad feel like it's part of Live!