Posts tagged with "automation"

IFTTT 1.2

Released earlier this week, IFTTT for iOS 1.2 improves on native Reminders and Photos integration by allowing users to create recipes that save new items into the Reminders and Photos apps. Previously, IFTTT could only read data from Reminders and Photos and use that as a trigger for other actions.

I wanted to wait a couple of days before posting about this update to test how frequently the new background refresh API in iOS 7 would let IFTTT check for triggers and launch recipes. Unfortunately, I haven’t seen notable changes in execution times – for instance, bookmarks that I add on Pinboard sometimes take about an hour to be added to Reminders. My understanding is that IFTTT isn’t using silent push notifications to instantly trigger recipes in your account, therefore iOS 7 background app refresh can make the app check for updates more often in the long term, but that will require several weeks of testing. Thus, I’m happy to keep testing the feature and report back.

The improved Reminders and Photos integration is very nice. You can add new photos from URLs, create reminders into a specific list, and even set a priority for them. I wouldn’t rely on Reminders integration to save work-related tasks, but I find it very useful to let IFTTT check on, say, Instagram or Facebook from time to time and save the photos I want locally on my device.

I’m still impressed by what IFTTT is doing with their iOS app, and I’m looking forward to seeing what’s next for iOS 7 background sync.

Permalink

Resolve and Clean URLs with Clean Links for iOS

Clean Links

Clean Links

In July, I wrote about my Pythonista script to resolve and clean URLs copied from apps that used shortening services. Clean Links, developed by Griffin Caprio, is a free iOS app that does more than my script as it resolves URLs, removes useless parameters, and supports x-callback-url for inter-app communication.

Clean Links’ sole purpose is to receive a URL that was shortened, put behind a proxy, or cluttered with parameters/tokens and turn it into the clean, basic version that’s the one you want to share with your friends and followers.1 Clean Links can resolve YouTube URLs, links to blog posts generated by FeedBurner, classic Bitly URLs, and more. In my tests, Clean Links never failed to clean up a URL that I gave to it – the recent addition of YouTube URL support is extremely welcome as YouTube mobile redirects are particularly annoying. By default, Clean Links cleans a URL you’ve copied and puts the cleaned version back in the iOS clipboard.

With callbacks, Clean Links can be used with other apps as a “URL cleaning service” in the middle of a workflow. Here’s an example: I’ve found a link in Tweetbot and I want to tweet it, but the URL is ugly. With Clean Links, I can copy the URL and launch this Launch Center Pro action to have it cleaned up and return to Tweetbot’s Compose screen automatically. Or, with this action, you can resolve a URL and automatically add it to the “URL” field of a new event in Fantastical 2.

A tip for x-callback-url power users: when chained to other apps, Clean Links can automatically insert text not by using clipboard hacks, but through a “return parameter” called retParam. If you take a look at the URL schemes that power the actions above, you’ll see that, for Tweetbot, the text parameter is omitted from the Tweetbot URL scheme and given to retParam (same concept for Fantastical). If you want to pass along cleaned URLs with x-callback-url keep this in mind and take a look at the app’s documentation.

Clean Links has a very utilitarian approach to the problem it solves: it’s powerful, but it doesn’t come with a pretty UI for iOS 7. You’re not supposed to be looking at Clean Links all the time though, and the app’s functionality makes it the best solution to clean URLs and send them to other apps I’ve found. Clean Links is Universal and available for free on the App Store.


  1. Tweeting URLs with “mobile.” domains and UTM tokens is comparable to this

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Tweetbot Workflow: Upload and Share Dropbox Text Files

Tweetbot workflow

Tweetbot workflow

In Tweetbot 3, Tapbots removed the ability to post tweets longer than 140 characters using built-in services for text upload. While I understand that it wasn’t one of Tweetbot’s most used features, its removal got me thinking: would it be possible to replicate the feature using Dropbox and plain text files in an automated iOS workflow? I came up with a solution that requires Launch Center Pro and Drafts, and I’m quite happy with it.

Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Fixing iOS Screenshot Status Bars with Python

Dr. Drang:

On last week’s episode of The Prompt, Federico went off on a rant about ugly iOS screenshots. He wasn’t complaining about the apps themselves being ugly, he was chastising those of us who post screenshots with status bars showing inconsistent times, signal strengths, and battery levels. And Lord help you if your battery icon is in the red.

His recommendation was Status Magic, a Mac app that cleans up the status bars in your iOS screenshots and makes them uniform. It looks like a nice app, but my thoughts gravitated toward a script using the Python Imaging Library. Why would I write a script when an inexpensive app is available?

