How You Use Alfred: Mattias Arrelid, Spotify's Director of SDK

Posted on in Showcases

In this series, we are taking a look at how some users have adopted Alfred in their workplace. They'll give us a glimpse of how they use Alfred, how they stay productive and what it's like working for some of the companies we know and love.

Here, Mattias Arrelid, Director of the Spotify SDK, shares how he uses Alfred while working on the latest version of Spotify - a service that fuels us with music every day while we work!

Who are you, and what keeps you busy?

My name is Mattias Arrelid, and I'm on a (never-ending) journey to make Spotify infrastructure better™ across all our supported platforms. Lately, this has manifested itself in some much needed tightening of our build & release infrastructure empowering our mobile & desktop apps, as well as some mentoring for one of my teams who is replacing the beating heart that is our player interface that all our features (radio, search etc.) use to play things inside our apps. Exciting times!

Mattias Arrelid's Desk

On my desk, an Aeropress and some coffee, gloves (yes, this is Sweden), a MacBook Pro Retina 13" (which may just be replaced this month) and a Cinema Display.

How long have you been using Alfred?

That's one fine, albeit tricky, question right there. Looking through my archived e-mails, I see the first newsletter from you in late February 2011. That said, I was obviously a cheapskate until late 2012 - that's when I bought the Powerpack. To compensate, I opted in for the Mega Supporter option once I gave you my money...

What aspects of Alfred make your workday more productive?

The workflows, period. Being a big fan of Quartz Composer and scripting in general, it feels pretty damn amazing to have almost limitless functionality at the tip of your fingers at a cost that's close to zero in terms of setup and complexity.

I don't even want to think about how much time people spend repeating dull operations in their everyday work-life, when they could be using workflows instead.

Are there any workflows you've created or imported that you'd recommend?

Since I'm always running the latest and greatest internal Spotify builds, I've constructed a small set of workflows that easily lets me perform common debugging operations. One is starting Spotify with a certain cache and/or username - this has proven itself very valuable when it comes to error reporting, since you always want to prove your bug on a clean install of the app/version combo in question. Combine this with another little script that parses the Info.plist to pick up the version number and place it in the clipboard - I don't even want to know how many times I've used this when reporting/confirming bugs in Jira...

