O'Reilly logo

Apple Pro Training Series: AppleScript 1-2-3 by Bill Cheeseman, Sal Soghoian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 17. Working with Text

Basics

The length Property

Concatenation

Quoting Text

The offset Command

Text and Character Ranges

Text Item Delimiters

Characters, Words, and Paragraphs

The Many Forms of Text

The summarize Command

What’s Next?

The manipulation of textual data is one of the most common script actions. Nearly every script works with text in some manner, whether it’s parsing filenames, creating display messages, or editing word-processing documents. This chapter contains an overview of the standard text tools incorporated into the AppleScript language and how they are used in common practice.

Basics

First of all, what is text? To AppleScript, textual data is a collection of characters. Traditionally in AppleScript, the terms ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required