Page 1 of 1

Switching Container Tabs Remotely

Posted: 29 May 2013 04:21
by Prokat99
Hi, I hoping I can accomplish this... I was told on here before that I could not remotely switch page tabs on lemur but that I could remotely change tabs in a container. So, I have built a project that has 17-18+ "tabs" in one container. Due to a couple of factors, I cannot have the tabs visible. I am hoping there is a way to remotely switch the tabs via OSC and/or Midi from my computer running Ableton. In Ableton, you can run "dummy" clips that contain info like midi notes, cc, program data, etc.... I am hoping I can setup clips that will switch the container tab to the screen needed to play the correct part (live performance deal).
So far, I run Osculator to receive OSC commands from iPad (Lemur), but I cannot figure out how to send commands back or exactly what commands to send. Any help would be greatly appreciated.

Thanks

Re: Switching Container Tabs Remotely

Posted: 29 May 2013 06:05
by Softcore
I hate to break the news to you, but you COULD also change page tabs......

selectinterface(index)


Of course you can also change container tabs

selecttab(object, index)

Here are a few examples for changing container tabs
http://forum.liine.net/viewtopic.php?f=34&t=3022

Re: Switching Container Tabs Remotely

Posted: 29 May 2013 15:24
by Prokat99
Page changing? Really? Well, I wish I had asked you two weeks ago, ah well.... I will check out the examples when I get home from work. Thank you very much.
S

Re: Switching Container Tabs Remotely

Posted: 29 May 2013 15:28
by Prokat99
I also should ask, can you some how hide the new buttons used to switch the tabs? I have no room on my screen as well as I am worried I will accidentally change a tab when I don't want to. In a nutshell, I will not be looking at the screen while I use it (sounds weird, but its what it is), so I want to change the tabs via my computer but not the lemur interface. As far as I can tell, there is no "hide" feature for buttons. Hopefully I am mistaken.

Re: Switching Container Tabs Remotely

Posted: 29 May 2013 15:29
by Prokat99
Actually, If I put it "in the back," will the objects over it block the buttons from being triggered?

Re: Switching Container Tabs Remotely

Posted: 30 May 2013 06:34
by Softcore
You can hide ANY object of Lemur by using show(object,state) function.

Being triggered by its midi-OSC mapping? Nope, not blocked at all! You can even put them "off screen" (x or y negative). If you are talking about actually triggering them with touch, yes unless they are behind a text object (or a couple of other objects that offer "touch transparency", like LCDdisplay).

of course if you only plan to use midi - OSC triggering to change tabs (and not use the actual buttons) you could also use On_MIDI scripts! ;)

Re: Switching Container Tabs Remotely

Posted: 31 May 2013 01:53
by Prokat99
Excellent! I got everything working great. Thx!