Interface-level scripts
Posted: 08 Oct 2014 17:10
I tried searching for this, but I couldn't come up with a combination of search terms that was specific enough to get the information I needed. Hopefully it hasn't been discussed too much already.
Basically, I have multiple switches on an interface, and want to send one sysex message that depends on the states of these switches any time one of them changes state. Seems like the perfect application for an interface-level script: write the script to check all the switches and devise the appropriate sysex string to send, then trigger the script from each of the switches any time one of them changes state.
The problem is, the editor doesn't seem to want to let me create an interface-level script. I can create project-level scripts, and object level scripts, but when I have an interface selected in the project window and hit "new script" it defaults to a new project-level script. I suppose it would be easy enough to use a project-level script, but I have multiple mostly-identical interfaces in this project that will all need to do the same thing with their switches, so it'd be nice to have separate scripts localized to each interface.
Am I missing something basic? Is what I want to do possible? Does anyone have any ideas for alternative ways to implement this?
I suppose I could have a single project-level script that first evaluates which interface is active before evaluating the states of the switches in question, but this seems like a complex solution.
Any help is greatly appreciated!
Basically, I have multiple switches on an interface, and want to send one sysex message that depends on the states of these switches any time one of them changes state. Seems like the perfect application for an interface-level script: write the script to check all the switches and devise the appropriate sysex string to send, then trigger the script from each of the switches any time one of them changes state.
The problem is, the editor doesn't seem to want to let me create an interface-level script. I can create project-level scripts, and object level scripts, but when I have an interface selected in the project window and hit "new script" it defaults to a new project-level script. I suppose it would be easy enough to use a project-level script, but I have multiple mostly-identical interfaces in this project that will all need to do the same thing with their switches, so it'd be nice to have separate scripts localized to each interface.
Am I missing something basic? Is what I want to do possible? Does anyone have any ideas for alternative ways to implement this?
I suppose I could have a single project-level script that first evaluates which interface is active before evaluating the states of the switches in question, but this seems like a complex solution.
Any help is greatly appreciated!