Script executed on interface change?

Discuss problems and solutions.
Post Reply
matino
Newbie
Posts: 9
Joined: 12 Sep 2012 13:16

Script executed on interface change?

Post by matino »

Is there a way to execute a script when taping on an interface?

I have a tabbed container on an interface and i want to go directly to 1 tab each time i go to that interface instead of staying on the last tab selected.
Is there a way to do so?
MacBook pro 10.7.3 / Lemur-iPad 2 5.1.1 / Lemur-Legacy / Monome 256 / Livid Code / Arturia Player / Motu Ultralite Mk3 / Sequentix Cirklon / Evolver
Ableton Live 8.2.8
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: Script executed on interface change?

Post by nick_liine »

Hi matino,

No, unfortunately there is no attribute to get/set the tab of a Container. Feature has been requested, it's already on the wishlist.

Kind regards,
Nicolas
matino
Newbie
Posts: 9
Joined: 12 Sep 2012 13:16

Re: Script executed on interface change?

Post by matino »

Hi Nick,

actually i found out "selecttab(object,number)" works to set the container's tab.
But GET the tab & interface could be really helpful!!

Thanks!
MacBook pro 10.7.3 / Lemur-iPad 2 5.1.1 / Lemur-Legacy / Monome 256 / Livid Code / Arturia Player / Motu Ultralite Mk3 / Sequentix Cirklon / Evolver
Ableton Live 8.2.8
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: Script executed on interface change?

Post by nick_liine »

Ah yes, of course. I got confused between Container tabs and Interface pages momentarily. ;-)

There's a full reference of parser functions at the end of the user manual btw.

NB
matino
Newbie
Posts: 9
Joined: 12 Sep 2012 13:16

Re: Script executed on interface change?

Post by matino »

yeah i know but some stuff are missing, like "selecttab".
This is a problem that exist for a long time. Even in jazzmutant (Legacy), the manual missed some infos...

Quick question when you update the version, do you update the manual or should we look for additionnal infos somewhere else?
MacBook pro 10.7.3 / Lemur-iPad 2 5.1.1 / Lemur-Legacy / Monome 256 / Livid Code / Arturia Player / Motu Ultralite Mk3 / Sequentix Cirklon / Evolver
Ableton Live 8.2.8
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Script executed on interface change?

Post by Macciza »

Hi
Sounds like you have an old manual. The latest version has certainly got selecttab in it
The Manual has been updated from the JM version, and will be updated with any major changes.
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: Script executed on interface change?

Post by nick_liine »

Apologies for the confusion here, it was not my day. :-)

Functions to set Container tabs and to select Interface pages do exist.
selecttab(object, index)
selectinterface(index)

Functions to get the currently selected Container tab or Interface page do NOT exist.

Cheers,
NB
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Script executed on interface change?

Post by Macciza »

Hi Matino
One way to deal with this is to include Interface changing into your program design rather than using the automatic paging system.
Have buttons selecting your interfaces and then running scripts to do what you want to do.
Otherwise there may be some 'hacked' way around it all if you always want it to do this behaviour.
Then you have complete programmatic control of what you can do, (within the API that is).

Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
matino
Newbie
Posts: 9
Joined: 12 Sep 2012 13:16

Re: Script executed on interface change?

Post by matino »

If there is a way i'm all up for it!
Since there is a space reserved for interface tabs i really don't wanna waste another spot on the screen for this...

Do you have anymore infos?

@Liine maybe put this in the wishlist if its not done already? I mean put object where the interface tabs are.
MacBook pro 10.7.3 / Lemur-iPad 2 5.1.1 / Lemur-Legacy / Monome 256 / Livid Code / Arturia Player / Motu Ultralite Mk3 / Sequentix Cirklon / Evolver
Ableton Live 8.2.8
Post Reply