Bug with either Profile Status action or AutoNotification Intercept context

47 views
Skip to first unread message

Dale Smith

unread,
Apr 27, 2018, 12:51:19 PM4/27/18
to Tasker
I have a task that logs me into an app. I can be logged in already so I need to check this status before I start pasting my id and password.
AutoInput Query will generate a error notification if the action times out so I created a AutoNotification Intercept context to recognize this
and dismiss the AutoInput error notification. I don't want to intercept all AutoInput error notifications just some I know might occur during the
AutoInput Query action. Because of this I decided to enable the profile on a as needed basis and afterwards disable it. Here's the problem.
If I try to enable and disable the profile in the task I want to use it the notifications will not be canceled. If I enable the profile manually before
using the task the notifications will be canceled. Here are the exports.

Login (149)
    <This will dismiss AutoInput Query error messages>
    A1: [X] Profile Status [ Name:AutoInput Dismiss Timeout errors Set:On ]
    A2: Launch App [ App:Garadget Data: Exclude From Recent Apps:On Always Start New Copy:Off ]
    A3: AutoInput UI Query [ Configuration:Text: Door ID Timeout (Seconds):4 Continue Task After Error:On ]
    A4: Goto [ Type:Action Label Number:1 Label:Dismiss off ] If [ %err !Set ]
    A5: AutoInput Action [ Configuration:Type: Text
Value: email
Action : Focus Timeout (Seconds):20 ]
    A6: AutoInput Action [ Configuration:Type: Focus
Text to Write : login ID
Action : Write Timeout (Seconds):20 ]
    A7: Wait [ MS:200 Seconds:0 Minutes:0 Hours:0 Days:0 ]
    A8: Actions [ Configuration:Action: Tap Method: Point (x,y) Selection: 540 822 Timeout (Seconds):3 ]
    A9: Back Button
    A10: Wait [ MS:200 Seconds:0 Minutes:0 Hours:0 Days:0 ]
    A11: AutoInput Action [ Configuration:Type: Focus
Text to Write : password
Action : Write Timeout (Seconds):20 ]
    A12: Wait [ MS:200 Seconds:0 Minutes:0 Hours:0 Days:0 ]
    A13: AutoInput Action [ Configuration:Type: Text
Value: Log In
Action : Click Timeout (Seconds):20 ]
    <Dismiss off>
    A14: [X] Profile Status [ Name:AutoInput Dismiss Timeout errors Set:Off ]

Profile: AutoInput Dismiss Timeout errors (90)
    Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
Notification Type: Only Created Notifications
Notification App: AutoInput
Notification Title: AutoInput action error ]
Enter: AutoInput Error Dismiss (88)
     A1: AutoNotification Cancel [ Configuration:Id: %anid Timeout (Seconds):0 ]


João Dias

unread,
May 1, 2018, 6:17:19 AM5/1/18
to tas...@googlegroups.com
You can check if the action times out by checking if %err is set after the action :) That should be easier. Did you try that? Thanks!

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Dale Smith

unread,
May 3, 2018, 10:00:39 AM5/3/18
to Tasker
A4 in the Login taste does just that Goto action.

Dale Smith

unread,
May 3, 2018, 11:24:25 AM5/3/18
to Tasker
Hi Joao, I have deleted the posted profile. Rather than look for a text string and check %err I grabbed all the texts and did %antext matching. I made this simple test case. Looks like the Profile Status action is the problem. Even if the Cancel Notification profile is manually enabled before the Trigger the notification is not cancelled. If you manually enable and disable the Profile Status action it works.

Profile: Trigger (82)
Event: Shake [ Axis:Backwards-Forwards Sensitivity:Medium Duration:Medium ]
Enter: Notify (52)
A1: Profile Status [ Name:Cancel Notification Set:On ]
A2: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A3: AutoNotification [ Configuration:Title: Note Test
Text: This is a test
Status Bar Text Size: 16 Timeout (Seconds):20 ]
A4: Profile Status [ Name:Cancel Notification Set:Off ]

Profile: Cancel Notification (6)


Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
Notification Type: Only Created Notifications

Notification Apps: AutoNotification
Notification Title: Note Test ]
Enter: Response (7)

Reply all
Reply to author
Forward
0 new messages