prompt user with yes|no question

1,129 views
Skip to first unread message

Geralt

unread,
Dec 28, 2011, 7:26:12 PM12/28/11
to Tasker
Hi,

I'd like to ask the user in a task if he wants to keep a change the
task just made. Is there a way to ask a yes|no question and evaluate
the returned value in a task?

Oon-Ee Ng

unread,
Dec 28, 2011, 8:47:10 PM12/28/11
to tas...@googlegroups.com

Use 'perform task' and run a named menu task with two options (yes/no)?

Pent

unread,
Dec 29, 2011, 4:07:56 AM12/29/11
to Tasker
> Use 'perform task' and run a named menu task with two options (yes/no)?

Or you can use popup task names/icons.

Pent

Geralt

unread,
Dec 29, 2011, 4:32:59 AM12/29/11
to Tasker
What is a named menu task? How do I create one?

I tried a popup task, but it's only showing me the text and no task
list. And I don't want to create to additional tasks named yes and no
(pollutes my task list and gets confusing when I need another task
with a yesno dialog).

Pent

unread,
Dec 29, 2011, 4:54:36 AM12/29/11
to Tasker
> What is a named menu task? How do I create one?

Click the task selector button in the main screen and 'New Task' and
then fill
in a name. When editing the task, click the options icon and change
the task type to Menu.

> I tried a popup task, but it's only showing me the text and no task
> list.

It's 'Popup Task Names', not Popup.

> And I don't want to create to additional tasks named yes and no
> (pollutes my task list and gets confusing when I need another task
> with a yesno dialog).

Next Tasker version you can do this much more easily without extra
tasks. You can wait a couple of weeks or try the beta in the sticky
post at the top of the forum.

Pent

Geralt

unread,
Dec 29, 2011, 10:49:29 AM12/29/11
to Tasker
Great to here, that it will be possible in the next version!

For my temporary solution I created the following task that tries the
variant with the popup task names, but I only see the text message and
nothing else. And yes the two tasks "Display hell" and "Display
dunkel" do exist.

<class cl="Task" sr="">
<nme>Frage Display dimmen</nme>
<id>27</id>
<pri>10</pri>
<class cl="Action" sr="act0">
<class cl="StringArg" sr="arg5" ve="3">
<val></val>
</class>
<class cl="IntArg" sr="arg4">
<val>18</val>
</class>
<class cl="IntArg" sr="arg3">
</class>
<class cl="StringArg" sr="arg2" ve="3">
<val>Display hell</val>
</class>
<class cl="StringArg" sr="arg1" ve="3">
<val>Display dunkel</val>
</class>
<class cl="StringArg" sr="arg0" ve="3">
<val>Reduzierte Displayhelligkeit beibehalten?</val>
</class>
<code>565</code>
</class>
<default>0</default>
</class>

What's wrong with my task?

Pent

unread,
Dec 29, 2011, 10:54:02 AM12/29/11
to Tasker
> For my temporary solution I created the following task that tries the
> variant with the popup task names, but I only see the text message and
> nothing else. And yes the two tasks "Display hell" and "Display
> dunkel" do exist.

I'm not very good at reading XML, and I don't want to spend a long
time trying to fix a problem that will probably not be relevant after
next version.

(hope you can understand that)

Pent
Reply all
Reply to author
Forward
0 new messages