Programmatically Change Tabs

69 views
Skip to first unread message

Cindy

unread,
Apr 11, 2014, 10:20:12 AM4/11/14
to tas...@googlegroups.com
Is there a way to programmatically change Tasker's tab.  I would like to intuitively change the tab based on user interaction without forcing the user to specifically press on the tab.  Does anyone have any ideas on how to do this?
 
Thanks,
Cindy

Brandon Horwath

unread,
Apr 11, 2014, 1:01:54 PM4/11/14
to tas...@googlegroups.com
The tabs?

Like, profile, task, scene, and project tabs?

Or, tabs used in scenes by tasker?

Cindy

unread,
Apr 13, 2014, 8:56:36 AM4/13/14
to tas...@googlegroups.com
More explanation - I would like to pragrammatically change a scene's tabs. The tabs created in a scenes properties by defining tab labels (People, Locations, Maps). Currently my app needs to wait until the user clicks on a tab (handled in the scenes properties tap tab event). I would would like to have the program automatically and intuitively change tabs based upon a certain set of conditions rather than wait for the user to specifically click on a tab. 

Please let me know if this can be done and how.

Thanks,
Cindy 

Brandon Horwath

unread,
Apr 13, 2014, 11:34:31 AM4/13/14
to tas...@googlegroups.com
Yeah, depends on what your asserted priorities are. Most frequently used based on clicks per interaction, time of use, customized, etc...

All depends on what hierarchy you want.

Cindy

unread,
Apr 14, 2014, 7:48:01 AM4/14/14
to tas...@googlegroups.com

Hi Brandon,
 
Not entirely sure (ok not sure at all) what you mean.  Sorry, would you please explain more.
 
Cindy

Brandon Horwath

unread,
Apr 14, 2014, 12:53:22 PM4/14/14
to tas...@googlegroups.com
Certainly.

What conditions are you looking to apply so your tabs are customisable?

Cindy

unread,
Apr 14, 2014, 6:05:26 PM4/14/14
to tas...@googlegroups.com

> What conditions are you looking to apply so your tabs are customisable?

Hi Brandon,

My Scene has three tabs defined in the properties: People, Locations, and Map. I'd like to programmatically change to Map tab from the People tab by calling an action like SetActiveTab('Map'). Hopefully the action (SetActiveTab would work from within Tasker and Javascript.  

Cindy

 
Reply all
Reply to author
Forward
0 new messages