AutoNotification Send Button Actions to MapMyRun notification

Discussion in 'AutoApps' started by Joe Baughman, May 27, 2016.

  1. Joe Baughman

    Joe Baughman New Member

    Joined:
    May 27, 2016
    Messages:
    3
    Likes Received:
    0
    I am trying to understand how AutoNotification is setup but I seem to be struggling a little. I have already used it to setup a task that grabs Time and Distance from a MapMyRun notification and then Says the information. The MapMyRun notification has a Pause or Resume button to control recording of your workout. I would like to setup a task to control this, but I can't figure out how to send the proper action. Is it necessary to setup an Event to Intercept the persistent Notification first or can it just be a query in the task itself? How do you detect the proper code to send as an action? (I don't understand how you grab the code, I have tried setting up Flash alerts in many different ways)

    Ideally I will just have two tasks out there, one to pause/resume a workout and the other to get me voice updates on progress. I will be triggering them all from my Pebble.

    Any suggestions would be appreciated.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    You can query :)

    So for example, if you want it to click button 1 you should
    • query for notifications from MapMyRun
    • flash %anbutton1action1 just to make sure it has a value
    • Use %anbutton1action1 in "AutoNotification Actions" tasker action
    Hope this helps!
     
  3. Joe Baughman

    Joe Baughman New Member

    Joined:
    May 27, 2016
    Messages:
    3
    Likes Received:
    0
    This is what I have for my Task:
    AutoNotification Query
    Persistency Type: Persistent Only
    Notification Apps: MapMyRun+
    Has Reply Action: false
    Get All Fields: true
    Internal Actions Big: -1

    Flash
    Text:
    %anbutton1action()
    %anbutton2action()
    %anbutton3action()
    %aninternalactions()

    AutoNotification Actions
    I have tried several variables here (Configuration Intercept Action Id: %anbutton1action(), etc.)

    The only text I am getting back when the task is triggered is coming from the Internal actions, a long hex string that changes each time the task runs. The button actions are blank. Does this mean that AutoNotification can't see the button in the notification? Could MapMyRun be creating a custom button of some sort?
     
    Last edited: May 31, 2016
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Yes, that's a possibility. Can you please show me what the notification looks like? thanks!
     
  5. Joe Baughman

    Joe Baughman New Member

    Joined:
    May 27, 2016
    Messages:
    3
    Likes Received:
    0
    Two screenshots, one paused and one recording.
    Screenshot_20160601-152826.png Screenshot_20160601-152834.png
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Yeah, that does seem like a custom layout. Have you tried using the action in internal actions? That might be your last chance of getting it to work.
     

Share This Page