AutoLaunch AutoLaunch Variable Error

Discussion in 'AutoApps' started by Fighting Pickles, Oct 13, 2016.

  1. Fighting Pickles

    Fighting Pickles New Member

    Joined:
    Sep 13, 2016
    Messages:
    6
    Likes Received:
    0
    I'm working on an app with the following work flow:

    Profile
    - When a notification is posted by ESPN, RotoWire, Sleeperbot, or NFL Fantasy, launch task NFL Scraper.

    The task then has the following actions:
    1. Scrape the notification using AutoNotification Query. This works just fine.
    2. Post the notification to a scene. This also works just fine.
    If...
    The user presses a button acknowledging he has read the notification...
    • Destroy the scene and end task.
    Else...
    • Write the notification to a file for later presentation.
    • Call another scene to notify the user that notifications are waiting for his review
    End task

    The next user story works like this: When the user taps the scene telling him notification are waiting, those notifications are retrieved and presented again.

    I use a new task to meet the requirements of this story

    Profile: User taps notification scene.

    Actions:
    1. The missed notifications are (1) retrieved from a file, (2) split apart, and (3) fed into the same scene used as part of the task above. - These all work except the population of one screen element. More about this below.
    If...
    • The user presses a button acknowledging receipt of the notification, it is deleted.
    Else...
    • The notification is saved again.
    End Task

    Here's the problem: The scene I use in the first user story is populated by variables provided by the AutoNotification app, which include the variable %anicon representing the icon of the app throwing the notification. However, I can't seem to save a path to retrieve this icon when I save the notification to the file.

    So, I thought, I'll run an app query using AutoLaunch and grab the icon that way.

    Not so fast, my friend...

    As an example, I'm using the app nickname "espn" to run the AutoLaunch Query, which populates the variables %allabels, %alpackages, and %alactivities. However, the variable %alicons is populated by "error".

    I'm not sure what I'm doing wrong. Any insights would be very helpful.
     
    Last edited: Oct 13, 2016
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Why not skip the whole notification to file saving part and just query the notifications in real time using the AutoNotification Query action? :)
     
  3. JXR

    JXR New Member

    Joined:
    Sep 19, 2019
    Messages:
    1
    Likes Received:
    0
    I have the same problem. For an app I'm developing I need to query the app icons, but I also get "Error" in %alicons(1) while the other variables seem to be populated correctly. How do I get this module (AutoLaunch) where I paid for to work according to specification?
     

    Attached Files:

  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806

Share This Page