1

image Calling Shell Commands from AppleScript

Bridging between different environments opens up the power of already-implemented tools that can be repurposed or bound into a workflow. If you build a workflow in AppleScript, you might exploit some significant performance improvements by calling down into a UNIX command line environment, especially if you want to process large quantities of text. This is not difficult to do.

1.  First, construct your shell script. Parameterize any variable behavior as command line arguments.

2.  Make sure the shell script sets up the necessary environment internally. Never assume that an environment is anything more ...

Get Developing Quality Metadata now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.