1. Are you ready for the Galaxy S20? Here is everything we know so far!

Random Wallpapers, one for work, one for home?

Discussion in 'Android Apps & Games' started by taskerrocks, Feb 24, 2011.

  1. taskerrocks

    taskerrocks Lurker
    Thread Starter

    I've setup 2 Wallpaper "cycles", where a cycle goes through a folder full of wallpapers. One cycle is for work, and one is for home. They work fine and just as I intend (steps below).

    However, I don't know how to accomplish the following. Let's say I work from 9am to 6pm. And that I go to bed at 12am and wake at 7am.

    How do I get Tasker to run Cycle Home between the hours of 7am - 9am (when I'm at home, before I go to work), and 6pm-12am? MUST I create 2 separate time contexts or is there a way to do it with just one context? I've already got 1 time context for Cycle Work and it works just fine.

    Cycle 1:
    Context: Variable Value %WALLP must equal 1 before running the Task Cycle 1

    Task Cycle 1:
    a. Variable Randomize %FILE Min 1 Max 10 (the # of wallpapers I've got)
    b. Set Wallpaper file path set to (wallpaper/%FILE.jpg)
    c. Wait 30 minutes
    d. Goto Action Number 1


  2. berky93

    berky93 Newbie

    I think using two profiles will be the easiest method. There are ways to do it by using "if" and "else" as well, but I'm not 100% on those so I can't give you a step by step.
  3. Yeahha

    Yeahha Usually off topic

    Try this

    Context: time from 7:00 to 0:00
    Action 1: Variable set %a to 0
    Action 2: If %TIME > 9.00
    Action 3: Variable set %a to 1
    Action 4: Endif
    Action 5: If %TIME > 18.00
    Action 6: Variable set %a to 0
    Action 7: Endif
    Action 8: If %a = 0
    Action 9: Preform task x
    Action 10: Endif
    Action 11: if %a = 1
    Action 12: Preform task y
    Action 13: Endif
    Action 14: Wait 30 mins
    Action 15: Goto action 1

    You can set %a to whatever name you like, task x is the home wallpaper task, task y is the work wallpaper task. I think this should work
  4. sohguanh

    sohguanh Android Enthusiast

    If you are looking for Live Wallpaper with slide-show effect on your Home screen with interval in secs (5 secs onwards), I have one called My Live WallPaper in Android Market.

    Live WallPaper with your own Media Gallery pictures like a slide-show is what it does.

Share This Page