Make per­son­alised news­let­ters

Learn how to au­to­mate your news­let­ters us­ing Ap­pleScript

Mac Format - - IMPROVE -

Ap­pleScript is a script­ing lan­guage in­cluded in OS X; you use it to au­to­mate tasks in other pro­grams. Th­ese tasks can be any­thing from cre­at­ing new fold­ers to send­ing emails. It’s a huge help when per­form­ing a repet­i­tive task (such as chang­ing a bunch of files one at a time, or mak­ing the same edit to a stack of doc­u­ments). That’s where Ap­pleScript steps in.

Ap­pleScripts are cre­ated us­ing Script Ed­i­tor, a Util­i­ties app. Many OS X apps in­clude support for Ap­pleScript. iWork apps (Num­bers, Pages and Key­note) all support Ap­pleScript (but for a brief pe­riod the support went miss­ing dur­ing last year’s up­date.)

The Ap­pleScript lan­guage is de­signed to be friendly, so it fol­lows a read­able syn­tax and avoids many tra­di­tions found in other pro­gram­ming lan­guages. The great thing is that once you get the ba­sics down, there are thou­sands of ex­am­ple Ap­pleScript snip­pets on the web that you can copy to work with your own needs.

Here we’ll show you how to use an Ap­pleScript from iWork & Au­to­ma­tion (iworkau­toma­tion.com). This script uses three apps (Con­tacts, Pages and Mail). It takes a group of con­tacts and cre­ates a cus­tomised let­ter in Pages ad­dressed per­son­ally to each per­son. They’re then turned into PDFs and at­tached to Mail mes­sages. Lou Hat­ter­s­ley

There are loads of Ap­pleScript snip­pets on the web that you can use to work with your own needs

Ap­ple Script can look daunt­ing, but it’s easy to pick up and there are free ex­am­ples of code you can use on­line.

Newspapers in English

Newspapers from Australia

© PressReader. All rights reserved.