JoepVanlier / Hackey-Trackey

A LUA tracker plugin for REAPER 5.x and up. Designed to mimick the pattern editor in Jeskola Buzz.
MIT License
126 stars 10 forks source link

Adding new tracks from hackey trackey? [SOLVED] #61

Closed michaelsjackson closed 5 years ago

michaelsjackson commented 5 years ago

I guess this is not possible yet, except using the universal action triggering mechanism, which I did not check yet, not sure how to use it correclty, have to look into the source. Not sure if I have to define things in userkeys.lua?

So, if I want to add this new feature, add new track, from hackey trackey, which file I need to edit and what to write there? Having one example use case would be great, so rest I could add similarly. Thanks in advance. What this would allow, you could almost never leave hackey trackey and hackey patterns, and still do quite a lot. Including adding new tracks for example.

michaelsjackson commented 5 years ago

keys.yournick_InsertNewTrack = { 0, 0, 1, 26169.0, 40001 } -- shift + F9, Track: Insert new track

Added this to userkeys.lua and it works, wonderful. I can add any action/custom action/script (lua,py,ahk) to it, wonderful. Thanks a lot Joep. Let me check how far we can go here. The fact we can trigger .ahk scripts via .py scripts makes it even possible to do certain crazy key manipulations/hotkeys. Design something once, reuse multiple times. AutoHotkey getting the macro editor/designer of hackey trackey! Fantastic, now nothing seems to be impossible.