
To finish things off, add a Delete File action and target dosomething.txt. The completed action in Keyboard Maestro. We can use this to determine which action runs. Now whenever a new file is added to DO, whatever its contents are will be saved to a variable. Set it to read dosomething.txt to a variable. If you have’t already done it, run the action once so there is a file in the folder to work with.Īdd a new Read File action from the File folder. This means reading the contents of the DoSomething text file. Next, I need to find out what action we have to run. Whenever a file is added to the folder, the action will trigger. Make sure adds an item and ignore partial files are selected. Click the Folder icon and navigate to your DO folder. Keyboard MaestroĬreate a new Macro and call it something like IFTTT Automation. Now that we’ve got a way to quickly add a trigger file to Dropbox, it’s time to look at reading it. With that done, the DO button is ready to use. Finally, I’ve set the Dropbox folder path to DO that will be the folder where the trigger file is created. For this example, I want the Content to be #movies. My text file is called DoSomething which will be the same for any action I create. I want IFTTT to Create a text file in Dropbox that will automatically sync to the Mac.

Using the iPhone, create a new DO recipe using the Dropbox channel. This will automatically activate the new channel. On an iPhone, download the IFTTT DO app and sign in to your IFTTT account.

Log in to the IFTTT account and ensure Dropbox is one of your connected channels, if it isn’t, set it up now.
#DROPBOX MAC TUTORIAL CODE#
This trigger file will contain a code that the automation app reads and then runs the relevant action.įor this tutorial, I’ll create a IFTTT DO button that when I press it, my Mac gets set up to watch movies. I'll use IFTTT to create a trigger file in Dropbox. You can use either Keyboard Maestro or Hazel and Automator to achieve the same results- Keyboard Maestro just makes it a little more intuitive. In this tutorial I’ll focus on the mechanics of the trigger rather than the specific action it runs afterwards.
#DROPBOX MAC TUTORIAL SERIES#
My five part series on Keyboard Maestro, or.
#DROPBOX MAC TUTORIAL HOW TO#
How to Choose the Right Tools to Automate the Mac, and.Journal Your Life with Day One 2 and IFTTT,.I’ve already covered a lot of the fundamentals of these tools so before continuing with this tutorial you should read: You’ll also need an automation app like Keyboard Maestro or Hazel that will do the hard work on the Mac. To follow along with this tutorial you will need both an IFTTT account and a Dropbox account. In this tutorial, I’ll show you how to combine IFTTT- If This Then That-and Dropbox with either Keyboard Maestro or Hazel to control a Mac from anywhere. By linking different services together, however, you can add even more ways to control a Mac. With tools like Keyboard Maestro and Hazel you can do a lot.

Mac automation is something we’re pretty big on at Envato Tuts+.
