Run Task per Homescreen Shortcut with parameter

98 views
Skip to first unread message

Matthias Günther

unread,
Jul 13, 2021, 11:01:14 AM7/13/21
to Tasker
Hi all,

I want to run a task per Homescreen Shortcut and with parameters.

The Standard Tasker Shortcut has no possibility, but the App Shortcut Maker show me the following under Extras

Key
mcro

Value
<Task sr=""><id>-156</id><Img sr="icn"ve="2"><cls>net.dinglisch.android.taskerm.Tasker</cls><pkg>net.dinglisch.android.taskerm</pkg></Img><nme>TasksName</nme><pri>7</pri><rty>2</rty><Action sr="act0"ve="7"><Str sr="arg0"ve="3">TasksName</Str><Int sr="arg1"val="7"/><Str sr="arg2"ve="3"/><Str sr="arg3"ve="3"/><Str sr="arg4"ve="3"/><Int sr="arg5"val="1"/><Int sr="arg6"/><Str sr="arg7"ve="3"/><Int sr="arg8"/><Int sr="arg9"/><code>130</code><Int sr="arg10"/></Action><cdate>1625766078029</cdate><edate>1625766078029</edate></Task>

and offers me fields "Additional" with Key and Value under Extras, where I hope, I can submit own Parameters to the task.
Can someone help me please, how to fill these additional extras, to submit for example a phonenumber and a SIM Label to a task from the shortcut if this is possible.

Thanks in advance for all answers
screenshot.gif

João Dias

unread,
Jul 13, 2021, 11:11:44 AM7/13/21
to tas...@googlegroups.com
Unfortunately that's not possible right now, sorry! 

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Matthias Günther

unread,
Jul 13, 2021, 11:39:39 AM7/13/21
to Tasker
OK...thank you for quick answer

Matthias Günther

unread,
Jul 14, 2021, 8:47:04 AM7/14/21
to Tasker
Found a way to do what I need

Replace <nme>TasksName</nme> with  <nme>xyz</nme>and you can get xyz as %caller(1) in task

Save a lot of tasks for me

João Dias

unread,
Jul 14, 2021, 8:48:08 AM7/14/21
to tas...@googlegroups.com
Ohh cool :)
Reply all
Reply to author
Forward
0 new messages