Another workflow I've been tinkering around with is one that allows me to easily message/call people using my iPhone. I guess Continuity wasn't that bad after all, especially combined with the powers of app URIs (that lets you invoke iMessage/Facetime with your contact's details). I know something similar is available publicly already, but I wanted more granularity in what operation to perform (like FaceTime with or without video).

Another gem that I can't live without is the IMDb workflow. I love their database, and this workflow gives me the option to just bypass their not-so-nice search box and find the right movie directly from within Alfred itself.

Thanks for answering our questions, Mattias. May Spotify continue to fill our ears with great tunes (and weird back-catalogue tunes too) every day as we work and play!

Want to make your team productive too with the Powerpack? Take a look at our corporate licensing scheme and drop us a line to find out more.

Don't Miss A Date with Fantastical 2 and Workflows

Posted on in Productivity

The Flexibits team have just released Fantastical 2, updating their already brilliant calendar app.

icon_512x512@2x Fantastical 2 brings a new full calendar application for OS X Yosemite and uses its very useful natural language parsing. This means that you can enter your entry in the same way you'd say it, and Fantastical will make sense of it and create an entry for you.

If, like me, your muscle memory leads you to popping up Alfred anytime your brain wants to make a note, add a calendar entry or a reminder, these few workflows will satisfy your needs once you've installed Fantastical 2 on your Mac.

Add a Calendar Entry to Fantastical 2 via Alfred

With Robert Böhnke's workflow, you can add an Calendar entry by typing "cal" followed by your natural language entry. Fantastical will do the rest of the leg-work to add the entry to your calendar.

screenshot1

screenshot2

Download the workflow on Github

Add Reminders

You can also add Reminders using Jono Hunt's Reminders workflow. This workflow uses a few keywords to allow you to add the reminder to the most appropriate list, using the same Fantastical natural language parser.

alfred-add-reminder

For example, Jono's workflow allows to to do the following:

  • Typing 'w finish the report' would add that task to the list named Work.
  • Typing 'r pick up dry cleaning sat at 6:30pm' would add that task to the list named Reminders with an alert set for 6:30pm on Saturday.
  • Typing 'g milk' would add that item to the Groceries list.

alfred-add-reminders-show-lists

Alternatively, you can use _"+r" _as a keyword to see all your lists.

You'll then get a Notification Centre notice that the item has been added to your Reminders list.

Download the Reminders workflow

Launch F2 using the "calendar" keyword

Workflows don't get much simpler than this, but a workflow doesn't have to be complicated to be useful.

Veteran Alfred user Ryan Block contributed this workflow to launch Fantastical 2 using the keyword "calendar", so that you don't have to remember the app's name in order to launch it. Of course, you can top up this workflow with any other useful keywords for your own use.

Download the workflow on Packal.org

With these workflows and Fantastical, you'll never forget an appointment or task again!

Connecting Your Remote using Bluetooth

Posted on in Tips and Tricks

Connecting your Alfred Remote to your Mac using a Wi-Fi connection is the fastest and most reliable way. However, there are occasions where this may not be possible, either because your devices can't be on the same network or there is no Wi-Fi network available.

Deprecated

Legacy documentation: In current versions of macOS, Apple no longer allow this type of direct Bluetooth connection. Please set up Remote using a Wi-Fi connection.

In cases like these, Bluetooth can be used to pair your iPhone/iPad to your Mac, allowing you to use Remote without relying on a network.

bluetooth-pairing

The Bluetooth connection is a great alternative for these occasions where there's no suitable Wi-Fi, but comes with a few caveats; Bluetooth itself is a slower way to connect so you'll find that icons can take some time to load on the first connection to a new Remote. Once set up, it's quite fast at dispatching actions to your Mac.

It is also reliant on your Mac and iPad/iPhone staying in close proximity to each other, so your Remote will need to be kept within a few feet of your Mac for reliability.

With these points in mind, it still provides a very convenient alternative to the Wi-Fi connection. Bluetooth pairing only takes a few seconds to set up, and we've created a handy tutorial on setting up Remote using Bluetooth.

Launch a URL in 3 browsers from Alfred or Remote

Posted on in Tips and Tricks

When working on a web design project, the most time-consuming part is often testing in various browsers. To solve this problem, I created a little workflow that would allow me to quickly launch a URL in three browsers at once by tapping an icon on my Remote.

In this tutorial, I'll show you how you can create this workflow in just a few minutes. I also hope it will inspire you to find those small-but-repetitive jobs in your own day that you can replace with workflows or Remote actions to become more productive and less burdened by tiresome tasks.

Creating a Remote action is a two-step process; First, I'll create the workflow itself, choosing the actions I want it to perform. Then, I'll add it to the Remote page.

If you're completely new to workflows, take a look at this tutorial on creating a workflow without a single line of code, which goes in a bit more detail to get you started.

Creating a workflow to launch in multiple browsers

The first step is to create a new workflow. I started with a blank workflow, gave it a name and icon. I then added one "Keyword" input and three "Open URL" actions from the + in the top right of the workflow page. I connected my keyword to all three actions, then proceeded to set each one up.

Screen Shot 2015-02-24 at 10.03.33

When setting up the keyword, I assigned it the keyword "test" with a required argument, which will be the URL I'll type or paste in.

Screen Shot 2015-02-24 at 10.06.04

I double-clicked each of the "Open URL" actions, adding {query} as the URL; This means that the text I type after my "test" keyword will be passed on as the URL each browser needs to launch. Of course, I also choose a different browser for each one, so that it launches in Safari, Chrome and Firefox.

Screen Shot 2015-02-24 at 12.04.02

I now essentially have a functioning workflow, as I can type test http://alfredapp.com into Alfred and press return to launch it in all three browsers.

Screen Shot 2015-02-24 at 12.07.53

However, as I want to use this workflow in Remote, I also need to add a Remote trigger object. I connect this Remote trigger directly to all three "Open URL" actions; I'm not connecting it to the "test" keyword as I want the action to launch the browsers, not pop up Alfred with the "test" keyword.

In this case, I decided that I want the Remote action to use my current selection in OS X as the {query} argument. You could choose to use the current clipboard content if you prefer or choose to use text and enter a fixed URL if you're always testing the same site. I've also given the trigger a unique identifier, an icon and a name.

Screen Shot 2015-02-24 at 12.09.31

Adding the action to your Remote

Now that I've added a Remote Trigger to the workflow, I can add this action to a Remote page. To do this, I go to the Remote tab in Alfred's preferences on my Mac.

I want to add the action to an existing Remote page; Clicking on an empty space brings up the list of actions I can add to my Remote. Under Run Workflow Trigger, my "Launch in 3 browsers" workflow contains the single action created earlier.

And here we go, there's a new action on my Remote page called "Test all browsers". Tapping it from my iPad will make my Mac launch the URL I've selected in OS X in the three browsers I want to test in.

IMG_0297

Tweaking workflows to your own needs

You can download the workflow I've created from Packal, or follow the steps above to create it yourself. You can also grab the icon I created for the workflow or create your own.

When creating or importing an existing workflow, don't forget to customise it to your own needs. For example, I could add a hotkey, similar to the Remote trigger, which launches the workflow with either the OS X selection or clipboard contents. I could add multiple keywords where various pre-defined sites are launched if I know that I'm always testing the same few websites.

I hope that this tutorial will give you a glimpse into how flexible workflows and Remote actions are, and how you can ease the pain of repetitive tasks by creating your own workflows.

Want to see anything in particular in the next tutorial? Tweet us (@alfredapp) your ideas and I'll cover a few over the coming weeks :)

How We (and You) Use Alfred Remote Every Day

Posted on in Productivity

Yesterday was an absolute hoot - thank you to everyone who bought Alfred Remote on launch day! And thank you for all the wonderful tweets, blog posts and comments you've made. It's great to hear that so many of you have immediately adopted Remote into your Mac life.

As Alfred and Remote are so flexible, there are many ways you can put them to best use to suit your own lifestyle. In this post, I shine a light on some of our favourite uses for Remote so far, as well as a few you've shared with us so far.

Pair up your Remote to your Mac

Grab your iPad or iPhone and pair it with your Mac. It should only take a moment to check your Mac and iOS device are on the same Wi-Fi network, and pair your devices by following the steps in the Remote tab of Alfred 2.6's preferences on your Mac. They'll then be able to securely communicate with each other.

Get the right setup

You'll also want to set up your iPad or iPhone to be comfortably accessible so that it becomes a quick-fire command centre while you're working.

iPad on desk Yes, my desk is always this tidy... ahem...

We've got a few iPad and iPhone stands we love; In the promo video and the photo above, you can see the stand Andrew and I use daily. It's the Anker stand, which is small and understated, and works for both the iPad and iPhone.

The other stand we occasionally use is from Just Mobile; It's stable and stands a little higher, which is great for the old iPad 2 that sits in the kitchen and primarily serves as a music controller.

So long as your iPad or iPhone can run iOS 7 or 8, it'll make a great Alfred Remote, so dig out those older devices that are going unloved at the bottom of your drawer!

For your convenience, we've included an option in your iOS Settings, where you can choose to prevent your device from sleeping when Alfred remote is active. It's particularly handy if you're planning on sitting at your desk all day with your iPad plugged in, and want to keep your iPad awake.

Remote-settings-iOS

Fill up your own pages

To get you started, we've included some default Remote pages, including a page of popular Apple apps, System Commands, common folders and bookmarks. However, Remote really comes to life once you start swapping out apps for YOUR favourite ones, and creating pages for things you use daily.

For designers and developers

Create a page or two containing your most used apps, folders for your main projects, a bookmark for API documentation you need to use many times a day, and an action to launch your current URL in all of your browsers to allow you to quickly test your work.

In my next post, I'll also show you how you can power-up your Remote by launching multiple actions with a single tap with the help of Alfred's workflows.

IMG_0294

For music fiends

You'll find the iTunes control page bundled with Remote, which gives Powerpack users to control iTunes; Play tracks, start random albums and rate your . However, if you're keener on Spotify, Vincent de Saboulin has also produced a fantastic Spotify workflow which gives you a huge amount of control over your music.

IMG_0295

We've also seen screenshots of a Beats music workflow in the wild, so essentially, if your favourite music player supports AppleScript, it may be possible to create a control panel like this for it.

For the busy people!

Whether you're a writer, project manager or anyone else who works with a lot of information, there are no doubt repetitive, uninspiring tasks you waste time on every day. Alfred 2 for Mac takes you a long way to improving your productivity with fast file search, clipboard history and an unbelievably broad range of workflows created by our community, but Remote can help you even further.

As well as modifying the Applications page to contain your most used ones, create a page of clipboard snippets to avoid re-typing commonly used bits of text like your office address. Build a page of links to your blog administration page, your site stats, your webmail and so on, to save from having to remember the URLs.

Numerous workflows are also beautifully useful for writers, project managers and data wranglers; We'll be featuring some great Remote-friendly workflows soon.

Power-up with Workflows

In the next post, I'll take a look at how you can launch multiple actions with a single tap. This allows you to customise your actions further, making Remote fit your unique lifestyle even more.

In the meantime, we'd love to see how you use Remote. Share photos of your Remote and your desk with us on Twitter (@alfredapp) and we'll do a round-up of the best photos in the next few days!