Record Last Minute Of Gameplay On Xbox One

Learn how to open the Xbox One Smartglass app and record the last minute of gameplay on it.

  1. joaomgcd

    STEP 1 - CHECK RUNNING APP


    • Add an "AutoInput UI Query" action
    (i) This will allow you to get the %aipackage variable which will will contain the currently running app
    • Accept the AutoInput settings and go back to Tasker


    STEP 2 - CHECK IF SMARTGLASS APP IS RUNNING


    • Add an "If" Tasker action
    • In the condition write "%aipackage" Doesn't Equal "com.microsoft.xboxone.smartglass"
    (i) This if is checking if the Smartglass app is already running and will let you open the app if it isn't already running
    • Accept it and go back to Tasker


    STEP 3 - OPEN SMARTGLASS AP


    • Add an "App" action
    • Choose the Smartglass app
    • Accept and go back to the Task


    STEP 4 - END IF


    • Insert an "End If" action
    (i) This action will close the "If" that you inserted before, making the action that is between the "If" and "End if" run if the Smartglass app isn't open.


    STEP 5 - WAIT FOR "NOW PLAYING" TO SHOW UP


    • Add an "AutoInput UI Query" action
    • In the Text field add the text "Now playing"
    (i) This will make AutoInput wait until the text "Now playing" is on the screen to advance to the next action.
    • Set the Timeout field to 30
    (i) This will make AutoInput wait at most 30 seconds for the text "Now Playing" to show up. If it doesn't show up within 30 seconds this action will fail and the Task will stop running
    • Accept these settings and in the Tasker "Action Edit" screen set the timeout to 30 seconds as well
    (i) Unfortunately Tasker doesn't let the plugin know which timeout the user configured, so you'll have to fill the same value in both places. Sorry!
    • Go back to the task.


    STEP 6 - CLICK THE "NOW PLAYING" BUTTON


    • Add an "AutoInput Action" Tasker action
    • Select the "Easy Setup" option
    • Open the Smartglass app and turn on your Xbox One. Make sure that Smartglass is able to connect to it. Wait for the "Now Playing" section to appear.
    • Pull down the notification panel and press the "Add" button in the AutoInput notification
    • Touch the "Now Playing" section's boxart
    • Touch the "Accept" button in the AutoInput notification to go back to Tasker
    • Select the "com.microsoft.xboxone.smartglass:id/root_app_bar" option, then the "Click" option
    • Accept these settings and go back to the Task


    STEP 7 - CLICK THE "RECORD THAT" BUTTON


    • Follow the steps in 6 until you're inside the Xbox One app
    • There, click the "Now Playing" section instead of clicking the "Add" button in the AutoInput notification
    • Now press the "Volume Down" key on your device to start capturing the button you want to click
    (i) The "Volume Down" key is an alternative way to start capturing. You have to do it this way in this case, because pulling down the notification bar would make the "Now Playing" section in the smartglass app collapse and you wouldn't be able to touch the "Record Now" button
    • Touch the "Record Now" button
    • Select the "Accept" button in the AutoInput notification
    • Go back to AutoInput and select the "com.microsoft.xboxone.smartglass:id/nowplaying_record_that_button" option and then the "Click" option
    • Accept these settings and go back to Tasker


    STEP 8 - PRESS BACK


    • Add an "AutoInput Global Action" Tasker action
    • Select the "Back" action
    (i) This back action will make the "Now Playing" section collapse again, so that you can run this Task again. Otherwise you wouldn't be able to click the "Now Playing" section, because it would already be open.


    STEP 9 - TEST


    • Press the play button
    (i) The smartglass app should open and the "record that" button should be clicked
    (i) Now assign this Task to any profile you like. You can run it from your pebble with AutoPebble, from your PC with AutoRemote, from a notification, etc

Recent Reviews

  1. pbilton85
    pbilton85
    5/5,
    Excellent guide as always, even though i haven't used this example myself, reading your guides teaches me how to implement them into my tasks.
    Thanks João