Troubleshooting
Script executed on interface change?
Started by matino on .
Sign in or create an account to join the conversation.
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?
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?
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
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
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!
actually i found out "selecttab(object,number)" works to set the container's tab.
But GET the tab & interface could be really helpful!!
Thanks!
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
There's a full reference of parser functions at the end of the user manual btw.
NB
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?
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?
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
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
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
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
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
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
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.
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.