Welcome to Tasker Tip Tuesdays, quick tips to help grow your Tasker knowledge. This week I discuss how to create a folder watcher. If you need to know about file movement within a specific directory, you’ll love this useful tip.
File Events are a collection of events in Tasker’s context menu. Their functions are based on their names; pretty straightforward. There is one in particular, “File Modified” that does slightly more than it’s name implies. The Event Context also doubles as a directory monitor.
To begin, follow the steps below:
- Add a new Task, and select the Event Context.
- Within this menu, select File > File Modified.
- From there, select magnifying glass icon (and here is the tricky part) instead of selecting a file, long press on a folder.
- Now back out and enter into the Task to continue.
- Tip: use the Action “List Files” in said directory if you want to locate the file.
Now that you know how to create a folder watcher, let’s see some examples in action to get a better understanding. Enjoy the video below as I demonstrate the steps to creating a folder watcher and a potential use case.
Having a folder watcher at your disposal is a must with Tasker. Whether you are moving files from one directory to another or saving important information into files, a directory monitor is perfect for the job. Use the local built-in variable (array actually)
%evtprm() within the associated Task. It’s value is the directory you are monitoring.
To catch up on previous posts in this series, visit the Tasker Tip Tuesdays page. As always, enjoy and keep learning! Until the next Tasker Tip Tuesday…