Apple has updated all of its operating systems, including a macOS Sierra update that promises to address a major PDF bug, but read on to learn why you should probably wait to install the updates. Some confusing reports claim that Apple has added Netflix support to its TV apps for iOS and tvOS, but Josh Centers explains why this isn’t quite true. Jeff Porten follows up on his CES coverage with a discussion of how 5G cellular networking could change the way you use the Internet from mobile devices. Finally, as a bonus, Adam Engst has compiled your stories about Mac automation, which he will also send to Apple executives. The response was overwhelming, so don’t feel obligated to read every story right away, but many of them are amazing. Notable software releases this week include Final Cut Pro X 10.3.2, Compressor 4.3.1, and Motion 5.3.1, BusyCal 3.1.4 and BusyContacts 1.1.6, Mailplane 3.6.9, Boom 2 v1.5.2, Logic Pro X 10.3, and Security Update 2016-007 (Yosemite) and 2016-003 Supplemental (El Capitan).
Apple has released small updates for all of its operating systems to address bugs and security concerns. Apart from Sierra users who have experienced problems with PDFs, most users will be best served by delaying updates.
macOS 10.12.3 Sierra — The macOS 10.12.3 Sierra update includes just a few notable fixes. Preeminent among them is a fix for the bug that caused Preview to delete OCR text layers when editing a PDF (see “Sierra PDF Problems Get Worse in 10.12.2,” 2 January 2017). The update also promises to resolve a compatibility issue with PDF documents that have been exported with encryption enabled.
Unfortunately, early reports from developers indicate that many other problems with PDFKit remain; Michael Tsai of C-Command said that he is still seeing previously reported user interface and rendering bugs. For instance, open a PDF in Preview, choose Tools > Rectangular Selection, draw out a selection, and press Command-C — you’ll see a horrible display bug that appears to delete the entire page until you click again.
Apple also claims that the 10.12.3 update:
- Improves automatic graphics switching on the MacBook Pro (15-inch, October 2016).
- Resolves graphics issues while encoding Adobe Premiere Pro projects on the MacBook Pro with Touch Bar (13- and 15-inch, October 2016).
Fixes an issue that prevented some third-party applications from correctly importing images from digital cameras.
macOS 10.12.3 is a 1.05 GB update available via Software Update. Alternatively, you can instead download a delta updater (for 10.12.2, 1.28 GB) or combo updater (from any version of 10.12, 2.04 GB). If you’ve had PDF problems with Sierra, you probably want to install it right away. Otherwise, hold off for a few days to see if any major issues are reported online.
The update also includes 9 security fixes.
iOS 10.2.1 — Release notes for the iOS 10.2.1 update are minimal: “…includes bug fixes and improves the security of your iPhone or iPad.” However, there are 13 confirmed security fixes in the update. The update — 67.4 MB on an iPhone 7 Plus — can be obtained via Settings > General > Software Update or from iTunes.
Since it doesn’t appear to be a major update, we recommend holding off on updating to iOS 10.2.1 for a week or so to be sure that no problems crop up.
tvOS 10.1.1 — You can obtain the tvOS 10.1.1 update on your fourth-generation Apple TV via Settings > System > Software Updates > Update Software. Other than its 9 security fixes, we know nothing about the update, but can assume that it contains small bug fixes. If your Apple TV is working fine, there’s no need to update immediately, but it’s probably worth installing next week sometime if no problem reports appear online.
watchOS 3.1.3 — Like the iOS and tvOS updates, the watchOS 3.1.3 update has minimal release notes, other than the whopping 31 security fixes. The 126 MB update can be found in Watch > General > Software Update on your iPhone. Remember that upgrading requires your Apple Watch to be in range of your Wi-Fi–connected iPhone, connected to its charger, and charged to at least 50 percent. The update will likely take longer than you expect, so allot at least an hour.
Given that the watchOS 3.1.1 update bricked a number of Apple Watches, and was later withdrawn and rereleased by Apple, we recommend holding off on the watch OS 3.1.3 update for at least a week, if not more.
AppleInsider caused a bit of a stir when it reported that the TV app for iOS and tvOS now supports playing Netflix content. As you may recall, Netflix hasn’t yet agreed to integrate with the TV app (see “tvOS 10.1 Unifies the Apple TV Experience with “TV” App,” 12 December 2016). However, the AppleInsider report is correct that you can indeed find and stream Netflix content from the TV app. But TechCrunch’s Matthew Panzarino correctly pointed out that such functionality has been there
from the launch of the TV app.
So what’s the deal? Netflix doesn’t work with TV, but it also does work? It’s a bit like the famous Schrödinger’s cat thought experiment, in which a cat in a box is simultaneously alive and dead. But unlike quantum mechanics, there’s a simple answer to this conundrum.
From the launch of the fourth-generation Apple TV, tvOS search results have presented multiple ways to view content, assuming the content provider has integrated with Apple’s search engine. Netflix was an early partner in this, so if you searched for, say, “The Walking Dead,” the content listing would give options to watch the show in AMC, iTunes, or Netflix.
That data has been available to Apple since tvOS’s launch, and it has grown as Apple has added additional partners. The TV app is primarily a new graphical front end for this data, but content providers have to sign on for the new functionality the TV app offers, such as:
- Movie and show recommendations
- Placement in the Up Next queue
- The app being featured inside the TV app
That’s the stuff Netflix hasn’t agreed to. Why not is anyone’s guess, but I suspect it involves fears of watering down the Netflix brand. I’ve heard speculation that it’s due to data collection, but that doesn’t make much sense since the TV app opens content inside the content provider’s app, which could collect whatever data was desired. I think it’s more likely that Netflix doesn’t want to be just another player in an interface that blurs the lines between content providers.
But if I search inside the TV app for the Netflix-only “Stranger Things,” it not only offers the show, but also lists episodes and lets me play them in Netflix in a single tap. That’s because TV is drawing upon that search functionality that’s been there from the beginning. Netflix is fine with you using Siri to find Netflix content but wants you to browse inside its own app.
However, that search also now works in iOS. Why? Because when the TV app debuted in iOS 10.2, Apple integrated iOS’s Siri search data with tvOS’s Siri data. In iOS 10.1, if you asked Siri to show you James Bond movies, it would show a random assortment of movies. Perform the same Siri search in iOS 10.2, and it works just as it does in tvOS.
This confusion illustrates just how tricky content deals can be. Since the Siri Remote’s Home button features the same icon as the TV app, it’s reasonable to assume that Apple planned the TV app to be the original front end for tvOS. But Apple probably hit a snag in negotiations and had to scrap those plans in order to launch. In the meantime, Apple used the Siri search functionality as a way to aggregate content until it could work out enough deals to make the TV app useful. When Apple had enough partners on board for
the TV interface, the company decided to launch, even if Netflix wasn’t on board.
In the meantime, “Take Control of Apple TV” should help you resolve any other conundrums you discover in the tvOS interface.
One of the events I attended at CES was a panel discussion on 5G, the umbrella term for the next generation of cell phone network technologies. Industry watchers don’t expect 5G to be widely available until 2020, but work is already underway to develop the necessary technology and standards.
Historically, new cell technologies are faster, and prices will be high at first but will eventually come down to “normal,” with different people deciding what’s reasonable to spend. 5G will likely be different, however. Yes, it will be faster, breathtakingly faster, in fact, with peak speeds of perhaps 26 gigabytes per second. (Yes, that’s bytes, not bits.) But 5G will be better in numerous other ways too, which could make what we’re using now seem rapidly antiquated, in much the same way that a modern broadband connection isn’t merely faster than dial-up.
This raises a chicken-and-egg question, though: what exactly would we do with networks that are this fast? Do we really need streaming 4K video on our phones? Will we look back on our current video technology the same way one might regard a first-generation 3GP video today? What other media and Internet services become available when such throughput is widely and reliably available?
I’ll provide an overview of the session and then bring us back to Earth with an analysis of whether we’ll get what’s being promised. The irony of the session is that we were discussing multi-gigabyte cellular throughput in a hotel conference room that promised free Wi-Fi at 384 Kbps.
384 Kbps hasn’t been considered a decent Internet speed for years, and selling 1 Mbps service for $15 per day is the very definition of “shameless.” This disconnect with reality was good cause for skepticism in the room.
Goals for 5G — No one on the panel talked about 26 gigabytes per second; that came from the descriptive materials that CES published before the event. Interestingly, the Wikipedia page for 5G says that faster speeds are not a goal, so I’m unsure where the Consumer Technology Association came up with it. Is it a technical or marketing goal, or something that just naturally pops out of technology in current planning? Why not 8 GBps, or 100 GBps? Pretty much any number in front of “gigabytes per second” is a major improvement on what we have now.
But it’s not just about speed. 5G is designed to have much lower latency than current wireless services. Latency is the amount of time it takes for the network to figure out what to do before it actually happens; if bandwidth is analogous to the amount of water coming out of a garden hose, latency is the amount of time between turning the spigot and the water first spurting out of the hose. Some latency is unavoidable because the speed of light can be annoyingly slow for some purposes, but we humans perceive actions as instantaneous when latency takes only a few milliseconds. This could blur the distinction between what’s in the cloud and what’s on our devices; if we download something the perceived instant we press a button, what
difference does it make if it’s local or on a server?
5G will also support extremely low-throughput, low-frequency data that will be useful for Internet of Things devices. On a 4G network, a network-enabled sensor needs to be on the network at all times, which kills its battery life. 5G will include protocols that use far less power, enabling devices that can run for years without a battery recharge or replacement. In keeping with the belief that far more of what’s currently not “smart” will be network-enabled in some way, 5G networks will be able to handle far more devices on a single cell simultaneously.
Several panelists referred to 5G’s capability to do this as “network slicing.” I’ve been unable to find a reference comprehensible to the layperson on how this magic takes place, but in effect, a network slice is a guaranteed slot of airtime and bandwidth to a 5G device granted by the cell tower. You don’t need to worry about dropped calls or temporary Internet data brownouts; the connection to the network is a guarantee of high service quality. This in turn allows for different expectations of what can be done with the network. For instance, it’s not a big deal on 4G if you can’t get through to Netflix for ten minutes, but
it could be a bigger deal if a hypothetical robotaxi loses connectivity for that time. (That said, increased network reliability makes it easier to sell time-limited services like movie rentals if no one is concerned about download time or jittery connections.)
In theory, the promised nirvana of 5G is that the network is so fast and so reliable that we forget it’s there. If you’re not sure how different that is from today, think about how often you check the bars on your phone for signal (or Wi-Fi bars in your Mac menu bar). 5G hopes to be so reliable that those indicators can go away. Ask yourself how certain you’d need to be about network connectivity before you’d be willing to let those bars disappear.
5G Timeline — For devices and software from hundreds of vendors to interoperate effectively, a standard must first be drafted so that everyone can build on the same platform. These standards are recommended and issued by a cornucopia of acronym agencies, including the Next Generation Mobile Networks Alliance (NGMN), the International Telecommunications Union (ITU), the 3rd Generation Partnership Project (3GPP), and the Institute of Electrical and Electronics Engineers (IEEE). It’s unclear to me which, if any, organization has the final say on the standard. Regardless, standards are voluntary, so it’s more a question of getting everyone to agree on technological
protocols than bureaucratic ones.
The panel was consistent in suggesting that 2020 was going to be when most people (presumably, in technologically advanced nations) would get their first taste of 5G; Wikipedia is less optimistic, suggesting the early 2020s for when the final standard would be released. Draft standards will exist between now and then, but because the drafts can and will change, those buying hardware (or companies investing in networks) may suffer an early adopter penalty if their devices aren’t fully compatible with later drafts or the final standard. So while a 5G modem chip is already available, don’t rush out and buy devices using it.
5G deployment may be delayed in the United States for two additional reasons. The first is network investment; our telecom carriers invested heavily in 4G LTE networks, and they may balk at moving to 5G until they’ve effectively recouped that investment.
Second, as with earlier networks, rollout in the United States might also be delayed by its vast rural geography, as well as relatively light regulation for cellular networks, whereby the major carriers decide their own plans for upgrades and competition. Nothing that I’ve heard of in 5G allows for wide-area coverage from a single cellular tower, so urban areas will almost certainly get 5G coverage first — along with major arterials between cities. Less-populated areas will lag behind.
Beyond that, of course, your devices must support 5G before the fancy network does anything for you. Some manufacturers will introduce it early to compete on technology, but if Apple isn’t among them, you’ll have to wait longer for a 5G-enabled iPhone.
Depending on the cost of 5G chips during the early adoption period, you may see more 5G networks deployed to compete with existing home cable and fiber networks, with standalone modems coming in more cheaply than those small enough to fit in a cell phone. (This would be excellent for people currently living under Internet monopolies, but again, the less dense your population, the less likely you’ll see rapid 5G buildout in your region.)
In any case, South Korea’s SK Telecom has committed to having a test 5G network up and running at the 2018 Pyeongchang Winter Olympics, so you’re about two years away from hearing breathless news articles about a network technology you won’t be able to use yet.
Potential Uses of 5G — It would be wonderful to live with a technology where we truly forget about networks and coverage, and everything just works all the time. When I’m traveling, I ritually check my cellular network signal in every new hotel room and then compare that to the speed of the local Wi-Fi. In most large hotels, the quality of both varies widely based on room assignment.
I can see a near-perfect network being possible in urban areas, but I don’t see how it could work as well in the countryside or tricky locations like subways and elevators. Barring some breakthrough technology for piercing radio dead zones, the laws of physics will have their say. 5G networks will allow for simultaneous use of multiple radio frequencies, and some are better than others for penetrating substantial physical barriers, so you can expect some improvement. But in general, some frequencies are good for lots of data, and others are good for lots of distance or obstructed connections to a cell tower. If you’re in a zone where you’re relying on lower-frequency penetration of lots of physical objects, you won’t get the
Vastly higher maximum speeds might also enable new media that are inconceivable today. The most obvious of these are virtual and augmented reality services that would strain the networks and phone bills of current 4G users. One panelist mentioned a VR program that requires several gigabytes to download; that’s limited to your home network now. Plus, 5G’s low latency is necessary to prevent motion sickness for VR users.
Imagine if virtual and augmented reality apps became as commonly used as mapping apps are today. That would be a sea change in both how we interact with mobile technology and what we require of our networks. Similarly, wearable technology becomes much more important when there’s a steady stream of useful data about our local environment being fed to us.
Finally, we’ve already seen the start of personal broadcasting, but 5G could make it big news. Current networks are geared for around 90 percent downloading and 10 percent uploading, on the theory that people are more interested in getting than publishing data. 5G is expected to put equal emphasis on upstream and downstream traffic to support autonomous vehicles, remote surgery, and other scenarios where plenty of upload bandwidth is crucial. Consider too the debates about whether police should wear body cameras at all times; 5G could create an environment where anyone could choose to wear one and make it public with a button press or a voice command.
From Predictions to Reality — I am, to use the word from the name of the panel, “stoked” about 5G and its eventual adoption, but I’m less optimistic about how rapidly we’ll see these benefits. First, there’s no agency in charge of making sure that what’s being sold as 5G is truly 5G. Just as some augmented 3G services were marketed as being 4G before 4G was widely available, I expect the same thing to occur with 5G.
The biggest problem isn’t technology but business models. It’s as silly to apply 2017’s network pricing to 5G as it would be to think of our current broadband connections in terms of the AOL “pay by the hour” pricing plan. But some things about pricing models have been extremely sticky. Data caps have rarely been removed from provider plans, and even then, an unlimited data connection seldom takes advantage of the fastest speeds a network can provide. It’s still common for types of data (generic data, streaming video, and tethering, for instance) to be metered at different rates. On my current data plan, a 5G connection could run up bills of $100 per second. The last thing I want is technology that makes me more frightened
about what background apps on my phone can do when I’m not paying attention. Obviously, $100 per second isn’t going to be the pricing model (but don’t be surprised by scattered reports of people with $20,000 phone bills), and it would be difficult for nearly anyone to consume so much data in any real way, but the point stands: we don’t know what 5G’s pricing model will be like.
To me, the true breakthrough would be technology that requires less of my attention, not more, and that means business models without caps or metering. Even more revolutionary would be to eliminate the current necessity of thinking about various tasks as requiring different places. Despite the fact that LTE is faster than many public Wi-Fi hotspots, I still have to think in terms of “what I do at home,” “what I do at Starbucks,” and “what I do when I’m relying on my phone” when I do my Getting Things Done planning. It strikes me as anachronistic that there are things I still have to do at home before heading out for the day and things that I can’t do when on a long trip, but that’s today’s state of affairs. I’d be
more excited about such a change than just about anything else 5G could offer, but I don’t trust the phone companies to give us that.
Instead, you can expect service plans varying based on what the market will bear, even when the technology could enable revolutionary change. The average cellular bill in 2014 was reportedly $73, and I expect 5G plans to try to nudge that number higher. Granted, what you’ll get for that amount will be a higher quality of service along various technological measurements.
What I’d really like to see is a technology that makes broadband speeds truly universal and affordable to all Americans. Here, my bet is on my personal carrier, Google Fi, other scrappy third-party network providers, and to a lesser extent T-Mobile and Sprint, to come up with service prices that change how we think about our monthly phone bill. 5G could help make that possible, but it will be an uphill battle, given how entrenched today’s major carriers are. Nonetheless, cellular network services, alongside frequently monopolistic home Internet services, richly deserve disruption.
With Apple making some moves that seem to indicate a waning interest in user automation technologies, we asked you to tell us how you rely on automation to get your work done (see “Tell Us Your Mac Automation Stories,” 7 January 2017). The stories poured in, and you can now read about the amazing things that fellow TidBITS readers have accomplished with AppleScript, Automator, and the many other automation technologies available to Mac users. It’s a lot, so don’t feel the need to do it all at once.
I’ll send these to Apple’s Tim Cook and Craig Federighi as well so they can see just how important automation is to the future of the Mac. And just to bring up how constantly I turn to automation tools, the start of each story below was formatted with a single grep search in BBEdit, saving me at least 10 minutes.
On to the stories! I’ve edited them lightly for typos, consistency, and length, and I’ve added links to all the apps mentioned to highlight which apps have become cornerstones of automation systems.
Wooster — Automator is one of my favorite utility apps. It’s pure magic how I can get Apple and third party apps to collaborate to do just about anything.
For instance, I can have the Finder duplicate/rename 300 screenshots, send them to Pixelmator to crop, and then tap Transmit to upload them to my server. It’s a pain in the neck to do it by hand and honestly, it’s nothing short of magical having all these apps work together to complete my task for me.
Tommy Weir — I have a custom naming approach for all files on my system. And every year, they are sorted into relevant groups and archived using the Automator actions provided by the developers of DEVONthink Pro Office.
It’s a simple thing: a folder is monitored and files are imported and tagged. But most important is the knowledge that the organisation is done and it’s consistent year in and year out. I can’t tell you what that means for my peace of mind in my business. Two other examples:
- My son uses folder actions all the time, resizing images, converting and renaming them for different use cases. It’s his party trick for employers while he’s studying at Boston College.
- I use a combination of Automator, Hazel and Keyboard Maestro together with some scripts I picked up online to keep my computer organised. These various tools move files around to their rightful folders, rename files to my standardised system, save email attachments and move them to the right folders, clear up strays that land here or there, archive off application installers, and delete old files that are backed up and not in use for some time.
Chuck Shotton — In a nutshell, most of the Web industry on the Mac in the early days of the Internet would not have existed if not for Sal’s work with AppleScript, AppleEvents, scriptability/recordability of applications, AppleEvent Dictionaries, the Script Editor, and the concept of scripts as runnable applications. Every external extension created for MacHTTP or WebSTAR, Userland Frontier, and all of the other HTTP servers on the Mac depended exclusively on these technologies.
It was how applications talked. It’s still how they should talk, but Apple seems to have never embraced it as they should have. Even the newest incarnation of MacHTTP, MacHTTP-js, depends on a slew of AppleEvents to do its job. Let’s hope this great legacy isn’t lost just because it doesn’t work on iOS.
Anthony Reimer — I use AppleScript and Automator for automating actions in the Finder. Some common things I have created that I use at work are:
- Clean the desktop of shared computers.
- Automate server connections.
- Move downloaded disk images to an Installers folder using Folder Actions.
- Open the current URL in a specific browser, so if a page needs Flash, I can open it in Google Chrome.
I also use these automation technologies to integrate with FileMaker Pro. For instance, I’ve written a solution that exports text data from FileMaker to a file, has BBEdit clean it up, and then uploads that edited file to a Web site using Fetch. AppleScript and FileMaker scripting can make this a single step for the user.
The Mac Admin community is all about automation for both the efficiency that comes from it and the consistency of result. While Python and shell scripting are core to that automation, I still put Automator and AppleScript to use on a regular basis.
Anonymous — For the past 16 years, I’ve done financials based on a series of companies approximately 15 times per year. The workflow I’ve created reduces 21 pages of reports to a readable 4 page and about 90 minutes of my time to 20. That’s roughly 16 * 15 * (90-20) = 16,800 minutes or 280 hours or 35 work days or 7 work weeks of my life.
That’s time spent with family, time doing other work things, and time that I am not simply throwing down the hole of pointing and clicking. Thank you for HyperCard, AppleScript, Automator, and anything else Apple can provide to give me more time!
Rob Wells — I work at a small newspaper, and we depend on AppleScript.
The most important is an AppleScript that creates working pages from a master InDesign file. It applies the right styles, sets the date of the edition on each page, sets the page numbers, and saves a copy to disk with an appropriate, dated filename.
It was written almost five years ago and has prevented many mistakes, not least with incorrect dates going to print! Previously staff would duplicate an old page — risky for many reasons.
On the other end, we use AppleScript to reliably produce the PDF files for use by our printers, custom settings and all.
Other things we’ve done with AppleScript include scripting BBEdit to fix common mistakes in stories; retrieving and setting weather forecasts, TV listings, football fixtures and scores; and creating the barcode (and checking that it is correct — an occasionally major problem before). Anyone is welcome to use our code.
That’s just AppleScript. Most our newer tools are written in Python with an AppleScript interface. And there are all sorts of things we do with Hazel and Python scripts run as launch agents (through Lingon).
Our newsroom is an all-Mac office, and on occasion a member of staff has suggested buying cheaper Windows machines. Alongside the longevity of Macs (most of ours are almost 10 years old), automation is always the big reason I give for why we would be worse off.
My understanding is that bigger newspapers have software written for them to handle this stuff, which we could never afford. Mac automation technologies have enabled us to do it ourselves in-house.
Mike Warren — I’m so old I remember when the whole reason for having a computer was automation. I consider AppleScript a programming language. I’ve created programs for record keeping, budgeting, a foreign language dictionary, and flash cards. I use AppleScript for a daily email message to my partner (it pulls info from flat-file databases and Calendar, assembles a message, sends it via Mail, and saves it as my Safari home page. I have so many little scripts and Keyboard Maestro macros that I feel helpless when I have to use someone else’s Mac.
Daniel — Keyboard Maestro, with an accompanying mix of AppleScript and shell scripts, is a wonderful glue for Web applications that lack APIs. After a recent migration between institutional repositories (for academic publishing) hundreds of full-text files were missing because of a bug in the new system’s import script. There were no APIs for uploading new files to existing records in the system, and some manual steps were required in the upload form, but the automation tools allowed me to reduce each process from maybe 30 error-prone clicks in both of the applications and Finder to about three clicks per record. It saved
me several hours of tedious work.
Another error in the same migration required me to verify the order of attached files in both of the systems, also for a few hundred items. Thanks to automation I could, with a single keyboard shortcut, navigate to the next item in a list of IDs, find the record in both of the systems, then open all attachments in order in new windows and tile them on the screen in two columns allowing me to see differences at a glance. If they were in order, a new click moved me to the next item, or else I could handle the error before moving on.
Thomas Tempelmann — As a developer (for apps such as Find Any File, iClip and iBored), I recently started using Automator and AppleScript to assist my customers when they have some technical troubles and are not too computer-savvy. I have scripts to collect files I need to look at; fetch system information; email them to me; or copy, move and delete files to fix some of their setups.
And just the other day I used AppleScript to verify a slow memory leak in one of my apps, which required thousands of mouse moves. With AppleScript, it took me 15 minutes to write the code and then have it perform its task for about 1 hour to cause the issue that otherwise took users days or even weeks to run into. A few hours later, and I managed to identify and fix one of the most obscure bugs I had for a long time in my app.
Also, I’m happy to have spent the money on Script Debugger, which makes writing AppleScripts much less of a pain!
gastropod — Currently my main automation use is somewhat indirect. I’ve found MailTags and Mail Act-On to be indispensable. They do a lot of automating for me by greatly expanding the filter tests and actions available, and by allowing for single key actions such as moving selected messages to a folder without having to drag through the folder tree. Since I run a majordomo server and several mailing lists, intricate mail sorting is a lifesaver.
I’m planning to dive into Keyboard Maestro soon, partly to improve the train wreck of modern Finder window handling, which costs me at least an hour a week in getting windows back where they’re supposed to be.
I almost forgot about the services I created with Automator a few years ago to do routine EXIF handling. Automator calls on ExifTool to show all metadata in BBEdit, strip all metadata, strip all but a few EXIF/IPTC fields, alter GPS data, and more. Not only do these services save some effort, they also save the time it takes to periodically check the ExifTool docs, since it has so many options that I can never remember them. It’s also much easier than the command line to do things to an ad hoc file selection.
Naomi Pearce — Early in the days of Automator, Sal made a comment, something about it changing the way applications work together such that you didn’t have to learn the application, just find the action for the task you wanted it to perform. I looked at him sideways and thought, “Yeah, right, okay buddy.”
Some time later, I had worked on a proposal for several days (days because it involved a fair amount of PR 101 that had been requested), finished it, printed it to PDF, and sent it off. I followed up on it the next day and Andy Taylor of MacSpeech, Inc. said yes, he’d received the executive summary and looked forward to the rest of it. Wait, what?!
Print to PDF was something one took for granted, particularly from Word, but when I opened the document, sure enough, it had not printed the whole document to PDF, just the first page. I could get it to print page 1, or print from page 2 on, but not the whole document. Minutes were ticking by, and panic ensued. I was screwed. Or was I?
I remembered what Sal had said about Automator and fired it up. I clicked on Workflow to create a workflow. I used the search and found an action to combine PDF pages and dragged it over. Clearly, it needed to know what PDF pages to use to combine, so I found an action to Get Specified Finder Items and dragged it on top to make that happen first. Then I found an action to open the result so I could see it (Open Finder Items, I think it was called), and dragged that action below Combine PDF Pages. That’s all I could think of needing to do, so I dragged the page-1-only document and page-2-on document into the first action and hit Run.
Less than 15 minutes after I first thought “What?!,” I’d solved my problem, just like magic.
And I never did learn the applications or figure out what went wrong. I just found the actions for what I wanted to do, as Sal had said. I’ll be darned. Wow! Only on a Mac.
Walt Jump — I use Automator routinely to download specific files from government databases, rename them, and move them to specific folders for use by my FileMaker databases. This saves me at least 1–2 hours a day. I also use a program by someone who accesses the U.S. Patent and Trademark Office databases and provides one file for data obtained from multiple databases by the use of AppleScript and Automator.
Douglas Mobley — The museum where I volunteer has a project to digitize old newspapers to aid the searching of them. The workflow, in simplistic terms, consists of photographing each page, processing the pages through Photoshop, and finally OCRing the images into newspaper issues. I had been using Photoshop actions to automate one step of the process, but I was able to improve my productivity (measured as pages completed per hour) by more than 50 percent in the last year, using AppleScript to automate the workflow. Creation of folders and renaming of files is handled by AppleScript control of Finder, and the
processing of the page images through Photoshop is handled with AppleScript. I have also used Automator to record and then understand what system events to include in my AppleScript.
Jeff Porten — I think I’ve been writing AppleScripts for as long as the language has existed, and I’ve done a great deal of professional consulting doing one-off AppleScripts for my clients. I’d be lost without it. My most common use cases are:
- An AppleScript that cleans up and organizes my Desktop icons according to a custom grid, grouping them by color tag.
When I have a group of files to read or movies to watch, I have a randomizer that picks “some item in the current folder.”
Applying keyboard shortcuts to any application that’s missing one. I have dozens of one-line AppleScripts mapped to Quicksilver launch keys, so I can hit Control-Command-3 and label a Finder item yellow. (Then there’s “Comment and label yellow,” which uses the yellow label to remind me that an item has a Finder comment.)
Rob Lewis — I’ve used Macs since 1986, and our family has owned more than 15, along with assorted iPods and iPhones. With Apple’s recent neglect of the Mac lineup, AppleScript is pretty much my last remaining reason to stay loyal: if AppleScript disappears, there’s little reason for me to stay on the reservation. And if my computer isn’t a Mac, there’s not much reason for my next phone to be an iPhone. I’m frankly very worried. There are so many signs that Apple has lost its soul chasing shiny iObjects.
I have a fairly elaborate home automation system based on AppleScript and the XTension program. I love how it makes it easy to control and modify the behavior of the system. I’ve thought for years that an enhanced version of Automator could finally — finally! — make home automation accessible to mere mortals. In my opinion, this is a gigantic missed opportunity for Apple.
Chris Schram — I have several Photos libraries on two different disks. I use an Automator app, with a bit of embedded AppleScript, to wrangle these libraries and let me select which one to open.
I use AppleScript to collect the data from my weather station and upload it to my Web space. It’s more reliable than the software that came with the station. I also use AppleScript to massage the weather data and import it into a Numbers spreadsheet.
Jake — I book several music venues in New York City. I book 100–200 acts per month. I rely heavily on automation, mostly with Keyboard Maestro, AppleScript, a bit of Automator, and TextExpander. I’ve also started using BetterTouchTool to create app-specific Touch Bar buttons that trigger my AppleScripts. For those in doubt about the Touch Bar, I find it to be the best tool Apple has come out with in years. It’s an amazing launcher for all my macros, and I have many!
I have actions that add confirmed events to the calendar (BusyCal), send confirmation emails at specific dates/times (much of which is because of a powerful command-line utility called iCalBuddy), resize and reformat images automatically, update Web calendars with band descriptions, pictures, links, etc. Basically everything I do relies on Mac automation in one form or another. It turns hours of work into minutes and allows more music to happen in New York.
For me, automation is the best part of using a Mac!
Jon Gotow — Another developer chiming in here (I’m the author of Default Folder X, App Tamer, Jettison, HistoryHound, and a bunch of other stuff going back nearly 30 years). I use AppleScript in three primary ways:
- For automating processes in my own business, including email parsing and message handling, and software development and testing.
For customer support, sending AppleScript applets to customers to help them fix problems or collect debugging information. Having someone run an AppleScript is far more reliable than trying to walk them through a set of steps.
Integrating my software with other developers’ products. As an example, Default Folder X can detect when Path Finder, a popular Finder substitute, is running and ask it to perform various tasks instead of the Finder — which is exactly what Path Finder users want it to do. That wouldn’t be possible (or would be much harder) without AppleScript.
DeeAnne Lau — AppleScript is used in many of the programs that I use! I use it to tailor my spam controller program, SpamSieve. I have a repetitive motion injury plus a pinched nerve in my neck. Being able to use scripts to control the Finder and Web actions has saved me from much pain. I use A Better Finder Rename applets with Automator to make contextual services that can be triggered by keystrokes. I also use Script Debugger to help me understand the underlying aspects of scripts as I compile them and look for problems. I
still rely on some of Doug’s AppleScripts for iTunes to do things in that (frustrating) program. I use Hazel to manage organization of my downloads and printer folders. I am retired, but I still use my Mac for financial management, communications, learning, and recreation. I rely a lot on AppleScript and Automator.
paule — I use Automator to do mass renamings of files of photos I take for my son’s football team.
I estimated once that using Automator saves me about 45 minutes per week — and reduces the error count to zero. Over 14 rounds of footy, that’s nearly 11 hours of saved effort.
I know I could write a shell script to do the same thing, but Automator makes it easy for me to do — it’s been over a decade since I last wrote a shell script!
Felix Deimel — I’m using parts of AppleScript to allow users of my professional remote management app, Royal TSX, to automate keyboard input. This can range from having a password automatically entered to complex scripts that inject values from their associated connections or credentials.
The macOS 10.12.2 update made this completely unreliable as uppercase characters or special characters appearing anywhere in the text can completely mess up the casing. Sometimes it’s correct, but it’s completely unpredictable and the frequency of errors is very high.
I’ve posted a radar and TSI about this but have yet to hear back from Apple. Here’s a copy of the bug report. One of my customers posted a +1 report as well. If anyone here is affected by it as well, I’d appreciate you “duplicating” my radar.
Coincidentally this bug started to appear just around the time Sal left. Make of that what you will.
When I decided to implement bootable clones for backup, I attached all the hard drives to my wife’s iMac and set up cloning from my MacBook Pro by authenticated traffic. This gives comfort and protection against ransomware affecting the MacBook Pro. I had the disks mounted and making noise all day. My wife rightfully pointed to noise and energy bill: a perspective for divorce.
But my MacBook Pro’s clones are all sitting attached to the iMac, away from Carbon Copy Cloner and its easy-to-use automation tools. So I found on the Internet AppleScripts that could mount and eject disks, adapted them to my needs and, triggered them via the timer software (Task Till Dawn). Thus, these drives are only mounted and making noise for one hour per day, around midnight. Marriage saved! Thank you, AppleScript!
Andy Lietz — We’re a prepress and printing house, and we use AppleScript all the time to automatically typeset and alter layouts in InDesign with data from Excel and FileMaker. AppleScript is the glue that binds it all together and one of the major reasons we’re on the Mac. But as a programming language, AppleScript feels more and more old-fashioned now compared to, say, Python or Ruby.
I’ve met Sal at Macworld Expo and particularly admire him for persuading Adobe to put good AppleScript support into InDesign. It’s very sad to see him (and, it seems, Apple’s support for automation) leave the company.
Bill Cheeseman — I was a trial lawyer specializing in major environmental, financial, and intellectual property litigation in a large law firm. I used AppleScript regularly to assemble relevant information from a variety of sources and organize it in complex, standardized spreadsheets for analysis, giving me a major advantage over my opponents.
Kimball Kramer — I am a keyboard person. I have over 200 services/workflows with keyboard shortcuts that open Web sites, open applications, open documents, open windows, replace menu bar clicks, and more. In a more limited way, I also use both QuicKeys and yKey.
Charles Butcher — For me, AppleScript as a way for non-programmers to tie applications together is probably the most important differentiator for macOS. I’ve been loyal to Apple since my first Quadra 800, but if the company abandons AppleScript, I’ll probably move to Windows or plain UNIX.
I run my freelance business on FileMaker Pro. AppleScript lets me create calendar events and to-dos straight from FileMaker, use BBEdit to clean up text from within another application, scan and OCR documents straight to DEVONthink, and a host of other small tasks that over the years must have saved me many hundreds of hours.
Sure, AppleScript can be a pain to write, and I’ve never got on with Automator. But the fact that so many apps support AppleScript, even if only in limited or idiosyncratic ways, is a real achievement. People say the Mac has been “dumbed down”; I’ve been OK with this so far, but losing AppleScript would be a big blow to professionals.
John Cooper — I use Keyboard Maestro for window management, application launching, and text expansion, and A Better Finder Rename for mass renaming of files. I probably use automation a lot less than I could, but if Keyboard Maestro in particular were to go away (because the technology underlying it becomes unavailable), that might be the nail in the coffin for my use of the Mac, frankly.
Frank Remsen — I have built a few amazing scripts to automate a lot of my InDesign work, which helps me separate my design files to PDF and then upload them via Transmit to an FTP server. I have many more scripts that help me post content to my blog via AppleScript automatically while I sleep. I have scripts that create tags for T-shirts I create and sell online. AppleScript is an indispensable technology, and it needs to stay in the Mac OS. I have also created a
petition to save AppleScript.
David — I’ve been using AppleScript to automate all sort of things for a very long time. I am in academia, so I’ve mostly developed scripts to automate or help with my teaching and record keeping.
Initially, with Excel, I created a script that would create a spreadsheet formatted and with all the formulas to compute grades, putting the precise dates I would teach excluding the holidays. And this would be created by me just copying the Web page containing the roster of students for the course.
Then, to take attendance, I would use a script that would prompt me with the student name and I would just say “present” or “not here” to have the appropriate mark entered in the sheet. Macs have had the ability to work with voice commands I believe since System 7.5 (my earliest Mac OS version) via the SpeechRecognitionServer.
Same thing would work for entering grades (my office mate decided on a Mac after witnessing me doing both the grades and attendance).
After that, I would create for each student a Web page with their record. I could have 1000 students and the pages would be created in a flash.
I would then FTP (using the Terminal app) to my site and name every file according to their location.
Here’s another example. At the college, the Math Department was at one point creating final exams for remedial level courses by getting questions from a Microsoft Word document containing 2000+ problems.
This document was divided into various sections, and the exams were made by randomly selecting one question from each section. It was a long and laborious process. I was asked to help automate the process, and from then on we would get all seven exams for a semester created in less than a minute. They would come already formatted ready for printing.
Using Satimage’s AppleScript-based development tool Smile, I have created various QuickTime movies that help me with teaching pre-calculus trigonometry, calculus differentiation and integration, statistics distribution, and more.
I have created mathematical libraries for all kinds of mathematics operations, including matrix algebra and a statistics library to help me teach Statistics — my solution is much faster and easier to access than R or other scientific software.
And that’s just the big stuff. Here are a few of my more mundane automations:
- I created an AppleScript app that sets the ever-changing Astronomy Picture of the Day as the background picture for each of my desktops.
I created a script that searches for and displays the lyrics of the current iTunes song.
I use AppleScript to organize my folders.
I use AppleScript to apply rules to my incoming email.
I use AppleScript to generate and save passwords.
I use AppleScript to…
Mac automation is the single most important reason I use Macs. Most of my extended family now uses Mac because of me.
So, yes, Apple should support Mac automation, because each automation user brings in many others.
rufus — I am an avid home personal weather hobbyist. WeatherCat, the Mac software I and thousands of others use, has many AppleScripts built in. Many of us write scripts to enhance automated transmission of weather data to eight international weather gathering organizations, including the National Weather Service. Other Macintosh weather app developers also rely on AppleScript to enhance their products. Apple prides itself on being user-customizable. Automator and AppleScript are the main reason this is possible.
Mark Bernstein — As a software designer, I rely every day on complex, scripted behaviors that coordinate multiple applications.
Rob — I use Automator and folder actions a lot. Automator enables me to add batch capabilities to Photos and extend its usefulness now that it is replacing Aperture. I also use AppleScripts to organize email.
But much of my automation is now done with IFTTT, which works particularly well with smart home products and Amazon Echo. I find it amazing (and so, so sad) that while that IFTTT and similar online automation products are gaining traction, Apple is apparently headed in the other direction.
Gavin Eadie — Wow — so many responses! I use AppleScripts for various Finder conveniences.
One I rely on daily creates an alias, on the Desktop, to a new folder created in Dropbox every midnight. The folder is named with the date, and each day I drop any new material I want to keep into that “today” folder. The script is kicked off by launchd at midnight and every time I log in.
I suspect I wouldn’t have the personal rigor to do this manually every day. Having set this up 14 years ago (Dropbox added more recently), I rely on its convenience and the historical record it provides.
Aaron Priven — Without automation, we couldn’t do all kinds of the work we do at AC Transit creating bus stop signs and schedules.
Polly — I used to use AppleScript plus Extra Script to control the mouse by voice. I could single-, double-, and right-click without touching the mouse, which was tremendously helpful when my arms ached!
Steve Cunningham — I think it is a fool’s errand to address any comments to current Apple management. From their actions alone, Occam’s Razor suggests that they are phasing out the Mac no matter what they say. The writing is on the wall. That said, AppleScript is one of the main reasons I own a Mac. I have written hundreds of scripts to make my life easier. Two I would pick to highlight are a Software Marketing and Tracking System and a Dead Man Monitoring System.
The Software Marketing and Tracking System uses AppleScript, FileMaker, and Mail to automatically track software trials, purchases, channels of distribution, etc. Incoming emails are automatically processed to log purchases, issue serial numbers, create a customer database, and track trial installations. The whole system is driven by email arrivals and requires no manual intervention. This has saved man-years of manual effort.
The Dead Man Monitoring system is for a paralyzed patient who cannot communicate. It guarantees that help will be summoned if someone doesn’t enter the patient’s room every 2 hours. Since I am the sole caregiver, if anything were to happen to me the patient would die of dehydration before anyone found her.
The system uses a motion-sensitive camera to track entrances and exits from the patient’s room. When detected, the camera places a message in a folder which triggers the Monitoring script to log it and reset the Dead Man Counter. The Monitoring script also runs automatically every 2 hours and, if there has been no activity, initiates a series of alarms and notifications, first locally and then to a list of external responders. A schedule for which hours are monitored during the day can be set and changed as well as the list of responders. Everything is done with AppleScript. The system runs on a UPS-protected Mac mini and uses Launch Agents to monitor itself for failures.
joecab — The New York Times used to have this old, creaky QuarkXPress plug-in to typeset their crossword grids from some company overseas that went out of business and left them high and dry. People at the Times knew I was a Mac and puzzle guy, so they consulted with me and I said I could come up with a replacement rather quickly using AppleScript.
Now the scripts I wrote are used to typeset all their print puzzles, upload PDFs to FTP servers for proofreading, and export various electronic versions for online solving. I never could have done it without AppleScript (and the terrific Script Debugger) so, many thanks, Sal!
Colin Bay — I have a mailing list digest I get nearly every day. When it comes in, I use an AppleScript (launched with a hotkey via Spark) to process the text to remove gremlins, replace annoying URLdefender URLs with real ones, serialize the file name, and save it in a consistent folder.
I could do this by hand in a couple of minutes, but would I every single day? Nope. I love AppleScript.
Nicholas Orr — I use AppleScript and Automator to package up an app I sell, which itself includes UI automation via AppleScript. All of the copying of files and putting things in the right places couldn’t work without all the long history of automation amongst multiple apps and the operating system.
Jim Neumann — I have AppleScripted professionally for 15+ years. From simple tasks to chaining scripts together in workflows to run entire departments, it has proven its worth again and again. Our apps, DEVONthink Pro Office and DEVONagent Pro, also have robust AppleScript dictionaries that allow our clients to extend and enhance their own experience. We are big fans of automation at DEVONtechnologies!
Greg C — I have done a ton of automated stuff over the years. My favourite, but not that impressive, was converting 1400+ files from Excel into a Web help system. Half a day of scripting and about an hour of runtime and the whole thing was finished.
That’s kind of the point. If you can’t automate tasks, then it ceases to be a computer. I have no great love of AppleScript, but I do think the creation of Apple events was a truly great innovation.
My hope is that Swift will provide a way to work directly with Apple events, without resorting to horrid workarounds. The sooner the better.
Nick Morris — Although I am not a huge fan of AppleScript (I find the syntax annoying and at times impenetrable — I also don’t like the lack of good debugging tools) I have nonetheless used it, and Automator, for years for a wide range of tasks.
At present, I use a combination of AppleScript and Automator to blog from my Mac and to produce ebooks. I have scripts and folder actions that:
- Post Evernote notes to my WordPress blog (yes, I could use Postach.io, but they have been somewhat unreliable of late). This requires some PHP in the AppleScript.
Pass Evernote notes to Scrivener for ebook production
Pass images from an Evernote note back to Evernote as individual notes for posting to Instagram
Resize images for blog posts
Resize images for posting to Twitter
One of the most fun scripts I had (adapted from one I found on the Internet) automated Keynote to send out a tweet when a slide was shown. The tweet contained the text in the speaker notes for the slide. This script caused a lot of confusion as the audience couldn’t work out how I was presenting and tweeting at the same time!
I’m a photographer and one of my favorite workflows involves launching an application called PostHaste every time I insert an SD card containing fresh photos in my Mac. My workflow automatically creates a folder on the server that is named with the contents of the clipboard, previously copied from the latest event in my calendar. After that, a new Finder window reveals the newly created folder, with Image Capture appearing next to it so I can drag and drop the new photos into the new folder window. Hazel then automatically renames the photos.
Patricia Pfitsch — My husband and I run a small transcription business. Our clients are production companies who send us raw film footage they’ve taken for documentaries. We create a written transcript of the film by transcribing what they hear and see, after which we send the transcript to the client. Our clients are usually under a tight deadline so it’s crucial that we can create the transcript fast — often we need to transcribe hours of film and get the transcripts to the client within a 12-hour period. That kind of speed depends on using AppleScript to create shortcuts for names and other words and phrases that are repeated continually in the dialogue.
(You’d be amazed at how many times people say ‘you know’ in conversation.) We also use AppleScript to start and stop the film while we’re transcribing. AppleScript is the key to our success — without it, we’d be out of business!
Brian Christmas — For the last nine years, I’ve been building a large app called Mail Manager that processes incoming artwork from any artwork app. It prints a sheet to monitor factory progress, adds two barcodes and two text fields to each image, then prints each piece of artwork at 100 percent accuracy. It also triple saves (for redundancy purposes), each file before and after printing. These images are used to make metal or plastic printing dies, including the Seal of the President of the United States.
All this runs on a top-of-the-line iMac and relies on AppleScript/Objective-C libraries in Xcode.
Emmanuel Levy — We at Quomodo have developed a Web hosting environment that relies on XML and AppleScript instead of the more commonly used MySQL and PHP. The main advantage is that XML is both the database language and the Web page language. Thanks to that environment, we are able to develop enhancements and new features way faster and more freely than if we used the usual MySQL/PHP framework.
A specific — yet, very simple — CGI sends the HTTP requests to our AppleScript hub (Smile), which in turn sends the hard stuff to some OSAX (mainly XMLLib.osax). A herd of Smile apps handles up to 100 requests per second.
Our DIY Web site system works wonderfully for 50,000+ sites maintained by 100,000+ admins.
William Adams — I have written scripts which Olav Martin Kvern declared to be impossible. These scripts have enabled me to do creative and production work at a speed that makes it possible for my company to win bids and remain profitable. If the Mac loses AppleScript, we will be forced to use other tools that provide the level of control needed to afford the sort of automation which we need to be competitive.
Rob Lewis — When the popular contact manager Now Contact was discontinued some years ago, I was able to create an AppleScript to export its contact files to Apple’s Address Book (now called Contacts). It is a commercial product that does a much better job than any other solution, and I still get requests for it.
And when I switched from my previous note manager to Evernote, I wrote an AppleScript that transferred my old notes, nicely categorized.
Mark Leslie — I work for a global sports apparel brand, and we could not match the speed of the marketplace without AppleScript and macOS automation technologies.
Many years ago, when we first implemented large automated workflows, we absorbed two successive years of 20+ percent increases in product SKUs without the need to scale up existing production art team staffing. Not only that, but the very significant decreases in user errors (typos, component placement, file naming) reduced previously typical rework while freeing proofing efforts to be more focused on essential product details.
In all aspects of our business — product creation, preparation of manufacturing visual spec documents, color management, merchandising materials/catalogs, product photography — AppleScript and deep cross-application connections drive our capabilities. Data from corporate data stores are piped to drive workflows and assign metadata attributes to assets. We use hot folders on servers to drive macOS purpose-built “appliances” running as asset creation engines. Assets created in this way are then transferred to other servers for delivery to another art team.
With everything we have in place and all the successes we have achieved, we still regularly discover new opportunities for automation. I can’t foresee any end to how we can harness the deep reach and power of AppleScript, Apple events, and scriptable applications.
Laine — I got tired of notifications of software agreements when mounting disk images, so I wrote a script to remove them.
Chip Patterson — We use AppleScript in our business every day. We have several scripts to make daily tasks more efficient, and this has led to 25 percent of our company using MacBooks instead of Dells. If support for AppleScript were to become weak, we might well lose the fight to increase Mac use in our business. It’s crucial to the ease-of-use and utility arguments.
Jim Royal — I’ve used AppleScript for a large number of diverse tasks:
- Automating Photoshop and QuickTime Player to generate color lookup tables for video clips.
Migrating Web-based documentation by post-processing auto-generated HTML in BBEdit.
Syntax check on PHP files.
Renumbering iTunes tracks.
Inserting generated HTML from Safari into BBEdit.
Downloading real-time weather for a flight simulator from the NOAA server.
And there are probably others I’ve forgotten. AppleScript is indispensable.
Simon Bowler — I used AppleScript to automate a range of tasks associated with a medical practice using FileMaker. AppleScript is almost unique in the way it allows variables and data from a number of programs/sources to be parsed and inserted into apps like FileMaker.
Carlos — My most used automation function is text-to-audio. Just about all applications support it via Services. I use it because my dyslexia makes it hard for me to read. Having the computer read me the text while I follow along helps out SO MUCH!
David Ohman — I’m the Vice President of Digital Product Development at Andrews McMeel Universal, and I introduced AppleScript into our production workflows in the early 2000s. Currently, there are few, if any, pieces of our content that are not created, processed, or touched in some way without the automation we’ve developed with AppleScript. Next time you read a comic from Andrews McMeel Syndication (formerly Universal Press Syndicate/UniversalUclick) or United Features Syndicate, it is there in part because of AppleScript.
RJay Hansen — I manage a design/prepress department for a direct mail/printshop/Web design company. Soon after I started, I began seeing opportunities to improve the department’s efficiency by writing AppleScripts to automate many tasks that are done repeatedly in the department. From simple scripts to create job folder structures automatically (used many times each day by every department member) to more complex ones that automate processes and interactions with Excel, Acrobat, and InDesign. I’ve even written a
basic imposition program for InDesign with AppleScript. These scripts save untold man-hours over the course of a year. It will be a sad day if this capability is ever removed from macOS.
Joern Dyck — I once had the task to open and save 5000 videos on a remote Xserve. Back then, QuickTime files would only play in a browser after the file was loaded completely. (Today everybody expects that the video starts to play after the first few bytes have been loaded.) Apple provided a way to update old videos: just open the file and save it again with the QuickTime Player, unaltered.
But nobody can manually open 5000 files in the QuickTime Player and save them again.
With AppleScript, I was able to iterate through all files in the folder, opening them one by one with QuickTime Player and saving them again. It was only a few lines of code, and the poor Xserve was busy for some nights. AppleScript is happy to work at night.
I have solved many problems like this with AppleScript. Rarely does AppleScript get the credit that it deserves.
Chris — I provide workflow support to some non-technical artists and creative professionals. I use Automator to create a double-clickable application to execute bash scripts of multiple and sometimes confusing commands. This minimizes errors while simplifying the process to keep the end user in control.
Steven McCarthy — I have been using AppleScript for 20+ years in magazine publishing and prepress, first at Hearst Magazines and later at McGraw-Hill. I continue to use AppleScript at Bloomberg LP on such titles as Businessweek, Markets, and Pursuits magazines.
I have automated many workflows over the years that preflight InDesign layouts, update links, create press-ready PDFs, automate FTP transfer of files, along with scripts that convert and archive files into organized files and folders that adhere to strict naming conventions.
I have also automated workflows for our mobile apps group where print layouts are re-purposed for mobile and online Web applications. These automated workflows save hundreds if not thousands of manual work hours. It’s to the point where, if a script stops working for some reason, there is a cry and backlash from the staff who refuse to go back to the old manual workflows. I can’t say how much AppleScript has helped. Thanks to Sal for all he has taught and done for the AppleScript community over the years. It’s hard to put into words.
Rick Pepper — A key feature of AppleScript that’s largely overlooked or mocked is that it’s accessible to non-programmers. And what sets AppleScript off from other solutions is its ability to accomplish a complex task by communicating with numerous disparate applications within a single body of code.
Many pre-press technicians have to “just get things done” any way they can and AppleScript empowers them to do that.
AppleScript, for me, is the answer to “Why Mac?” It’s about being agile. If Apple kills the Mac, they’ve killed our automation. If they kill off AppleScript, they’ve lost future Mac sales.
Much of what we wrote in the mid-1990s can still be updated as needed because the platform has remained stable. If Apple shifts gears on us, they’ve largely negated the advantages and efficiencies we’ve enjoyed since 1994.
I work for a large commercial printer. Over the last 22 years, we have used AppleScript to:
- Construct entire print production workflows
Convert numerous file types to preferred file types
Create files for output on systems that were “not Mac compatible”
Automate (pre-press) near-line archive storage system retrievals (46 GB in the late 1990s in our first system!)
Automate the archival of and retrieval of said near-line archived files in a second system that contains over 50 TB and counting
Convert proprietarily built EPS files to more output-friendly EPS files using Illustrator 8 and Scripz
Generate Web previews for a Web-based print ordering system
Batch modify file names from digital cameras
Convert exported metadata (XMP files) from Lightroom to other text file formats
Work around bugs in Illustrator 8 in the late 90s by reading/altering/re-writing EPS files
Convert PMS colors in EPS files to either cyan, magenta, yellow, or black using Illustrator 8 with Scripz, and later Illustrator 9
Create HTML table-based reports from various data sources
Built an AppleScript/QuarkXPress-based automated imposition system that we used for over 10 years in the late 90s
Create and populate Quark files from text files and then generate several different forms of EPS and/or Postscript files based on output requirements before delivering them to remote servers
Exchange data with an AS/400 mainframe via FTP with Fetch and raw text processing
Mount/dismount server volumes
Build a digital jukebox that was controlled by AppleScript using SoundApp and FileMaker — all before iTunes existed
Automate the retrieval of, response to, and attachment processing of incoming emailed orders using Microsoft Entourage
Automate the construction of a monthly auto trader magazine using QuarkXPress and GraphicConverter, a more free-flow layout (not just dropping images in static locations) with flush-bottom columns. It processed thousands of vehicles in less than an hour, hands-off!
Remove the necessity for pre-press operators to use the Finder to create jobs in QuarkXPress, which involved creating a folder structure based on an invoice number, opening the desired Quark template (from thousands), saving it in the new folder, and updating slug lines in the document
Automatically check for and copy/install various files and/or folders
Automate the conversion of Quark files to InDesign including the process of updating fonts
Create numerous other utility scripts to manipulate, massage, and export text
Automate file copiers/movers based on an input control text file — part of our imposition proofing system that was built on-the-fly because something else in the workflow changed and we had to adapt while maintaining productivity
Argyl Dickson — We produce hundreds of short video files ranging from 5 or 10 seconds to 5 or 6 minutes. The project architecture we put these assets in requires a JPEG file for the opening video frame and the ending video frame. Otherwise, there is a flash during the start or end. It would sometimes take an hour or more to open each video file and save out a still frame from the front and end of the video.
So I wrote a script that can process hundreds of files, generating start and end frame JPEG files with the proper names. What could take hours is now done in less than a minute. This is just one example of how AppleScript has saved me and my clients hundreds of man-hours through automation.
Carlos Ysunza — We are a photography/design studio based in Mexico City. We are just four people working with eight Macs and an important part of our business depends entirely on AppleScript.
For our most important client, an international business, we make a cosmetic catalog each month. Much of the process is automated using AppleScript.
Of course, we also use AppleScript for other smaller but still time-consuming projects in our everyday work.
Without AppleScript automation on the Mac, it would be impossible to do all these jobs with so few people — it is vital technology for us!
Among the things I’ve done:
- Created more than 200 country profile sheets containing 13 tables and 13 charts
Created a font management system
Saved my employer from having to pay for thousands of hours of labor for simply clicking a mouse (opening InDesign files and turning certain layers on or off, checking files in and out of vjoon K4)
Processed thousands of Illustrator files for press
Formatted thousands of Microsoft Word labels for my sister-in-law’s real estate business
Christian Boyce — In my company, we use AppleScript in our own work every single day, and we often write scripts to help our customers with their various and unique problems. The time saved is enormous.
A few examples: when we make appointments, my office manager clicks on the event in the calendar, and then triggers a script (via DragThing) that creates emails that go to the customer and to me. The script also sends a text message to my phone. Each day, a script runs at 8:01 AM on my office manager’s Mac, scanning the calendar for appointments the next business day. Emails are automatically sent to remind the customers of their appointments. The emails are all exactly as I want them — never a mistake — and they go out automatically.
I wrote a script for a plastic surgeon. She has a form for new patients on her Web site. The results of the form are returned in an email. When those emails arrive, the receptionist clicks on them, then runs a script that reads the data and creates a new contact in Contacts. The script also creates a record in FileMaker and then prints a PDF for the doctor with all of the information presented in the layout she prefers.
AppleScript ties apps together, giving a real 1 + 1 = 3 effect. Mail, Calendar, Contacts, FileMaker — and many others — can be part of a system held together with AppleScript.
I write lots of scripts for my customers who use InDesign and they save a ton of time with them. And, they get great results. For example, a picture on a page needs a caption below. I’ve written a script that gets the width of the picture, makes a text box the width of the picture and offset a standard amount vertically, and sets the style of the text in that text box to “caption style” (creating the style if it is not present). It then groups the picture and the caption box, so they can be moved without messing up their relative positions.
I’m not the best AppleScripter, but I’m able to write scripts that I and my customers use to great advantage.
I think of AppleScript as the Mac’s “secret weapon.” I love using it to make someone’s life a little (or a lot) better.
James — I use AppleScript in our work environment for almost everything: art preparation, book creation, ebook conversion, file validation, and file distribution. AppleScript drives our video management, MathML creation, and cover creation.
The cost savings with AppleScript are the sole reason my team’s work has not been outsourced. The creation of chapter-level ebooks alone saves $1 million per year in external costs and is faster and more accurate than what a vendor can provide. Our AppleScript-driven page layout system has topped 1.2 million pages and keeps our costs well below industry rates. Simply put, without AppleScript and the apps that wholeheartedly support it (like InDesign), my team’s output would be a mere fraction of what it is while costing much more.
Olle Westbergh — We rely on Apple automation technologies a lot in our company workflows. If they are eliminated, we would be forced to move from macOS to Linux or Windows.
Henry Domke — AppleScript has been essential for automating some of the tedious parts of file preparation for my art business, Henry Domke Fine Art. The custom application created by Automated Workflows has saved me many hundreds of hours of work. Ray Robertson and Ben Waldie used AppleScript to create the application that keeps us running. It also has reduced errors. Please continue support for automation technologies!
Larry McMunn — In 1993 I started using a new product called AppleScript. I took a chance on it because it promised me — a graphic designer and artist — the ability to automate a lot of my page layout tasks without learning to program. Within two years, I was able to partner with one of the largest mutual funds in the world to produce documents using this technology. Over the years, we added more and more financial companies to our client list thanks to our ability to produce tens of thousands of pages quickly and efficiently. 22 years later, we are still using the core ideas and concepts developed back then. The success of our company would not have been possible
without the power and flexibility of AppleScript.
These documents get typeset and assembled automatically from many sources. Only the power of AppleScript lets us integrate such a variety of data sources into a cohesive workflow. Some of these documents are developed from as many as 25 to 30 data sources. And these varied data sources come from text files, Microsoft Word documents, Excel workbooks, and a variety of databases from FileMaker to 4D to giant mainframe entities.
Mark Aldritt — As the developer of Script Debugger (an AppleScript editor/debugger), I have a mountain of automations for my business. I have built automations that compile Script Debugger, collect release notes from our bug tracker, manage software versioning, and perform software uploads. As a one-man shop, I need these things to be done quickly and correctly. Back when I did this by hand, there were always errors. I have bug tracking automations that process crash reports and customer support emails in various ways. I have email marketing automations. The list goes on and on. Automation makes it possible for a tiny organization
like mine to accomplish what it does.
At a personal level, I also have many automations for day-to-day life. For instance, my local library sends email confirmations when I borrow books, CDs and DVDs. I have an AppleScript to process these emails and create reminders for when each item is due back to the library.
Hanaan Rosenthal — When I was 21, my wife and I had $2500 in the bank. With not even a high-school education I quit my job delivering candy, bought a used Mac II for $2435, and called myself a Mac consultant. Within a few short years, I was using AppleScript for automating workflows for the New York Times, Fidelity Investments, Reuters, and other large clients. I was not merely improving workflows, I was creating products that could not exist without automation. For example, the financial page and weather charts in the daily edition of the New York Times, which are still being generated daily using my AppleScripts to this very day.
Mark — I’m not a developer, I work in feature film post production. Since our projects are highly sensitive, all video shared across departments has to be heavily watermarked and individually marked per the recipient. This can be done inside Media Composer, but it’s clunky, slow, relatively manual, and ties up the editing system.
I was able to learn enough AppleScript to write an application that takes QuickTime files and uses FFmpeg commands to convert them to our required formats along with multiple burn-ins: names, dates, and timecodes. It even cuts off frame handles using filename data. Many variables are automatically read from the source files. AppleScript then formats all this data for the FFmpeg filters.
Drop QuickTime files on my app, choose presets, and press Encode. The formatted FFmpeg ‘jobs’ are split into batches and sent to Terminal for batch processing.
All this happens in the background as film editing work continues. The time savings are enormous. Hours per day. AppleScript is indispensable for us.
Joern Dyck — I’m running a video studio. We produce live shows. The recorded shows can later be downloaded at our Web site. AppleScript is absolutely essential because it allows us to produce/broadcast our shows during the day, while the editing and uploading are handled by AppleScript during the night. When we come back to work the next morning, we find everything already processed, checked, uploaded and archived. It’s magic. Here’s how it works:
Our live shows have a duration of 3 or 4 hours. After the show, we cut the recording to smaller pieces. This means that we have a lot of data. Because of this, the post-production involves a lot of waiting (for example, exporting/compression and uploading to our servers).
This is something that can best be done during the night.
Final Cut Pro X can be automated with XML files that are created from a database. The database has all the information about the video clip: title, description, poster images and a lot of other stuff. The result is a bunch of compressed video files, waiting in a folder.
AppleScript watches this folder for new files. When there’s a new file, AppleScript uses some additional applications to give the videos some additional properties (because Final Cut Pro can’t do everything we want.)
After that, AppleScript uploads the video to a master server. This is, in fact, a complicated process, because with big files (some are 7 to 10 GB) success is not guaranteed. AppleScript checks if the upload was successful; if not, it repeats the upload. (The last thing you want is to come back to work the next morning, only to find out that 10 GB of files didn’t upload.) Since we have different versions of each video (small, medium, big), and different shows, AppleScript intelligently chooses the right folder.
Next, AppleScript archives the videos to our local archive and makes some entries in our database. When we come back to work, everything is cleaned up and ready for the next show. If something failed, it can put a TextEdit document on the Desktop with further information. Or it can label a problematic file with a red color. Or it can trigger an email to the responsible person.
Our customers may think that we work day and night. How else could we provide 10 GB of edited video the next morning? The truth is that we couldn’t afford to have a team working day and night. And it would be stupid to do so, because the tasks are boring, repetitive, and involve a lot of waiting. It’s an ideal job for an automated workflow using different applications.
We see Apple as a company that enables a small team like us to do what only a big company could do. AppleScript is exactly that. It has a learning curve, but you can start simple. Once it’s running, it’s unbelievably cool and productive. Apple should do more of that, not less.
The most important part of our system is that it can trigger actions itself (for example, check something every minute, or monitor a folder), make decisions (if, or, else), and use other applications. Programming something in Swift is not an option for us. We are not software developers. We need something that works more like a recipe and can be altered easily.
One more example: During a live show we use 12 Macs. Each show needs a different setup. To set up those Macs takes one hour. We automated this with AppleScript, because AppleScript can take control of Macs in the network. AppleScript asks us what show we want to produce and sets everything up. It takes one click, and after a minute everything is ready to go.
Windows, Linux, and iOS have nothing like AppleScript. It’s one of the few unique things Macs can do. Windows in particular has copied everything else that used to make the Mac special.
The time savings in automated solutions is huge. I’ve measured some of our old manual processes that take 2–6 hours and introduce human error. These same tasks have been reduced to 20 minutes. The ratio is 30:1 in some cases.
I used to worry my company would make us switch to PCs, which would have destroyed our workflows and our productivity. I fought against Microsoft Windows for years. Now I fear what Apple itself will do.
Final Cut Pro X 10.3.2, Compressor 4.3.1, and Motion 5.3.1 — Apple has updated its lineup of professional video editing apps, releasing Final Cut Pro X 10.3.2, Compressor 4.3.1, and Motion 5.3.1 with improved performance when exporting H.264 files and changing frame rate for all three apps.
Final Cut Pro X 10.3.2 now enables you to add custom folders of audio files to the Sound Effects browser, ensures audio meters retain custom width after relaunch, resolves an issue in which secondary storylines with mixed roles could overlap in the timeline, and fixes a bug that could prevent burning Final Cut Pro projects to DVD via Apple’s USB SuperDrive.
Compressor 4.3.1 corrects the application of the Fade In/Fade Out filter when using distributed encoding, ensures disc name and titles are correctly displayed when using languages with double-byte characters (such as Japanese and Simplified Chinese), fixes a bug where marker buttons on the Touch Bar of the new MacBook Pro may display incorrectly, and respects location paths when using Compressor via Terminal.
Motion 5.3.1 improves stability when using multiple camera behaviors and fixes some stability-related bugs: when using the Timecode text generator, when the cursor rolls over markers during playback, and when using the nudge keyframe shortcut. (All three apps receive free updates. Otherwise, Final Cut Pro X, $299.99 new, 2.97 GB, release notes, 10.11.4+; Compressor, $49.99 new, 445 MB, release notes, 10.11.4+; Motion, $49.99 new, 2.31 GB, release notes, 10.11.4+)
Read/post comments about Final Cut Pro X 10.3.2, Compressor 4.3.1, Motion 5.3.1.
BusyCal 3.1.4 and BusyContacts 1.1.6 — BusyMac has released BusyCal 3.1.4, adding support for Google AppAuth, improving the process for adding new accounts, and polishing the performance of attendee lookups for large databases. The calendar app also fixes a bug that prevented attendee lookups from showing all results, resolves an issue with pasting email addresses into the Attendee field, puts paid to a hang that occurred when closing the info window after editing a repeating event, and fixes a potential crash when paging rapidly.
BusyMac also released BusyContacts 1.1.6 with added support for Google AppAuth and improved processing of new accounts, as well as updating the setup assistant graphics and resolving a language code crash. ($49.99 new for BusyCal from BusyMac or the Mac App Store, free update, 11.3 MB, release notes, 10.11+; $49.99 new for BusyContacts from BusyMac or the Mac App Store, free update, 5.4 MB, release notes, 10.9+)
Read/post comments about BusyCal 3.1.4 and BusyContacts 1.1.6.
Mailplane 3.6.9 — Uncomplex has released Mailplane 3.6.9, adding integration with DEVONthink Pro (see “DEVONthink/DEVONnote 2.9.8,” 5 December 2016) for storing notes and documents. The feature functions similarly to how Mailplane works with Evernote; although Uncomplex doesn’t yet have a DEVONthink help page, check out the company’s Evernote help page for more details. The Gmail-specific email client also adds support for sending invoices to the Receipts app, fixes a crash
when pasting something from Excel into a search field, resolves issues with calendar event notifications, and fixes a crash that occurred when opening Microsoft Office attachments. ($24.95 new, free update, 21.3 MB, release notes, 10.10+)
Read/post comments about Mailplane 3.6.9.
Boom 2 v1.5.2 — Global Delight has released version 1.5.2 of its Boom 2 volume booster and equalizer app with added support for Apple’s new AirPods (see “Apple’s Wireless AirPods Were Worth the Wait,” 20 December 2016). The update also provides a fix for distortion experienced on Bluetooth headsets as well as other minor unspecified fixes. Regularly priced at $14.99, Boom 2 is on sale for $9.99 from the Global Delight Web site (or $10.99 from the Mac App Store)
for a limited time. ($14.99 new from Global Delight with a 25 percent discount for TidBITS members, free update, 12.9 MB, 10.10+)
Read/post comments about Boom 2 v1.5.2.
Logic Pro X 10.3 — Apple has released Logic Pro X 10.3, a major new release for the professional audio app with an updated user interface and added support for the Touch Bar on the 2016 MacBook Pro. A new sharing option enables you to add new tracks to a Logic session from GarageBand for iOS on your iPhone or iPad (version 2.2 or later) after uploading a GarageBand-compatible version of a Logic project to iCloud.
The update also adds a new region editing design that reveals the waveform for an entire audio file while trimming, eliminates a slight lag that occurred when record-enabling a track in the Mixer, offers true stereo panning for more control and discrete manipulation of stereo signals, enables you to import Music XML files, adds a new Recording page in the preferences window (with settings for Overlapping recordings, recording file type, and recording bit depth), enables you to write region-based automation to Apple Loops, improves Flex Pitch to reduce the potential for artifacts when setting notes to perfect pitch, and adds a number of keyboard commands. ($199.99 new in the Mac App Store, free update, 1.32 GB, release notes, 10.9+)
Read/post comments about Logic Pro X 10.3.
Security Update 2016-007 (Yosemite) and 2016-003 Supplemental (El Capitan) — On 13 December 2016, Apple released Security Update 2016-007 for OS X 10.10 Yosemite and Security Update 2016-003 for 10.11 El Capitan with patches for a number of vulnerabilities, including one that could allow an application to execute arbitrary code with kernel privileges and another that could enable a local user to cause a system denial of service.
On 17 January 2017, Apple pushed out a new version of Security Update 2016-003 to address a kernel issue that could cause a Mac running El Capitan to freeze and become unresponsive. If you applied Security Update 2016-003 before 17 January 2017, Security Update 2016-003 Supplemental will appear in Software Update. Be sure to make a backup before installing any of these updates in case of problems! (Free. For 10.10.5 Yosemite, 498.1 MB; for 10.11.6 El Capitan, 717 MB (623.9 MB for Supplemental); release notes)
Read/post comments about Security Update 2016-007 (Yosemite) and 2016-003 Supplemental (El Capitan).
In ExtraBITS this week, Apple pulls reviews for the LG UltraFine 5K Display after a slew of negative comments, JetBlue starts offering free in-flight Wi-Fi, and a new piece of Mac malware turns out to rely on very old code.
Apple Pulls LG UltraFine 5K Display Reviews — [Retraction: Since it has come to our attention, and we have confirmed via the Internet Archive’s Wayback Machine, that Apple never opened reviews on the LG UltraFine 5K Display store page, we are retracting our criticism of Apple’s assumed behavior below. We regret the error. See “Retracting Criticism of LG UltraFine 5K Display Review Removal” (25 January 2017) for a full discussion. –Adam Engst]
Reddit user michael_emery points out that Apple has removed all user reviews for the LG UltraFine 5K Display from its Apple Store page after a barrage of negative reviews. User-reported problems include failure to wake from sleep, Macs crashing when reconnecting the monitor, Macs becoming unresponsive, and various Touch Bar issues while the display is connected. Until more is known and solutions appear, we recommend delaying purchases of the LG UltraFine 5K Display. And, frankly, this is bush-league behavior on Apple’s part. If these problems are real, the reviews should stay, or Apple should stop selling the monitor. If the problems are coincidental, Apple should provide a public statement and support for those who have purchased the
nearly $1000 screen.
JetBlue Offering Free In-flight Wi-Fi — Budget airline JetBlue is now offering free, in-flight Wi-Fi on flights within the continental United States via its Fly-Fi service. The service is sponsored by Amazon and encourages travelers to sign up for Amazon Prime to stream movies and TV shows from Amazon Prime Video. Fly-Fi operates over a Ka-band satellite connection that promises 15–30 Mbps, which JetBlue claims is faster than the Ku-band and ground-to-air technologies offered by competitors. With any luck, JetBlue’s move will push other airlines to improve in-flight Wi-Fi and reduce prices.
“Fruitfly” Mac Malware Uses Old Code — A new piece of malware, dubbed “Fruitfly” by Apple, is floating around the Mac universe. Fortunately, Apple has released a silent update to protect against it. But the analysis by Malwarebytes Labs is fascinating — Fruitfly consists of a hodgepodge of old code, some possibly dating back decades, including chunks written in the Perl and Java programming languages. Malwarebytes discovered that Fruitfly also runs on the Linux operating system, meaning that it’s possible that it was originally Linux malware that was
adapted for the Mac.