Create a Time-lapse Feature on Your Favorite Photo App

Here you'll learn how to create a time-lapse feature on any photo app with AutoInput.

  1. joaomgcd

    STEP 1 - CREATE TIME-LAPSE TASK


    • Create a new Task and name it "Time-Lapse"


    STEP 2 - LAUNCH CAMERA


    • Add an "App" action
    • Select your favorite camera app
    (i) In this example I'm using the default Android camera.


    STEP 3 - INITIALIZE COUNT


    • Set a new variable named %count to 0
    (i) This variable will be used to count how many photos we took in this time-lapse so we know when to end it.


    STEP 4 - WAIT


    • Add a 3 second "Wait" action
    • Label that action "Start"
    (i) By labeling this action, we are creating a handy reference point that we want to come back to. This will create a loop that takes multiple photos in a row.​
    • Accept to go back to Tasker
    (i) This wait serves 2 purposes: it waits for 3 seconds before taking the first photo and also waits for 3 seconds between taking each photo. Change this value to the value of your liking to create a shorter or longer time-lapse.


    STEP 5 - TAKE PHOTO


    • Add an "AutoInput Action" Tasker action
    • Select the "Easy Setup" option
    • Open the camera app you selected before and pull down on the notification bar or press the volume down key to start capturing the field you want to click
    • touch the shutter button in your camera app
    • touch the "Accept" button in the AutoInput notification and go back to Tasker.
    • Select the field that represents your camera's shutter button
    • Select the "click" action, accept these settings and go back to the task


    STEP 6 - INCREMENT COUNT


    • Add a "Variable Add" Tasker action
    • In the name field write %count
    (i) This action will increment the %count variable by 1. Since we initialized it with 0, it will now have the value 1


    STEP 7 - REPORT PROGRESS


    • Add a "Flash" action
    • In the Text field write "Took photo nr %count"
    (i) This will make a small flash appear on the screen after taking a photo, reporting how many photos were taken


    STEP 8 - GO BACK TO THE START IF NEEDED


    • Add a "Goto" Tasker action
    • In the Type field, select "Label"
    • in the Label field, select the "Start" label
    • Add an "If" condition to this action and set it to %count less than 3
    (i) This will make the task go back to the action labeled "Start" as long as the %count variable is less than 3. In practice, this means that after 3 photos are be taken, the Goto action will not run anymore. In a timelaps you probably want to take hundreds of photos, so set this value to something like 100 in a real situation​


    STEP 9 - POPUP DONE


    • Add a Tasker 3 second wait action (not shown in the video)
    (i) If you don't add this wait action the popup will probably show up before the last photo is actually taken.​
    • Add a "Popup" action with the text "Done"


    STEP 10 - TEST


    • Press the "Play" button
    (i) You should see your device open the camera app, take 3 photos, each 3 seconds apart, and then show a popup with the word "Done"