Go Back   Cockos Incorporated Forums > Other Software Discussion > OSCII-bot forum

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-27-2018, 09:20 AM   #1
Human being with feelings
_Stevie_'s Avatar
Join Date: Oct 2017
Posts: 3,683
Default Does toggle button work with a custom script?

Hey all,

I have a Steinberg CMC-CH and I'm just diving into OSCIIBot.
So far, I am able to turn on and off the light of a button

But before I continue, here the following info:

- there is an "open VST instrument" button on the device
- I have a script, that looks for the first VST instrument on a track and toggles open and close of the GUI

I would like to know if this is possible:

- when I select a track, that shows the VST instrument GUI, I would like the "open VST instrument" button light turned on. And when I press the button, the GUI should disappear and turn off the light as well.

Now, I'm not quite sure, if this can be achieved. Does my LUA script need a toggle, so that Reaper can send a "VST instrument is not showing"?
My Reascripts forum thread | My Reascripts on GitHub
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 08:53 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.