Can the ‘default’ desktop/home screen be set through Tasker ?

Can the ‘default’ desktop/home screen be set through Tasker ?

I’m thinking of coding up a Tasker system where depending on which profile I chose, the Home key (in-screen, not physical button, SGS9+) takes me to a different home screen/desktop: one for work, one for outdoor activities, etc.

Is it possible to SET the default with Lightning Launcher ? I understand there are shortcuts to SHOW a specific desktop, but I want it to work when I simply press the home button.

One Commentto Can the ‘default’ desktop/home screen be set through Tasker ?

  1. I think that it can be realized by setting a script in the home key.

    #1 Create a tasker task for set LL desktop.

    [Sample task]

    https://taskernet.com/shares/?user=AS35m8msHH1eMSREvTXCdKD7vE2eQsz9WD2QyHQoUYevGimIm5Cd2O8so090pYcZfKU%3D&id=Task%3ASet+LL+Default+Desktop)

    #2 Set ‘Run Script’ as home key in LL general setting. Please check ‘Script Data’ and enter the task name of #1(Sample taske name is ‘Set LL Default Desktop’).

    LL script is see below.

    var arg=getEvent().getData();

    Toast.makeText(LL.getContext(), “Call task:” + arg, 3).show();

    LL.sendTaskerIntent(new TaskerIntent(arg), true);

    Sorry bad english.

Leave a Reply

Your email address will not be published. Required fields are marked *