Fixing iOS status bars is one of the reasons I need to use my Mac with Status Magic because there is no similar app on iOS. I am playing around with Dr. Drang’s script, which can be easily adapted to Pythonista and integrated with the app’s photos module for Camera Roll integration. Putting together status bar replacement images that match Apple’s ones is a bit of work (it’s tricky to get the fonts right, but now I’m trying this) and they won’t produce good results with blurred status bars, but those are the same inconveniences that iOS 7 brought to Status Magic anyway.

I’m looking forward to seeing what tweaks and improvements the Doctor will make to his script. Once I have a good solution for Pythonista (which I already use to combine screenshots on iOS), my iOS writing and editing workflow for text and screenshots will be largely similar to the OS X one (I still need a good uploader for Cloud Files and an iOS version of this).

Permalink

iWork and Automation

Peter Cohen:

But this whole issue unveils a more fundamental problem: by neglecting AppleScript support in iWork apps, Apple underserves customers who would otherwise use their products - not just big companies with IT departments, but freelance workers who want to save time, small and medium-sized businesses that benefit from workflow automation tools, and others. AppleScript may be techy, but it’s pretty democratic - anyone who wants to use it should be able to use it.

I don’t buy the idea that, because they are a “rewrite”, the new iWork apps can’t have AppleScript. As Peter says, an automation tool that freelancers and small businesses relied upon is gone, and Apple isn’t providing an alternative. Unless you keep the old iWork apps installed.

Permalink

AppleScript, Automator, and Automation Improvements in Mavericks

I have been using Mavericks for a little while now and I have to admit that I was a little slow to get excited about this release of OS X. Once I started to sink my teeth into some of the power-user features, though, it didn’t take long for me to really get sucked into trying out every new geeky addition, specifically all of the new AppleScript features.

I will be the first to admit that AppleScript is not my favorite language and I only ever use it when I absolutely have to, but, with the release of Mavericks, Apple has added some very compelling reasons to give it another chance. I was recently discussing AppleScript with a developer friend of mine, and we agreed that since Apple had begun stripping out some script-related functionality of core apps like iTunes, it would not be surprising if the language was slowly phased out of any upcoming OS releases. However, I was wrong. In a surprising turn of events, Apple decided to breath new life into AppleScript and make it easier than ever to write clean and reusable scripts. Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Launch Center Pro 2.0 Review

Launch Center Pro, developed by Contrast (née App Cubby), can be considered the app that spearheaded a small revolution among iOS power users. Initially envisioned as a Notification Center tool, following an Apple rejection in late 2011 the app was released as Launch Center; in the summer of 2012, App Cubby completely reworked the inner workings and design of Launch Center and turned it into Launch Center Pro, allowing users to create custom actions with personalized URL schemes and therefore kicking off a series of months that saw the apperance of several other apps focused on actions, URL schemes, and automated workflows. In looking back at the past year of iOS automation, I think that Launch Center Pro 1.0 was a major turning point in that it proved that many iOS users wanted to create actions and workflows to save time and be more productive.

In March 2013, App Cubby released Launch Center Pro 1.1, which focused on TextExpander integration in URL schemes, Action Composer tweaks, and deeper system integration with clipboard actions for text and more. The app’s library of supported third-party apps kept growing as more developers took the opportunity to address the interest sparked by Launch Center Pro to add URL schemes to their apps. I remember, however, that back then App Cubby’s David Barnard – the same developer behind the recently released and successful weather app Perfect Weather – started telling me about his plans for the future of Launch Center Pro and expanding to other supported services, apps, and devices.

With today’s Launch Center Pro 2.0 for iPhone, a free update for existing customers, Contrast wants to ask: in the era of Drafts actions and Control Center, can Launch Center Pro still have a spot on a user’s Home screen, and possibly in the dock? Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


AppleScript XML-RPC

Daniel Jalkut:

My mind was fairly well blown this morning to learn that for more than ten years, AppleScript on Mac OS X has included a built-in command for communicating with XML-RPC and SOAP endpoints on the web.

I had no idea this existed either. Following Daniel’s example script, I have put together a Keyboard Maestro macro that, with a single hotkey, gets the latest post from MacStories, shortens its URL, and tweets it with Tweetbot. It’s the Mac version of my Editorial workflow, and I’ll share it soon.

Permalink

Editorial Workflow for iThoughts

I had a feeling it was only a matter of time before Rob Trew started playing around with Editorial. Rob is the author of some of the most amazing scripts for OmniFocus and mind-mapping that I’ve ever used, and now he has created an Editorial workflow to turn a Markdown document into a tab-indented list that can be pasted in iThoughtsHD. In iThoughts, you’ll end up with a nicely formatted mind map that respects the indentation of the original document. This is just another example of Editorial’s flexibility in the workflow system and Python scripting.

Side note: I still have to check out iThoughts’ new Mac version, iThoughtsX. I’ve just been too busy finishing an eBook and submitting it to Apple.

Permalink