Can anyone tell me what I need to do to get beyond the "if" portion of the Tasker event I am trying to build? I want to simply run a video at start-up. I have the Profile set as device boot and I have selected the action to open the file that I want to play but I have no idea what to do with the "if"
> Can anyone tell me what I need to do to get beyond the "if" portion
I assume you mean the 'If' option within the file open action. Every Tasker action has this option. It is not necessary to select it if you do not wish to use it. If your task is not working when you this option blank then something else is wrong.
The boot context can be a bit tricky because the task will usually fire before android has completed the entire boot process. I would try putting a small wait action as the first action in the task. Start with a high number like 10 seconds to test. Then if it works cut the time down until you get to a reliable wait time.
If the wait does not fix it then enable and check the run log to see if the profile is firing and task is running. Menu / more / run log
Thank you very much for your reply. Well it looks like that did something, i went in and deleted the "if" entry I made and added a "wait" action. Now after I boot it has Tasker running but it says there are no active profiles. Which makes no sense as I have it "on" and it is there when I open it.
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/LZCpgdItwCc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
No, it did not play. i did check the log run and have attached it.
The log in shows you still have a 'IF' condition set for the 'open file' action. When you edit the action you should see a trash can beside the 'If' is condition. Tap the trash can to delete the if condition.
No, it did not play. i did check the log run and have attached it.The log in shows you still have a 'IF' condition set for the 'open file' action. When you edit the action you should see a trash can beside the 'If' is condition. Tap the trash can to delete the if condition.
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/LZCpgdItwCc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
just trying to time it right now it appears that I have to swipe out of the lock screen and sometimes it plays only part of the video.
I would suggest just setting a global variable like %Boot To: on with the boot profile task.
Then make another profile with 2 contexts.
1. Context / event / display / display unlocked
2. Context / state / variable / variable value : %Boot = on
Then within the task for that profile play the video and clear the %Boot variable.
So when the device boots the variable %Boot will be set to 'on' then when you unlock the device the video will play and the variable will be cleared.
--
> Thanks, I will try it but I am not sure I am following what you have written in relation to the UI that I have seen so far.
Feel free to post back with questions.
--
> Thanks, I will try it but I am not sure I am following what you have written in relation to the UI that I have seen so far.Feel free to post back with questions.
--
Where do I set the global variables?
You mention "contexts" but I do not see that term.
Interesting, now with the "wait" task removed it plays well after the lock screen is opened. It starts about 11 seconds after I swipe the screen after boot. Any thoughts?
Interesting, now with the "wait" task removed it plays well after the lock screen is opened. It starts about 11 seconds after I swipe the screen after boot. Any thoughts?No idea.. Perhaps when it gets fired earlier in the boot process android puts in some sort of queue.
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/LZCpgdItwCc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.
Would you be available to communicated directly about my project that you helped me on last week?