Knowledge (XXG)

AppleScript

Source đź“ť

4800: 7621: 362:(ver. 3.2) was one of the first major software applications that supported AppleScript. This in turn led to AppleScript being widely adopted within the publishing and prepress world, often tying together complex workflows. This was a key factor in retaining the Macintosh's dominant position in publishing and prepress, even after QuarkXpress and other publishing applications were ported to Microsoft Windows. 2868:; in prior versions of Mac OS X, it could be enabled from the AppleScript Utility application. When first enabled, the script menu displays a default library of fairly generic, functional AppleScripts, which can also be opened in Script Editor and used as examples for learning AppleScript. Scripts can be organized so that they only appear in the menu when particular applications are in the foreground. 3182:) that adds a set of commands and classes that are not part of AppleScript's core features, including user interaction dialogs, reading and writing files, file system commands, date functions, and text and mathematical operations; without this OSAX, AppleScript would have no capacity to perform many basic actions not directly provided by an application. 3100: 3093: 3086: 3079: 3063: 3056: 3049: 3031: 3024: 3006: 2999: 2979: 1171:. A well-written AppleScript should be clear enough to be read and understood by anyone, and easily edited. The language is based largely on HyperCard's HyperTalk language, extended to refer not only to the HyperCard world of cards and stacks, but also theoretically to any document. To this end, the AppleScript team introduced the 2730:
SmileLab use an assortment of different windows—AppleScript windows for running and saving full scripts, AppleScript terminals for testing code line-by-line, unicode windows for working with text and XML. Users can create complex interfaces—called dialogs—for situations where the built-in dialogs in AppleScript are insufficient.
2714:, stepping in and out of functions/subroutines, variable tracking, etc. Script Debugger also contains an advanced dictionary browser that allows the user to see the dictionary in action in real world situations. That is, rather than just a listing of what the dictionary covers, one can open a document in 578:(Script Editor) is open and the Record button clicked, user actions for recordable apps are converted to their equivalent AppleScript commands and output to the Script Editor window. The resulting script can be saved and re-run to duplicate the original actions, or modified to be more generally useful. 2729:
A third-party freeware/commercial IDE for AppleScript, itself written entirely in AppleScript. Smile is free, and primarily designed for AppleScript development. SmileLab is commercial software with extensive additions for numerical analysis, graphing, machine automation and web production. Smile and
4410:
An idle handler can be used in applets or droplets saved as stay-open applets, and is useful for scripts that watch for particular data or events. The length of the idle time is 30 seconds by default, but can be changed by including a 'return x' statement at the end of the subroutine, where x is the
4370:
When a script containing an "open handler' is saved as an applet, the applet becomes a droplet. A droplet can be identified in the Finder by its icon, which includes an arrow, indicating items can be dropped onto the icon. The droplet's open handler is executed when files or folders are dropped onto
2876:
AppleScripts can be run from the Unix command line, or from launchd for scheduled tasks, by using the osascript command line tool. The osascript tool can run compiled scripts (.scpt files) and plain text files (.applescript files—these are compiled by the tool at runtime). Script applications can be
373:
frameworks greatly increased the usefulness and flexibility of AppleScript. Cocoa applications allow application developers to implement basic scriptability for their apps with minimal effort, broadening the number of applications that are directly scriptable. At the same time, the shift to the Unix
2718:, for example, and see how the dictionary's terms apply to that document, making it easier to determine which parts of the dictionary to use. Script Debugger is not designed to create scripts with a GUI, other than basic alerts and dialogs, but is focused more on the coding and debugging of scripts. 1532:
AppleScript includes syntax for ordinal counting, "the first paragraph", as well as cardinal, "paragraph one". Likewise, the numbers themselves can be referred to as text or numerically, "five", "fifth" and "5" are all supported; they are synonyms in AppleScript. Also, the word "the" can legally be
549:
are scriptable objects—for example, a text editing application will almost certainly have classes for windows, documents, and texts—and these classes will have properties that can be changed (window size, document background color, text font size, etc.), and may contain other classes (a window will
4301:
Defines the main code of the script, which is called when the script is run. Run handler blocks are optional, unless arguments are being passed to the script. If an explicit run handler block is omitted, then all code that is not contained inside handler blocks is executed as though it were in an
2632:
Script editors provide a unified programing environment for AppleScripts, including tools for composing, validating, compiling, running, and debugging scripts. They also provide mechanisms for opening and viewing AppleScript dictionaries from scriptable applications, saving scripts in a number of
573:
AppleScript was designed with the ability to build scripts intuitively by recording user actions. Such AppleScript recordability has to be engineered into the app—the app must support Apple events and AppleScript recording; as Finder supports AppleScript recording, it can be useful for reference.
4877:
The AppleScript scripting language excels in its ability to call on multiple applications, but was not designed to perform task-specific functions itself. So, for example, you cannot use AppleScript to efficiently perform intensive math operations or lengthy text processing. However, you can use
1228:
Generally, AEOM defines a number of objects—like "document" or "paragraph"—and corresponding actions—like "cut" and "close". The system also defines ways to refer to properties of objects, so one can refer to the "third paragraph of the document 'Good Day'", or the "color of the last word of the
3177:
Plug-ins for AppleScript developed by Apple or third parties. They are designed to extend the built-in command set, expanding AppleScript's features and making it somewhat less dependent on functionality provided by applications. macOS includes a collection of scripting additions referred to as
2863:
This system-wide menu provides access to AppleScripts from the macOS menu bar, visible no matter what application is running. (In addition, many Apple applications, some third-party applications, and some add-ons provide their own script menus. These may be activated in different ways, but all
2668:
in all earlier and later versions of macOS. Scripts are written in document editing windows where they can be compiled and run, and these windows contain various panes in which logged information, execution results, and other information is available for debugging purposes. Access to scripting
530:
For the user, hundreds or thousands of steps in multiple applications have been reduced to the single act of running the script, and the task is accomplished in much less time and with no possibility of random human error. A large complex script could be developed to run only once, while other
1178:
The heart of the AppleScript language is the use of terms that act as nouns and verbs that can be combined. For example, rather than a different verb to print a page, document or range of pages (such as printPage, printDocument, printRange), AppleScript uses a single "print" verb which can be
3195:
While applications can define specialized classes (or data types), AppleScript also has a number of built-in classes. These basic data classes are directly supported by the language and tend to be universally recognized by scriptable applications. The most common ones are as follows:
569:
object that gives the scriptable properties of the application itself. Many applications have numerous suites capable of performing any task the application itself can perform. In exceptional cases, applications may support plugins which include their own scripting dictionaries.
3130:. It is intended to duplicate many of the functions of AppleScript without the necessity for programming knowledge. Automator has an action specifically designed to contain and run AppleScripts, for tasks that are too complex for Automator's simplified framework. 488:. Apple events allow a script to work with multiple applications simultaneously, passing data between them so that complex tasks can be accomplished without human interaction. For example, an AppleScript to create a simple web gallery might do the following: 4865:(and C language) foreign language interface. Being an environment based on WebKit's JavaScriptCore engine, the JavaScript feature set is in sync with the system Safari browser engine. JXA provides a JavaScript module system and it is also possible to use 1155:
Whereas Apple events are a way to send messages into applications, AppleScript is a particular language designed to send Apple events. In keeping with the objective of ease-of-use for beginners, the AppleScript language is designed on the
4371:
droplet's icon. References to the items dropped on the droplet's icon are passed to the droplet's script as the parameter of the open handler. A droplet can also be launched the same way as an ordinary applet, executing its run handler.
418:
concluded his reflection on "the unlikely persistence of AppleScript" by noting: "In theory, AppleScript could be much better; in practice, though, it's the best thing we have that works. It exemplifies the Mac's advantages over
346:
between Apple and non-Apple products. HyperTalk could be used by novices to program a HyperCard stack. Apple engineers recognized that a similar, but more object-oriented scripting language could be designed to be used with any
446:
opined that it did little to assuage his doubt about the future of Apple automation in general and AppleScript in particular. For the time being, AppleScript remains one component of macOS automation technologies, along with
272:
AppleScript has some processing abilities of its own, in addition to sending and receiving Apple events to applications. AppleScript can do basic calculations and text processing, and is extensible, allowing the use of
564:
All scriptable applications share a few basic commands and objects, usually called the Standard Suite—commands to open, close or save a file, to print something, to quit, to set data to variables—as well as a basic
3138:
These background-only applications, packaged with macOS, are used to allow AppleScript to access features that would not normally be scriptable. As of Mac OS X 10.6.3 they include the scriptable applications for:
6020: 4479:
Script objects can use the same 'tell' structures that are used for application objects, and can be loaded from and saved to files. Runtime execution time can be reduced in some cases by using script objects.
471:
AppleScript was designed to be used as an accessible end-user scripting language, offering users an intelligent mechanism to control applications, and to access and modify data and documents. AppleScript uses
2903:
and saved as script files or bundles in certain locations, that can be called from other scripts. When saved as a bundle, a library can include an AppleScript dictionary (sdef) file, thus functioning like a
5295: 5995: 5136: 3719:
Loop with a variable. When starting the loop, the variable is assigned to the start value. After each execution of the block, the optional step value is added to the variable. Step value defaults to 1.
2817:
Using AppleScript folder actions, scripts can be launched when specific changes occur in folders (such as adding or removing files). Folder actions can be assigned by clicking on a folder and choosing
4489:
Variables are not strictly typed, and do not need to be declared. Variables can take any data type (including scripts and functions). The following commands are examples of the creation of variables:
2774:
AppleScripts can be run from a script editor, but it is usually more convenient to run scripts directly, without opening a script editor application. There are a number of options for doing so:
2821:
from the contextual menu; the location of this command differs slightly in Mac OS X 10.6.x from earlier versions. This same action can be achieved with third-party utilities such as Hazel.
4764:
for loading, saving and compiling scripts would work the same for all such components, which also meant that applets and droplets could hold scripts in any of those scripting languages.
269:. AppleScript is related to, but different from, Apple events. Apple events are designed to exchange data between and control other applications in order to automate repetitive tasks. 249:
as part of a package of system automation tools. The term "AppleScript" may refer to the language itself, to an individual script written in the language, or, informally, to the macOS
5657: 2864:
function in essentially the same manner.) Selecting a script in the script menu launches it. Since Mac OS X 10.6.x, the system-wide script menu can be enabled from the preferences of
2754:). AppleScript Libraries aims for re-usable AppleScript components and supports built-in AppleScript dictionary (sdef). ASObjC Explorer 4 can be an external Xcode script editor, too. 5917: 4783:
that allow programmers to extend the function of AppleScript. Commands included as scripting additions are available system-wide, and are not dependent on an application (see also
5629: 2936:. AppleScriptObjC allows AppleScripts to use Cocoa classes and methods directly. The following table shows the availability of AppleScriptObjC in various versions of macOS: 5433: 4878:
AppleScript in combination with shell scripts, Perl scripts, and other scripting languages. This allows you to work with the most efficient language for the task at hand.
4760:, and the basic specs for interfacing such components to the OSA were public, allowing other developers to add their own scripting components to the system. Public client 2916:
A framework for attaching Cocoa interfaces to AppleScript applications, part of the Xcode package in Mac OS X 10.4 and 10.5, now deprecated in favor of AppleScriptObjC.
5488: 3216:: a script object. Script objects are containers for scripts. Every AppleScript creates a script object when run, and script objects may be created within AppleScripts. 2706:
A third-party commercial IDE for AppleScript. Script Debugger is a more advanced AppleScript environment that allows the script writer to debug AppleScripts via single
296:
but it is distinct from all three. Essential to its functionality is the fact that Macintosh applications publish "dictionaries" of addressable objects and operations.
7691: 7646: 6099: 2746:-object/event logging, debugging and code-completion. Users can read Cocoa events and objects like other scriptable applications. This tool was originally built for 7676: 534:
An application's scriptable elements are visible in the application's Scripting Dictionary (distributed as part of the application), which can be viewed in any
438:
generally responded with concern, questioning Apple's commitment to the developer community and pro users. Apple senior vice president of software engineering
4294:
There are four types of predefined handlers in AppleScript—run, open, idle, and quit—each of which is created in the same way as the run handler shown above.
277:
that add new functions to the language. Mainly, however, AppleScript relies on the functionality of applications and processes to handle complex tasks. As a
594:, it may also begin with a number sign (#). This permits a self-contained AppleScript script to be stored as an executable text file beginning with the 3228:: an object that encapsulates an unevaluated object specifier that may or may not point to a valid object. Can be evaluated on-demand by accessing its 442:
responded in an email saying that "We have every intent to continue our support for the great automation technologies in macOS!", though Jeff Gamet at
7671: 5242:"Does Apple really want to kill Automator, AppleScript? Shock termination of veteran Apple developer guru sends shockwaves across the Mac community" 5892: 2687:
A suite of tools for developing applications with features for editing AppleScripts or creating full-fledged applications written with AppleScript.
6421: 6045: 476:, a set of standardized data formats that the Macintosh operating system uses to send information to applications, roughly analogous to sending 7686: 7379: 6396: 6295: 6205: 6167: 6128: 3402:)-style slash (/) notation. Not a true data type, as AppleScript automatically converts POSIX files to ordinary files whenever they are used. 3392:: a reference to a file system object (file or folder). This is a static reference, and can point to an object that does not currently exist. 5378: 542:
according to loose functional relationships between them. There are two basic kinds of elements present in any suite: classes and commands.
5546: 351:, and the AppleScript project was born as a spin-off of a research effort to modernize the Macintosh as a whole and finally became part of 5241: 3386:: a reference to a file system object (file or folder). The alias will maintain its link to the object if the object is moved or renamed. 1062:
Each user interaction method can return the values of buttons clicked, items chosen or text entered for further processing. For example:
4927: 1233:
to associate the Apple events with human-readable terms, allowing the translation back and forth between human-readable AppleScript and
185: 5970: 4418:
A handler that is run when the applet receives a Quit request. This can be used to save data or do other ending tasks before quitting.
682:
AppleScript has several user interface options, including dialogs, alerts, and list of choices. (The character ¬, produced by typing
6361: 6330: 6260: 6223: 5091: 4943: 4912: 4761: 1237:
Apple events. To discover what elements of a program are scriptable, dictionaries for supported applications may be viewed. (In the
5828: 4983: 4118:
Handlers can also be defined using "to" in place of "on" and can be written to accept labeled parameters, not enclosed in parens.
2633:
formats (compiled script files, application packages, script bundles, and plain text files), and usually provide features such as
5707: 7259: 6520: 3606:
loop executes as long as the condition evaluates to true. The condition is re-evaluated after each execution of the block. The
3244: 502:
Tell the photo-editing application to save the changed image in a file in some different folder (by sending that application a
3346:, and the three behaved somewhat differently; in 2.0 (10.5) and later, they are all synonyms and all text is handled as being 7666: 5778: 5027: 556:, by contrast, are instructions that can be given to scriptable objects. The general format for a block of AppleScript is to 550:
contain one or more documents, a document will contain text, a text object will contain paragraphs and words and characters).
639: 7656: 4847: 3287: 4598:
Script objects are full objects—they can encapsulate methods and data and inherit data and behavior from a parent script.
499:
Tell the photo-editing application to manipulate the image (e.g. reduce its resolution, add a border, add a photo credit)
7661: 1303:
For events in the "Core Suite" (activate, open, reopen, close, print, and quit), the application may be supplied as the
1157: 308: 214: 43: 5190: 4752:). Apple provides OSA for other scripting languages and third-party scripting/automation products such as QuicKeys and 3151:
System Events (control of non-scriptable applications and access to certain system functions and basic file operations)
7504: 7354: 7145: 7095: 7090: 6764: 6550: 4851: 3270: 358:
AppleScript was released in October 1993 as part of System 7.1.1 (System 7 Pro, the first major upgrade to System 7).
304: 262: 163: 88: 7651: 3305: 343: 1533:
used anywhere in the script in order to enhance readability: it has no effect on the functionality of the script.
7566: 7364: 1304: 1252:
To designate which application is meant to be the target of such a message, AppleScript uses a "tell" construct:
7160: 7050: 4842:) component remains the only serious OSA language alternative to AppleScript, though the Macintosh versions of 3543:
The repeat loop of AppleScript comes in several slightly different flavors. They all execute the block between
3365:: an ordered list of objects. Can contain any class, including other lists and classes defined by applications. 1164: 4601:
Subroutines cannot be called directly from application tell blocks. Use the 'my' or 'of me' keywords to do so.
5326: 2765:
A discontinued third-party commercial IDE for creating AppleScript applications with graphic user interfaces.
7509: 7469: 7439: 7399: 7206: 7070: 1172: 407:
included AppleScript among its rankings of Apple's 30 most significant products to date, placing it at #17.
5945: 665:-- a modal window with a single "OK" button and an icon representing the app displaying the alert 7681: 7444: 7394: 6938: 6884: 6774: 6238: 2852: 430:
left Apple when his position was eliminated "for business reasons". Veterans in the Mac community such as
300: 278: 5881: 7269: 7211: 6943: 6921: 6779: 6625: 6545: 6540: 2972: 2933: 2657: 614:
For comments that take up multiple lines, AppleScript uses parentheses with asterisks inside. Example:
522:
Upload the HTML file and folder of revised photos to a website, by sending Apple events to a graphical
4756:
Frontier, to function on an equal status with AppleScript. AppleScript was implemented as a scripting
7075: 6994: 6911: 6879: 6590: 6560: 3996:, and are not executed as part of the normal script flow unless called from somewhere in the script. 3117: 2806: 2802: 1478: 1417: 448: 352: 348: 335: 312: 159: 38: 5270: 4684:
Using the same technique for scripting addition commands can reduce errors and improve performance.
3610:
loop is otherwise identical, but the block is executed as long as the condition evaluates to false.
7581: 7576: 7414: 7140: 7100: 7026: 6844: 6585: 6513: 6243: 5215: 2760: 2701: 2634: 289: 5386: 5216:"Sal Soghoian says 'ask Apple' about future of Mac user automation as company eliminates position" 3372: 365:
After some uncertainty about the future of AppleScript on Apple's next generation OS, the move to
7479: 7389: 7284: 7201: 7085: 6784: 6754: 6646: 6266: 6070: 4949: 4780: 3017: 2965: 2929: 2892: 2865: 2840: 2646: 1242: 575: 526:
client, by using built-in AppleScript commands, or by sending Apple events to Unix FTP utilities.
331: 230: 171: 54: 47: 5575: 5803: 7591: 7494: 7249: 7135: 7125: 7105: 7019: 6989: 6959: 6874: 6814: 6794: 6749: 6682: 6402: 6392: 6367: 6357: 6336: 6326: 6322: 6301: 6291: 6287: 6256: 6211: 6201: 6173: 6163: 6134: 6124: 5784: 5774: 5770: 5517: 5097: 5087: 5033: 5023: 5019: 4939: 4757: 4753: 3446:
Many AppleScript processes are managed by blocks of code, where a block begins with a command
3266: 2844: 2829: 2798: 2707: 5489:"Alfred review: This Mac app launcher continues to shine, but Alfred Remote doesn't stack up" 5116: 519:
Repeat the above steps for an entire folder of images (hundreds or even thousands of photos).
7514: 7170: 7165: 7110: 7065: 6901: 6834: 6824: 6769: 6759: 6620: 6610: 6248: 6155: 5161: 5079: 4931: 2848: 2723: 2669:
dictionaries and prewritten code snippets is available through the application menus. Since
1168: 591: 513:
Send the new file path (via another Apple event) to a text editor or web editor application.
154: 130: 4787:). The AppleScript Editor is also able to directly edit and run some of the OSA languages. 17: 7499: 7489: 7459: 7329: 7196: 7155: 7060: 7055: 6969: 6891: 6864: 6661: 6605: 5854: 3375:. Runtime keyed access is unsupported; all keys must be compile-time constant identifiers. 2836: 2697: 452: 439: 6441: 6227: 4916: 3802:
Enumerate a list. On each iteration set the loopVariable to a new item in the given list
690:
in the Script Editor, denotes continuation of a single statement across multiple lines.)
6350: 7625: 7484: 7384: 7314: 7289: 7227: 6859: 6849: 6702: 6692: 6651: 6615: 6506: 6381: 6280: 6197: 5068:
Sanderson, Hamish; Rosenthal, Hanaan (2009). "Interacting with the Unix Command Line".
3315: 3042: 2896: 2751: 2661: 339: 238: 123: 5715: 4799: 3423:: class that converts between standard units. For instance, a value can be defined as 7640: 7561: 7464: 7150: 7130: 6839: 6744: 6717: 6707: 6697: 6656: 6600: 6595: 6315: 6270: 6190: 5459: 5246: 4970: 4953: 4831: 3284: 3072: 2992: 2790: 2715: 2670: 456: 395: 383: 378:
command, allowed AppleScripts much greater control over the operating system itself.
5603: 4858:
all support native means of working with Apple events without being OSA components.
7571: 7409: 7369: 7279: 7191: 7115: 6712: 6687: 6677: 6555: 6235:
Proceedings of the third ACM SIGPLAN conference on History of programming languages
6185: 5331: 4924:
Proceedings of the third ACM SIGPLAN conference on History of programming languages
4574:-- copy the list items of variable3 into separate variables variable4 and variable5 3398:: a reference to a file system object (file or folder), in plain text, using Unix ( 2794: 595: 473: 460: 435: 427: 6148:
Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X
5682: 5083: 5069: 5013: 4378:
A subroutine that is run periodically by the system when the application is idle.
586:
Comments can be made multiple ways. A one-line comment can begin with 2 hyphens (
7434: 7339: 7309: 7299: 7274: 6854: 6799: 6388: 5186: 4862: 3319: 2925: 2743: 485: 431: 426:
In October 2016, longtime AppleScript product manager and automation evangelist
415: 374:
underpinnings and AppleScript's ability to run Unix commands directly, with the
370: 359: 266: 119: 114: 2932:, also called AppleScript/Objective-C or ASOC, part of the Xcode package since 7474: 7454: 7429: 7359: 7349: 7334: 7319: 7254: 6829: 6819: 6159: 4966: 3414: 2711: 2674: 1486: 1482: 1278: 282: 234: 59: 6215: 6177: 6138: 5855:"Building a basic AppleScriptObjC (Cocoa-AppleScript) application with Xcode" 5101: 3551:
lines a number of times. The looping can be prematurely stopped with command
2673:(10.10), Script Editor includes the ability to write in both AppleScript and 2299:"You haven't selected a function. The operation has cancelled." 516:
Tell that editor application to write a link for the photo into an HTML file.
7586: 7374: 7344: 7324: 7304: 7175: 7120: 7080: 6869: 6641: 6406: 6371: 6340: 6305: 6252: 5788: 5121: 5037: 4935: 4776: 3334:: text. In versions of AppleScript before 2.0 (Mac OS X 10.4 and below) the 3145: 1413: 1324: 492:
Open a photo in a photo-editing application (by sending that application an
328: 324: 286: 218: 4411:
number of seconds the system should wait before running the handler again.
2855:, TextExpander—which can run AppleScripts on demand using key combinations. 5737: 2738:
A discontinued third-party commercial IDE for AppleScript, especially for
7294: 6964: 6906: 6789: 6577: 5634: 5580: 5551: 5522: 5493: 5464: 5195: 4866: 3206:: an application object, used mostly as a specifier for tell statements ( 3166:
AppleScript Utility (for scripting a few AppleScript related preferences)
2321: 2317: 1234: 1179:
combined with an object, such as a page, a document or a range of pages.
1160: 403: 366: 242: 143: 139: 135: 4810: with: comparison of JXA and AppleScript scripting. You can help by 2324:
dialog box sequence. Here, the username is John and password is app123:
1175:(AEOM), which specifies the objects any particular application "knows". 311:
tendencies in its syntax, but does not strictly conform to any of these
7529: 7419: 7239: 6809: 6804: 3351: 2781:
AppleScripts can be saved from a script editor as applications (called
481: 261:
AppleScript is primarily a scripting language developed by Apple to do
5408: 5353: 7519: 7449: 7424: 7404: 7244: 7014: 7004: 6151: 5327:"OS X 10.10 Yosemite: The Ars Technica Review: JavaScript automation" 5075: 3347: 653:-- a modal window with "OK" and "Cancel" buttons 7545: 7596: 7009: 6999: 6930: 6529: 6356:. Missing Manual series. Sebastopol, CA; Farnham: O'Reilly Media. 5658:"Mac Automation Scripting Guide: Using the Systemwide Script Menu" 4887: 3976:
One important variation on this block structure is in the form of
3399: 3322:) number. Can be manipulated with built-in mathematical operators. 3154:
Printer Setup Utility (scriptable utility for handling print jobs)
2948: 2682: 1238: 477: 387: 246: 147: 6461: 4399:-- number of seconds to pause before executing idle handler again 3247:
value. There are a number of language-defined constants, such as
3108:
AppleScriptObjC can be used in all subsequent Mac OS X versions.
1277:
Alternatively, the tell may be expressed in one line by using an
6896: 5137:"AppleScript Language Guide commands reference: do shell script" 4843: 3725:-- repeat the block 2000 times, i gets all values from 1 to 2000 293: 6502: 5271:"Apple's intent isn't the same as committing to mac automation" 4390:--code to execute when the script's execution has completed 3417:
format), for use in commands and objects that work with colors.
398:, allowed users to build Cocoa applications using AppleScript. 7524: 5547:"Mac Gems: Keyboard Maestro 6 is a genius at repetitive tasks" 4855: 4794: 3454:
statement. The most important structures are described below.
523: 420: 6021:"AppleScript Language Guide: Handlers in Script Applications" 4744:
An important aspect of the AppleScript implementation is the
3758:-- repeat the block 4 times, i gets values 100, 75, 50 and 25 3371:: a keyed list of objects. Like a list, except structured as 2832:
can be assigned to AppleScripts in the script menu using the
5996:"POSIX file — Class Reference — AppleScript Language Guide" 4457:
Script objects may be defined explicitly using the syntax:
2843:. In addition, various third-party utilities are available— 6480: 5738:"WWDC 2013 Session 416: Introducing AppleScript Libraries" 3308:. Can be manipulated with built-in mathematical operators. 307:(particularly in the construction of script objects), and 5946:"Technical Note TN1164: Scripting Additions for Mac OS X" 3222:: a meta-object that specifies the type of other objects. 3160:
HelpViewer (scriptable utility for showing help displays)
1720:"You may only input numbers into a calculator." 6498: 5918:"Introduction to Automator AppleScript Actions Tutorial" 2940:
Where AppleScriptObjC can be used in each macOS version
2809:, or from any other place where applications can be run. 6442:"AppleScript for Python Programmers (Comparison Chart)" 4811: 3148:(scriptable auditory and braille screen reader package) 2652:
The editor for AppleScript packaged with macOS, called
5434:"AppleScript Language Guide: Folder Actions Reference" 677:-- an audio message using a synthesized computer voice 642:
could be written in many different forms, including:
3163:
Database Events (minimal SQLite3 database interface)
7554: 7538: 7224: 7184: 7039: 6982: 6952: 6929: 6920: 6737: 6730: 6670: 6634: 6576: 6569: 6046:"AppleScript Overview: Open Scripting Architecture" 237:that facilitates automated control over scriptable 208: 180: 170: 153: 129: 113: 87: 65: 53: 37: 6380: 6349: 6314: 6279: 6189: 3122:A graphical, modular editing environment in which 6282:AppleScript Programming for the Absolute Beginner 3988:(function-like subroutines). Handlers begin with 414:, veteran Mac software developer and commentator 281:command language, AppleScript can be compared to 5162:"Apple's greatest hits: 30 significant products" 250: 5320: 5318: 5316: 4468:-- commands and handlers specific to the script 2908:but written in AppleScript or AppleScriptObjC. 4779:'s External Commands. Scripting additions are 4505:-- create an integer variable called variable1 3462:AppleScript offers two kinds of conditionals. 245:, it is currently included in all versions of 6514: 6146:Rosenthal, Hanaan; Sanderson, Hamish (2010). 4430:--commands to execute before the script quits 4073:-- commands to apply to the folder or items 8: 6123:. Developer Reference. Indianapolis: Wiley. 4973:(Version 2.11). Retrieved November 11, 2022. 4592:-- set a variable to an instance of a script 609:# So is this! (in Mac OS X Leopard or later) 32: 6391:series (2nd ed.). Hoboken, NJ: Wiley. 5063: 5061: 5059: 5057: 5055: 5053: 5051: 5049: 5047: 5007: 5005: 5003: 5001: 4907: 4905: 4903: 4439:-- required for the script to actually quit 7232: 7043: 6926: 6734: 6573: 6521: 6507: 6499: 5760: 5758: 5117:"Apple Ponders Standardizing on HyperTalk" 4784: 4547:-- create a list variable called variable3 4520:-- create a text variable called variable2 4127:Handler using "to" and labeled parameters 2957: 2747: 1416:can also be expressed using either nested 31: 6242: 5971:"AppleScript Release Notes: 10.5 Changes" 5409:"Mark Alldritt's Journal Â» FaceSpan" 5191:"The unlikely persistence of AppleScript" 3431:by casting between unit types (using the 590:). In AppleScript 2.0, first released in 323:In the late 1980s Apple considered using 6192:Apple Training Series: AppleScript 1-2-3 4768: 4249:"Congratulations! You scored." 4120: 3998: 3889: 2938: 2905: 1229:front window". AEOM uses an application 687: 683: 274: 7692:Dynamically typed programming languages 7647:Macintosh operating systems development 6196:. Apple Pro training series. Berkeley: 5940: 5938: 5125:. Vol. 11, no. 9. p. 31. 4899: 379: 3157:Image Events (core image manipulation) 1327:can be expressed using nested blocks: 538:. Elements are generally grouped into 7677:Programming languages created in 1993 4773:Open Scripting Architecture eXtension 2735:ASObjC Explorer 4, from Shane Stanley 560:a scriptable object to run a command. 7: 5898:from the original on October 9, 2022 5802:Tsai, Michael (September 29, 2014). 3602:Conditional loops. The block inside 2900: 2739: 391: 6481:"MacScripter AppleScript community" 5683:"osascript(1) Mac OS X Manual Page" 5545:Breen, Christopher (June 4, 2013). 5325:Siracusa, John (October 16, 2014). 5115:Flynn, Laurie (February 27, 1989). 4928:Association for Computing Machinery 3134:Scriptable core system applications 535: 423:for tinkerers and advanced users." 6321:(2nd ed.). Beijing; Farnham: 5628:Fleishman, Glenn (June 12, 2015). 5574:Breen, Christopher (May 7, 2010). 5240:Evans, Jonny (November 17, 2016). 5214:Lovejoy, Ben (November 17, 2016). 4984:"OS X 10.10 Yosemite release date" 531:scripts are used again and again. 338:across the company and within its 241:applications. First introduced in 25: 6317:AppleScript: The Definitive Guide 5853:Waldie, Ben (September 6, 2012). 5767:AppleScript: the definitive guide 5604:"AppleScripts – Quicksilver Wiki" 5518:"Capsule review: FastScripts 2.5" 5487:Beam, Brian (February 10, 2015). 5458:Miller, Dan (December 22, 2010). 5269:Gamet, Jeff (November 23, 2016). 4834:and later versions of macOS, the 4308:Defined using "on open theItems". 1481:might be expressed as sequential 299:AppleScript has some elements of 94:2.8 / October 16, 2014 7672:High-level programming languages 7620: 7619: 6462:"Doug's AppleScripts for iTunes" 6077:. JXA-Cookbook. December 6, 2019 5379:"ASObjC Explorer 4 Discontinued" 4890:– competitive technology of 1987 4798: 3577:Repeat a given number of times. 3098: 3091: 3084: 3077: 3061: 3054: 3047: 3029: 3022: 3004: 2997: 2977: 2877:run using the Unix open command. 2449:"Username : John" 638:In AppleScript, the traditional 7260:Apple Push Notification service 6352:AppleScript: The Missing Manual 5829:"AppleScriptObjC Release Notes" 5015:AppleScript: the missing manual 4124:Handler with labeled parameters 3984:blocks that are used to define 3413:: specifies an RGB triplet (in 2793:). Applets can be run from the 797:"Dialog Window Title" 263:inter-application communication 5882:"ASObjCExtras Scripting Guide" 5354:"Smile and SmileLab Home Page" 2637:and prewritten code snippets. 2584:"Incorrect username" 2548:"Incorrect password" 1: 7687:Dynamic programming languages 3269:true/false value. Actually a 2899:), written in AppleScript or 2873:Unix command line and launchd 2834:Keyboard & Mouse Settings 334:as the standard language for 253:that underlies the language. 6278:Ford Jr., Jerry Lee (2007). 6100:"AppleScript Language Guide" 5576:"Capsule review: QuicKeys 4" 5516:Frakes, Dan (June 2, 2011). 5084:10.1007/978-1-4302-2362-7_27 4785:§ AppleScript Libraries 1420:or a series of possessives: 1245:applications, this is under 606:--This is a one line comment 309:natural language programming 44:Natural language programming 27:Scripting language for macOS 7505:System Integrity Protection 6119:Munro, Mark Conway (2010). 5460:"Capsule review: Hazel 2.3" 4746:Open Scripting Architecture 4740:Open Scripting Architecture 3791:-- commands to be repeated 3208:tell application "Finder" … 3099: 3092: 3085: 3078: 3062: 3055: 3048: 3030: 3023: 3005: 2998: 2978: 2789:when they accept input via 930:"Nope, try again" 305:object-oriented programming 251:Open Scripting Architecture 176:.scpt, .scptd, .applescript 71:; 33 years ago 18:Open Scripting Architecture 7708: 6188:; Cheeseman, Bill (2009). 6150:(3rd ed.). Berkeley: 5804:"AppleScript and Yosemite" 5074:(3rd ed.). Berkeley: 4873:Limitations of AppleScript 4767:One feature of the OSA is 3749:-- commands to be repeated 3591:-- commands to be repeated 3566:-- commands to be repeated 3173:Scripting Additions (OSAX) 3115: 2518:"Access granted" 1318:"Microsoft Word" 1292:"Microsoft Word" 1263:"Microsoft Word" 1121:"Happily accept" 1085:"Happily accept" 1079:"Rudely decline" 344:interprocess communication 342:operating system, and for 7616:denote upcoming products. 7609: 7235: 7046: 6536: 6160:10.1007/978-1-4302-2362-7 5769:(2nd ed.). Beijing: 5296:"Scriptable Applications" 4836:JavaScript for Automation 4791:JavaScript for Automation 4775:, which were inspired by 4484:Miscellaneous information 1412:The concept of an object 1323:The concept of an object 1151:Natural language metaphor 1070:"Hello, world!" 674:"Hello, world!" 662:"Hello, world!" 650:"Hello, world!" 213: 109: 83: 6348:Goldstein, Adam (2005). 5012:Goldstein, Adam (2005). 4869:modules via browserify. 4686: 4604: 4490: 4459: 4421: 4381: 4311: 4192: 4132: 4094: 4043: 4013: 3952:-- commands to be tested 3946: 3901: 3804: 3722: 3612: 3579: 3560: 3464: 3338:class was distinct from 2326: 1543: 1491: 1422: 1329: 1309: 1307:to transitive commands: 1283: 1254: 1181: 1165:graphical user interface 1064: 964: 828: 692: 644: 616: 603: 7510:Uniform Type Identifier 7207:Remote Install Mac OS X 7071:Bluetooth File Exchange 6383:AppleScript for Dummies 6253:10.1145/1238844.1238845 5708:"AppleScript Libraries" 5630:"TextExpander 5 review" 4936:10.1145/1238844.1238845 4031:-- subroutine commands 3503:-- Compound conditional 2819:Folder Actions Setup... 1645:"Number here" 1588:"Number here" 1541:A failsafe calculator: 1338:"QuarkXPress" 1173:AppleEvent Object Model 915:"Looks Good!" 888:"Prompt Text" 722:"Text Answer" 710:"Dialog Text" 640:"Hello, World!" program 394:framework, released in 162:(parts available under 7395:Grand Central Dispatch 6422:"AppleScript Overview" 6313:Neuburg, Matt (2006). 6237:. ACM. pp. 1–21. 5765:Neuburg, Matt (2006). 3237:Standard data objects 3180:StandardAdditions.osax 2891:Re-usable AppleScript 2797:, from the toolbar of 2742:. The main feature is 1247:File → Open Dictionary 982:"Alert Text" 876:"List Title" 410:In a 2013 article for 369:(around 2002) and its 301:procedural programming 7667:Programming languages 4861:JXA also provides an 4535:"doubleday" 4302:implicit run handler. 3893:Application targeting 3467:-- Simple conditional 2934:Mac OS X Snow Leopard 2887:AppleScript Libraries 2882:AppleScript resources 2807:application launchers 2748:AppleScript Libraries 2658:Mac OS X Snow Leopard 2047:"Multiply?" 1915:"Subtract?" 1500:"my bitmap" 1458:"my bitmap" 1449:"my bitmap" 1418:prepositional phrases 313:programming paradigms 202:/AppleScriptLangGuide 96:; 9 years ago 7657:Proprietary software 6379:Trinko, Tom (2004). 5878:Table adapted from: 5413:blog.latenightsw.com 5383:macosxautomation.com 5078:. pp. 863–896. 4005:Folder actions block 3427:, then converted to 3191:Classes (data types) 3178:Standard Additions ( 3118:Automator (software) 2479:"Continue" 2461:"Password" 2416:"Continue" 2380:"Username" 1654:"Continue" 1597:"Continue" 1479:programming language 599:#!/usr/bin/osascript 336:end-user development 7662:Scripting languages 7577:Classic Environment 7146:Migration Assistant 7101:Digital Color Meter 6983:Former Applications 6845:Notification Center 6426:developer.apple.com 6104:developer.apple.com 6071:"Importing Scripts" 6050:developer.apple.com 6025:developer.apple.com 6000:developer.apple.com 5975:developer.apple.com 5950:developer.apple.com 5922:developer.apple.com 5880:Naganoya, Takaaki. 5833:developer.apple.com 5712:macosautomation.com 5662:developer.apple.com 5438:developer.apple.com 5300:developer.apple.com 5141:developer.apple.com 4769:scripting additions 3934:-- commands for app 3442:Language structures 3186:Language essentials 2941: 2805:, from third-party 2761:Late Night Software 2702:Late Night Software 2635:syntax highlighting 2407:"Correct" 2179:"Divide?" 1537:Examples of scripts 1167:is designed on the 1139:"Piffle!" 831:-- Choose from list 401:In a 2006 article, 290:Windows Script Host 275:scripting additions 172:Filename extensions 66:First appeared 34: 7225:Technologies & 7202:ODBC Administrator 7161:System Information 6647:10.8 Mountain Lion 6286:. Boston: Thomson 5018:. Sebastopol, CA: 4986:. October 16, 2014 4695:"Finder" 4613:"Finder" 4344:"Finder" 3961:-- error commands 3913:"Safari" 3328:: a date and time. 3126:are built up from 2939: 2930:software framework 2912:AppleScript Studio 2906:scripting addition 2841:System Preferences 2830:Keyboard shortcuts 2692:From third parties 2654:AppleScript Editor 2647:AppleScript Editor 2347:"app123" 2335:"Finder" 2257:"Answer" 2125:"Answer" 1993:"Answer" 1861:"Answer" 1552:"Finder" 1015:"Cancel" 758:"Cancel" 576:AppleScript Editor 380:AppleScript Studio 332:scripting language 231:scripting language 7652:MacOS development 7634: 7633: 7605: 7604: 7250:Apple File System 7220: 7219: 7106:Directory Utility 7035: 7034: 6978: 6977: 6960:Interface Builder 6738:Core Applications 6726: 6725: 6683:10.13 High Sierra 6626:10.6 Snow Leopard 6398:978-0-7645-7494-8 6297:978-1-59863-384-9 6288:Course Technology 6207:978-0-321-14931-2 6169:978-1-4302-2361-0 6130:978-0-470-56229-1 5071:Learn AppleScript 4930:. pp. 1–21. 4828: 4827: 4517:"Hello" 4292: 4291: 4116: 4115: 3990:on functionName() 3974: 3973: 3931:"MyApp" 3558:Repeat forever. 3527:-- other commands 3450:and ends with an 3415:16-bit high color 3106: 3105: 2895:(available since 2623:Development tools 1729:"ERROR" 1477:which in another 1383:"Apple" 224: 223: 115:Typing discipline 16:(Redirected from 7699: 7623: 7622: 7515:Universal binary 7233: 7171:Universal Access 7111:DiskImageMounter 7066:Audio MIDI Setup 7051:Activity Monitor 7044: 6927: 6870:Quicktime Player 6735: 6662:10.11 El Capitan 6574: 6523: 6516: 6509: 6500: 6495: 6493: 6491: 6476: 6474: 6472: 6457: 6455: 6453: 6437: 6435: 6433: 6410: 6386: 6375: 6355: 6344: 6320: 6309: 6285: 6274: 6246: 6232: 6219: 6195: 6181: 6142: 6115: 6113: 6111: 6087: 6086: 6084: 6082: 6067: 6061: 6060: 6058: 6056: 6042: 6036: 6035: 6033: 6031: 6017: 6011: 6010: 6008: 6006: 5992: 5986: 5985: 5983: 5981: 5967: 5961: 5960: 5958: 5956: 5942: 5933: 5932: 5930: 5928: 5914: 5908: 5907: 5905: 5903: 5897: 5886: 5876: 5870: 5869: 5867: 5865: 5850: 5844: 5843: 5841: 5839: 5825: 5819: 5818: 5816: 5814: 5799: 5793: 5792: 5762: 5753: 5752: 5750: 5748: 5734: 5728: 5727: 5725: 5723: 5718:on July 26, 2020 5714:. Archived from 5704: 5698: 5697: 5695: 5693: 5679: 5673: 5672: 5670: 5668: 5654: 5648: 5647: 5645: 5643: 5625: 5619: 5618: 5616: 5614: 5600: 5594: 5593: 5591: 5589: 5571: 5565: 5564: 5562: 5560: 5542: 5536: 5535: 5533: 5531: 5513: 5507: 5506: 5504: 5502: 5484: 5478: 5477: 5475: 5473: 5455: 5449: 5448: 5446: 5444: 5430: 5424: 5423: 5421: 5419: 5405: 5399: 5398: 5396: 5394: 5389:on June 21, 2017 5385:. Archived from 5375: 5369: 5368: 5366: 5364: 5350: 5344: 5343: 5341: 5339: 5322: 5311: 5310: 5308: 5306: 5292: 5286: 5285: 5283: 5281: 5266: 5260: 5259: 5257: 5255: 5237: 5231: 5230: 5228: 5226: 5211: 5205: 5204: 5183: 5177: 5176: 5174: 5172: 5158: 5152: 5151: 5149: 5147: 5133: 5127: 5126: 5112: 5106: 5105: 5065: 5042: 5041: 5009: 4996: 4995: 4993: 4991: 4980: 4974: 4964: 4958: 4957: 4921: 4909: 4823: 4820: 4802: 4795: 4735: 4732: 4729: 4726: 4723: 4720: 4717: 4714: 4711: 4708: 4705: 4702: 4699: 4696: 4693: 4690: 4680: 4677: 4674: 4671: 4668: 4665: 4662: 4659: 4656: 4653: 4650: 4647: 4644: 4641: 4638: 4635: 4632: 4629: 4626: 4623: 4620: 4617: 4614: 4611: 4608: 4593: 4590: 4587: 4584: 4581: 4578: 4575: 4572: 4569: 4566: 4563: 4560: 4557: 4554: 4551: 4548: 4545: 4542: 4539: 4536: 4533: 4530: 4527: 4524: 4521: 4518: 4515: 4512: 4509: 4506: 4503: 4500: 4497: 4494: 4475: 4472: 4469: 4466: 4463: 4446: 4443: 4440: 4437: 4434: 4431: 4428: 4425: 4406: 4403: 4400: 4397: 4394: 4391: 4388: 4385: 4366: 4363: 4360: 4357: 4354: 4351: 4348: 4345: 4342: 4339: 4336: 4333: 4330: 4327: 4324: 4321: 4318: 4315: 4286: 4283: 4280: 4277: 4274: 4271: 4268: 4265: 4262: 4259: 4256: 4253: 4250: 4247: 4244: 4241: 4238: 4235: 4232: 4229: 4226: 4223: 4220: 4217: 4214: 4211: 4208: 4205: 4202: 4199: 4196: 4187: 4184: 4181: 4178: 4175: 4172: 4169: 4166: 4163: 4160: 4157: 4154: 4151: 4148: 4145: 4142: 4139: 4136: 4121: 4110: 4107: 4104: 4101: 4098: 4089: 4086: 4083: 4080: 4077: 4074: 4071: 4068: 4065: 4062: 4059: 4056: 4053: 4050: 4047: 4038: 4035: 4032: 4029: 4026: 4023: 4020: 4017: 4002:Function handler 3999: 3994:end functionName 3992:and ending with 3968: 3965: 3962: 3959: 3956: 3953: 3950: 3941: 3938: 3935: 3932: 3929: 3926: 3923: 3920: 3917: 3914: 3911: 3908: 3905: 3890: 3886: 3883: 3880: 3877: 3874: 3871: 3868: 3865: 3862: 3859: 3856: 3853: 3850: 3847: 3844: 3841: 3838: 3835: 3832: 3829: 3826: 3823: 3820: 3817: 3814: 3811: 3808: 3798: 3795: 3792: 3789: 3786: 3783: 3780: 3777: 3774: 3771: 3768: 3765: 3762: 3759: 3756: 3753: 3750: 3747: 3744: 3741: 3738: 3735: 3732: 3729: 3726: 3715: 3712: 3709: 3706: 3703: 3700: 3697: 3694: 3691: 3688: 3685: 3682: 3679: 3676: 3673: 3670: 3667: 3664: 3661: 3658: 3655: 3652: 3649: 3646: 3643: 3640: 3637: 3634: 3631: 3628: 3625: 3622: 3619: 3616: 3598: 3595: 3592: 3589: 3586: 3583: 3573: 3570: 3567: 3564: 3534: 3531: 3528: 3525: 3522: 3519: 3516: 3513: 3510: 3507: 3504: 3501: 3498: 3495: 3492: 3489: 3486: 3483: 3480: 3477: 3474: 3471: 3468: 3434: 3430: 3426: 3345: 3341: 3337: 3297: 3293: 3283:: a rarely used 3276: 3258: 3254: 3250: 3231: 3209: 3102: 3101: 3095: 3094: 3088: 3087: 3081: 3080: 3065: 3064: 3058: 3057: 3051: 3050: 3033: 3032: 3026: 3025: 3008: 3007: 3001: 3000: 2981: 2980: 2942: 2849:Keyboard Maestro 2826:Hotkey launchers 2770:Script launchers 2618: 2615: 2612: 2609: 2606: 2603: 2600: 2597: 2594: 2591: 2588: 2585: 2582: 2579: 2576: 2573: 2570: 2567: 2564: 2561: 2558: 2555: 2552: 2549: 2546: 2543: 2540: 2537: 2534: 2531: 2528: 2525: 2522: 2519: 2516: 2513: 2510: 2507: 2504: 2501: 2498: 2495: 2492: 2489: 2486: 2483: 2480: 2477: 2474: 2471: 2468: 2465: 2462: 2459: 2456: 2453: 2450: 2447: 2444: 2441: 2438: 2435: 2432: 2429: 2426: 2423: 2420: 2417: 2414: 2411: 2408: 2405: 2402: 2399: 2396: 2393: 2390: 2387: 2384: 2381: 2378: 2375: 2372: 2369: 2366: 2363: 2360: 2359:"John" 2357: 2354: 2351: 2348: 2345: 2342: 2339: 2336: 2333: 2330: 2312: 2309: 2306: 2303: 2300: 2297: 2294: 2291: 2288: 2285: 2282: 2279: 2276: 2273: 2270: 2267: 2264: 2261: 2258: 2255: 2252: 2249: 2246: 2243: 2240: 2237: 2234: 2231: 2228: 2225: 2222: 2219: 2216: 2213: 2210: 2207: 2204: 2201: 2198: 2195: 2192: 2189: 2186: 2183: 2180: 2177: 2174: 2171: 2168: 2165: 2162: 2159: 2156: 2153: 2150: 2147: 2144: 2141: 2138: 2135: 2132: 2129: 2126: 2123: 2120: 2117: 2114: 2111: 2108: 2105: 2102: 2099: 2096: 2093: 2090: 2087: 2084: 2081: 2078: 2075: 2072: 2069: 2066: 2063: 2060: 2057: 2054: 2051: 2048: 2045: 2042: 2039: 2036: 2033: 2030: 2027: 2024: 2021: 2018: 2015: 2012: 2009: 2006: 2003: 2000: 1997: 1994: 1991: 1988: 1985: 1982: 1979: 1976: 1973: 1970: 1967: 1964: 1961: 1958: 1955: 1952: 1949: 1946: 1943: 1940: 1937: 1934: 1931: 1928: 1925: 1922: 1919: 1916: 1913: 1910: 1907: 1904: 1901: 1898: 1895: 1892: 1889: 1886: 1883: 1880: 1877: 1874: 1871: 1868: 1865: 1862: 1859: 1856: 1853: 1850: 1847: 1844: 1841: 1838: 1835: 1832: 1829: 1826: 1823: 1820: 1817: 1814: 1811: 1808: 1805: 1802: 1799: 1796: 1793: 1790: 1787: 1784: 1783:"Add?" 1781: 1778: 1775: 1772: 1769: 1766: 1763: 1760: 1757: 1754: 1751: 1748: 1745: 1742: 1739: 1736: 1733: 1730: 1727: 1724: 1721: 1718: 1715: 1712: 1709: 1706: 1703: 1700: 1697: 1694: 1691: 1688: 1685: 1682: 1679: 1676: 1673: 1670: 1667: 1664: 1661: 1658: 1655: 1652: 1649: 1646: 1643: 1640: 1637: 1634: 1631: 1628: 1625: 1622: 1619: 1616: 1613: 1610: 1607: 1604: 1601: 1598: 1595: 1592: 1589: 1586: 1583: 1580: 1577: 1574: 1571: 1568: 1565: 1562: 1559: 1556: 1555:-- Set variables 1553: 1550: 1547: 1528: 1525: 1522: 1519: 1516: 1513: 1510: 1507: 1504: 1501: 1498: 1495: 1473: 1470: 1466: 1463: 1459: 1456: 1453: 1450: 1447: 1444: 1441: 1438: 1435: 1432: 1429: 1426: 1408: 1405: 1402: 1399: 1396: 1393: 1390: 1387: 1384: 1381: 1378: 1375: 1372: 1369: 1366: 1363: 1360: 1357: 1354: 1351: 1348: 1345: 1342: 1339: 1336: 1333: 1319: 1316: 1313: 1299: 1296: 1293: 1290: 1287: 1273: 1270: 1267: 1264: 1261: 1258: 1224: 1221: 1218: 1215: 1212: 1209: 1206: 1203: 1200: 1197: 1194: 1191: 1188: 1185: 1169:desktop metaphor 1158:natural language 1146: 1143: 1140: 1137: 1134: 1131: 1128: 1125: 1122: 1119: 1116: 1113: 1110: 1107: 1104: 1101: 1098: 1095: 1092: 1089: 1086: 1083: 1080: 1077: 1074: 1071: 1068: 1058: 1055: 1052: 1049: 1046: 1043: 1040: 1037: 1034: 1031: 1028: 1025: 1022: 1019: 1016: 1013: 1010: 1009:"Okay" 1007: 1004: 1003:"Skip" 1001: 998: 995: 992: 989: 986: 983: 980: 977: 974: 973:resultAlertReply 971: 968: 961: 958: 955: 952: 949: 946: 943: 940: 937: 934: 931: 928: 925: 922: 919: 916: 913: 910: 907: 904: 901: 898: 895: 892: 889: 886: 883: 880: 877: 874: 871: 868: 865: 862: 859: 856: 853: 850: 847: 844: 843:choose from list 841: 838: 835: 832: 825: 822: 819: 816: 813: 810: 807: 804: 801: 798: 795: 792: 789: 786: 785:"Skip" 783: 780: 777: 774: 773:"Okay" 771: 768: 765: 762: 759: 756: 753: 752:"Okay" 750: 747: 746:"Skip" 744: 741: 738: 735: 732: 729: 726: 723: 720: 717: 714: 711: 708: 705: 702: 699: 696: 678: 675: 672: 669: 666: 663: 660: 657: 654: 651: 648: 629: 626: 623: 620: 610: 607: 600: 592:Mac OS X Leopard 589: 484:in the world of 444:The Mac Observer 382:, released with 377: 215:Natural language 204: 201: 199: 197: 195: 193: 191: 189: 187: 104: 102: 97: 79: 77: 72: 35: 21: 7707: 7706: 7702: 7701: 7700: 7698: 7697: 7696: 7637: 7636: 7635: 7630: 7601: 7550: 7534: 7490:Speakable items 7460:Preference Pane 7440:Mission Control 7330:Core Foundation 7226: 7216: 7212:Software Update 7197:Network Utility 7180: 7156:System Settings 7141:Keychain Access 7061:Archive Utility 7056:AirPort Utility 7031: 6974: 6970:Quartz Composer 6948: 6922:Developer Tools 6916: 6885:version history 6722: 6666: 6630: 6565: 6532: 6527: 6489: 6487: 6485:macscripter.net 6479: 6470: 6468: 6466:dougscripts.com 6460: 6451: 6449: 6440: 6431: 6429: 6420: 6417: 6399: 6378: 6364: 6347: 6333: 6312: 6298: 6277: 6263: 6230: 6222: 6208: 6184: 6170: 6145: 6131: 6118: 6109: 6107: 6098: 6095: 6093:Further reading 6090: 6080: 6078: 6069: 6068: 6064: 6054: 6052: 6044: 6043: 6039: 6029: 6027: 6019: 6018: 6014: 6004: 6002: 5994: 5993: 5989: 5979: 5977: 5969: 5968: 5964: 5954: 5952: 5944: 5943: 5936: 5926: 5924: 5916: 5915: 5911: 5901: 5899: 5895: 5884: 5879: 5877: 5873: 5863: 5861: 5852: 5851: 5847: 5837: 5835: 5827: 5826: 5822: 5812: 5810: 5801: 5800: 5796: 5781: 5764: 5763: 5756: 5746: 5744: 5736: 5735: 5731: 5721: 5719: 5706: 5705: 5701: 5691: 5689: 5681: 5680: 5676: 5666: 5664: 5656: 5655: 5651: 5641: 5639: 5627: 5626: 5622: 5612: 5610: 5602: 5601: 5597: 5587: 5585: 5573: 5572: 5568: 5558: 5556: 5544: 5543: 5539: 5529: 5527: 5515: 5514: 5510: 5500: 5498: 5486: 5485: 5481: 5471: 5469: 5457: 5456: 5452: 5442: 5440: 5432: 5431: 5427: 5417: 5415: 5407: 5406: 5402: 5392: 5390: 5377: 5376: 5372: 5362: 5360: 5352: 5351: 5347: 5337: 5335: 5324: 5323: 5314: 5304: 5302: 5294: 5293: 5289: 5279: 5277: 5275:macobserver.com 5268: 5267: 5263: 5253: 5251: 5239: 5238: 5234: 5224: 5222: 5213: 5212: 5208: 5185: 5184: 5180: 5170: 5168: 5160: 5159: 5155: 5145: 5143: 5135: 5134: 5130: 5114: 5113: 5109: 5094: 5067: 5066: 5045: 5030: 5011: 5010: 4999: 4989: 4987: 4982: 4981: 4977: 4965: 4961: 4946: 4919: 4911: 4910: 4901: 4897: 4884: 4875: 4824: 4818: 4815: 4808:needs expansion 4793: 4742: 4737: 4736: 4733: 4730: 4727: 4724: 4721: 4718: 4715: 4712: 4709: 4706: 4703: 4700: 4697: 4694: 4691: 4688: 4682: 4681: 4678: 4675: 4672: 4669: 4666: 4663: 4660: 4657: 4654: 4651: 4648: 4645: 4642: 4639: 4636: 4633: 4630: 4627: 4624: 4621: 4618: 4615: 4612: 4609: 4606: 4595: 4594: 4591: 4588: 4585: 4582: 4579: 4576: 4573: 4570: 4567: 4564: 4561: 4558: 4555: 4552: 4549: 4546: 4543: 4540: 4537: 4534: 4531: 4528: 4525: 4522: 4519: 4516: 4513: 4510: 4507: 4504: 4501: 4498: 4495: 4492: 4486: 4477: 4476: 4473: 4470: 4467: 4464: 4461: 4448: 4447: 4444: 4441: 4438: 4435: 4432: 4429: 4426: 4423: 4408: 4407: 4404: 4401: 4398: 4395: 4392: 4389: 4386: 4383: 4368: 4367: 4364: 4361: 4358: 4355: 4352: 4349: 4346: 4343: 4340: 4337: 4334: 4331: 4328: 4325: 4322: 4319: 4316: 4313: 4288: 4287: 4284: 4281: 4278: 4275: 4272: 4269: 4266: 4263: 4260: 4257: 4254: 4251: 4248: 4245: 4242: 4239: 4236: 4233: 4230: 4227: 4224: 4221: 4218: 4215: 4212: 4209: 4206: 4203: 4200: 4197: 4194: 4189: 4188: 4185: 4182: 4179: 4176: 4174:-- called with: 4173: 4170: 4167: 4164: 4161: 4158: 4155: 4152: 4149: 4146: 4143: 4140: 4137: 4134: 4112: 4111: 4108: 4105: 4102: 4099: 4096: 4091: 4090: 4087: 4084: 4081: 4078: 4075: 4072: 4069: 4066: 4063: 4060: 4057: 4054: 4051: 4048: 4045: 4040: 4039: 4036: 4033: 4030: 4027: 4024: 4021: 4018: 4015: 3970: 3969: 3966: 3963: 3960: 3957: 3954: 3951: 3948: 3943: 3942: 3939: 3936: 3933: 3930: 3927: 3924: 3921: 3918: 3915: 3912: 3909: 3906: 3903: 3896:Error handling 3888: 3887: 3884: 3881: 3878: 3875: 3872: 3869: 3866: 3863: 3860: 3857: 3854: 3851: 3848: 3845: 3842: 3839: 3836: 3833: 3830: 3827: 3824: 3821: 3818: 3815: 3812: 3809: 3806: 3800: 3799: 3796: 3793: 3790: 3787: 3784: 3781: 3778: 3775: 3772: 3769: 3766: 3763: 3760: 3757: 3754: 3751: 3748: 3745: 3742: 3739: 3736: 3733: 3730: 3727: 3724: 3717: 3716: 3713: 3710: 3707: 3704: 3701: 3698: 3695: 3692: 3689: 3686: 3683: 3680: 3677: 3674: 3671: 3668: 3665: 3662: 3659: 3656: 3653: 3650: 3647: 3644: 3641: 3638: 3635: 3632: 3629: 3626: 3623: 3620: 3617: 3614: 3600: 3599: 3596: 3593: 3590: 3587: 3584: 3581: 3575: 3574: 3571: 3568: 3565: 3562: 3541: 3536: 3535: 3532: 3529: 3526: 3523: 3520: 3517: 3514: 3512:is greater than 3511: 3508: 3505: 3502: 3499: 3496: 3493: 3490: 3487: 3484: 3481: 3478: 3475: 3472: 3469: 3466: 3460: 3444: 3432: 3428: 3424: 3373:key–value pairs 3343: 3339: 3335: 3295: 3291: 3274: 3256: 3252: 3248: 3229: 3207: 3193: 3188: 3175: 3136: 3120: 3114: 2959: 2922: 2920:AppleScriptObjC 2914: 2901:AppleScriptObjC 2889: 2884: 2847:, FastScripts, 2837:Preference Pane 2772: 2759:FaceSpan, from 2740:AppleScriptObjC 2698:Script Debugger 2694: 2660:(10.6) through 2649:(Script Editor) 2643: 2630: 2625: 2620: 2619: 2616: 2613: 2610: 2607: 2604: 2601: 2598: 2595: 2592: 2589: 2586: 2583: 2580: 2577: 2574: 2571: 2568: 2565: 2562: 2559: 2556: 2553: 2550: 2547: 2544: 2541: 2538: 2535: 2532: 2529: 2526: 2523: 2520: 2517: 2514: 2511: 2508: 2505: 2502: 2499: 2496: 2493: 2490: 2487: 2484: 2481: 2478: 2475: 2472: 2469: 2466: 2463: 2460: 2457: 2454: 2451: 2448: 2445: 2442: 2439: 2436: 2433: 2430: 2427: 2424: 2421: 2418: 2415: 2412: 2409: 2406: 2403: 2400: 2397: 2394: 2391: 2388: 2385: 2382: 2379: 2376: 2373: 2370: 2367: 2364: 2361: 2358: 2355: 2352: 2349: 2346: 2343: 2340: 2337: 2334: 2331: 2328: 2314: 2313: 2310: 2307: 2304: 2301: 2298: 2295: 2292: 2289: 2286: 2283: 2280: 2277: 2274: 2271: 2268: 2265: 2262: 2259: 2256: 2253: 2250: 2247: 2244: 2241: 2238: 2235: 2232: 2229: 2226: 2223: 2220: 2217: 2215:"Yes" 2214: 2211: 2208: 2205: 2202: 2199: 2196: 2194:"Yes" 2193: 2190: 2187: 2184: 2181: 2178: 2175: 2172: 2169: 2167:button returned 2166: 2163: 2160: 2157: 2154: 2151: 2148: 2145: 2142: 2139: 2136: 2133: 2130: 2127: 2124: 2121: 2118: 2115: 2112: 2109: 2106: 2103: 2100: 2097: 2094: 2091: 2088: 2085: 2083:"Yes" 2082: 2079: 2076: 2073: 2070: 2067: 2064: 2062:"Yes" 2061: 2058: 2055: 2052: 2049: 2046: 2043: 2040: 2037: 2035:button returned 2034: 2031: 2028: 2025: 2022: 2019: 2016: 2013: 2010: 2007: 2004: 2001: 1998: 1995: 1992: 1989: 1986: 1983: 1980: 1977: 1974: 1971: 1968: 1965: 1962: 1959: 1956: 1953: 1951:"Yes" 1950: 1947: 1944: 1941: 1938: 1935: 1932: 1930:"Yes" 1929: 1926: 1923: 1920: 1917: 1914: 1911: 1908: 1905: 1903:button returned 1902: 1899: 1896: 1893: 1890: 1887: 1884: 1881: 1878: 1875: 1872: 1869: 1866: 1863: 1860: 1857: 1854: 1851: 1848: 1845: 1842: 1839: 1836: 1833: 1830: 1827: 1824: 1821: 1819:"Yes" 1818: 1815: 1812: 1809: 1806: 1803: 1800: 1798:"Yes" 1797: 1794: 1791: 1788: 1785: 1782: 1779: 1776: 1773: 1771:button returned 1770: 1767: 1764: 1761: 1758: 1755: 1752: 1749: 1746: 1743: 1740: 1737: 1734: 1731: 1728: 1725: 1722: 1719: 1716: 1713: 1710: 1707: 1704: 1701: 1698: 1695: 1692: 1689: 1686: 1683: 1680: 1677: 1674: 1671: 1668: 1665: 1662: 1659: 1656: 1653: 1650: 1647: 1644: 1641: 1638: 1636:"2nd" 1635: 1632: 1629: 1626: 1623: 1620: 1617: 1614: 1611: 1608: 1605: 1602: 1599: 1596: 1593: 1590: 1587: 1584: 1581: 1579:"1st" 1578: 1575: 1572: 1569: 1566: 1563: 1560: 1557: 1554: 1551: 1548: 1545: 1539: 1530: 1529: 1526: 1523: 1520: 1517: 1514: 1511: 1508: 1505: 1502: 1499: 1496: 1493: 1485:, like in this 1475: 1474: 1471: 1468: 1464: 1461: 1457: 1454: 1451: 1448: 1445: 1442: 1439: 1436: 1433: 1430: 1427: 1424: 1410: 1409: 1406: 1403: 1400: 1397: 1394: 1391: 1388: 1385: 1382: 1379: 1376: 1373: 1370: 1367: 1364: 1361: 1358: 1355: 1352: 1349: 1346: 1343: 1340: 1337: 1334: 1331: 1321: 1320: 1317: 1314: 1311: 1301: 1300: 1297: 1294: 1291: 1288: 1285: 1275: 1274: 1271: 1268: 1265: 1262: 1259: 1256: 1226: 1225: 1222: 1219: 1216: 1213: 1210: 1207: 1204: 1201: 1198: 1195: 1192: 1189: 1186: 1183: 1153: 1148: 1147: 1144: 1141: 1138: 1135: 1132: 1129: 1126: 1123: 1120: 1117: 1114: 1111: 1108: 1105: 1102: 1100:button returned 1099: 1096: 1093: 1090: 1087: 1084: 1081: 1078: 1075: 1072: 1069: 1066: 1060: 1059: 1056: 1053: 1050: 1047: 1044: 1041: 1038: 1035: 1032: 1029: 1026: 1023: 1020: 1017: 1014: 1011: 1008: 1005: 1002: 999: 996: 993: 990: 987: 984: 981: 978: 975: 972: 969: 966: 963: 962: 959: 956: 953: 950: 947: 944: 941: 938: 935: 932: 929: 926: 923: 920: 917: 914: 911: 908: 905: 902: 899: 896: 893: 890: 887: 884: 881: 878: 875: 872: 869: 866: 863: 860: 857: 854: 851: 848: 845: 842: 839: 836: 833: 830: 827: 826: 823: 820: 817: 814: 811: 808: 805: 802: 799: 796: 793: 790: 787: 784: 781: 778: 775: 772: 769: 766: 763: 760: 757: 754: 751: 748: 745: 742: 739: 736: 733: 730: 727: 724: 721: 718: 715: 712: 709: 706: 703: 700: 697: 694: 689: 685: 680: 679: 676: 673: 670: 667: 664: 661: 658: 655: 652: 649: 646: 636: 631: 630: 627: 624: 621: 618: 612: 611: 608: 605: 598: 587: 584: 469: 461:shell scripting 440:Craig Federighi 392:AppleScriptObjC 376:do shell script 375: 321: 259: 184: 105: 100: 98: 95: 75: 73: 70: 28: 23: 22: 15: 12: 11: 5: 7705: 7703: 7695: 7694: 7689: 7684: 7679: 7674: 7669: 7664: 7659: 7654: 7649: 7639: 7638: 7632: 7631: 7629: 7628: 7617: 7610: 7607: 7606: 7603: 7602: 7600: 7599: 7594: 7589: 7584: 7579: 7574: 7569: 7564: 7558: 7556: 7552: 7551: 7549: 7548: 7542: 7540: 7536: 7535: 7533: 7532: 7527: 7522: 7517: 7512: 7507: 7502: 7497: 7492: 7487: 7482: 7477: 7472: 7467: 7462: 7457: 7452: 7447: 7442: 7437: 7432: 7427: 7422: 7417: 7412: 7407: 7402: 7397: 7392: 7387: 7382: 7377: 7372: 7367: 7362: 7357: 7352: 7347: 7342: 7337: 7332: 7327: 7322: 7317: 7315:Core Animation 7312: 7307: 7302: 7297: 7292: 7287: 7282: 7277: 7272: 7267: 7262: 7257: 7252: 7247: 7242: 7236: 7230: 7228:User Interface 7222: 7221: 7218: 7217: 7215: 7214: 7209: 7204: 7199: 7194: 7188: 7186: 7182: 7181: 7179: 7178: 7173: 7168: 7163: 7158: 7153: 7148: 7143: 7138: 7133: 7128: 7123: 7118: 7113: 7108: 7103: 7098: 7096:Crash Reporter 7093: 7088: 7083: 7078: 7073: 7068: 7063: 7058: 7053: 7047: 7041: 7037: 7036: 7033: 7032: 7030: 7029: 7024: 7023: 7022: 7012: 7007: 7002: 6997: 6992: 6986: 6984: 6980: 6979: 6976: 6975: 6973: 6972: 6967: 6962: 6956: 6954: 6950: 6949: 6947: 6946: 6941: 6935: 6933: 6924: 6918: 6917: 6915: 6914: 6909: 6904: 6899: 6894: 6889: 6888: 6887: 6877: 6872: 6867: 6862: 6857: 6852: 6847: 6842: 6837: 6832: 6827: 6822: 6817: 6812: 6807: 6802: 6797: 6792: 6787: 6782: 6777: 6775:Control Center 6772: 6767: 6762: 6757: 6752: 6747: 6741: 6739: 6732: 6728: 6727: 6724: 6723: 6721: 6720: 6715: 6710: 6705: 6700: 6695: 6693:10.15 Catalina 6690: 6685: 6680: 6674: 6672: 6668: 6667: 6665: 6664: 6659: 6657:10.10 Yosemite 6654: 6652:10.9 Mavericks 6649: 6644: 6638: 6636: 6632: 6631: 6629: 6628: 6623: 6618: 6613: 6608: 6603: 6598: 6593: 6588: 6582: 6580: 6571: 6567: 6566: 6564: 6563: 6558: 6553: 6548: 6543: 6537: 6534: 6533: 6528: 6526: 6525: 6518: 6511: 6503: 6497: 6496: 6477: 6458: 6438: 6416: 6415:External links 6413: 6412: 6411: 6397: 6376: 6362: 6345: 6331: 6323:O'Reilly Media 6310: 6296: 6275: 6261: 6244:10.1.1.86.2218 6220: 6206: 6198:Peachpit Press 6182: 6168: 6143: 6129: 6116: 6094: 6091: 6089: 6088: 6062: 6037: 6012: 5987: 5962: 5934: 5909: 5871: 5845: 5820: 5794: 5779: 5771:O'Reilly Media 5754: 5729: 5699: 5674: 5649: 5620: 5595: 5566: 5537: 5508: 5479: 5450: 5425: 5400: 5370: 5345: 5312: 5287: 5261: 5232: 5206: 5189:(March 2013). 5178: 5153: 5128: 5107: 5092: 5043: 5028: 5020:O'Reilly Media 4997: 4975: 4959: 4944: 4898: 4896: 4893: 4892: 4891: 4883: 4880: 4874: 4871: 4826: 4825: 4805: 4803: 4792: 4789: 4771:, or OSAX for 4741: 4738: 4687: 4605: 4603: 4602: 4599: 4596: 4491: 4485: 4482: 4460: 4455: 4454: 4452: 4451:Script objects 4422: 4420: 4419: 4416: 4382: 4380: 4379: 4376: 4312: 4310: 4309: 4306: 4303: 4299: 4290: 4289: 4264:--called with: 4246:display dialog 4193: 4190: 4150:display dialog 4133: 4129: 4128: 4125: 4114: 4113: 4095: 4092: 4044: 4041: 4014: 4010: 4009: 4006: 4003: 3972: 3971: 3947: 3944: 3904:-- Simple form 3902: 3898: 3897: 3894: 3805: 3723: 3613: 3580: 3561: 3540: 3537: 3465: 3459: 3456: 3443: 3440: 3439: 3438: 3437: 3436: 3418: 3407:Miscellaneous 3405: 3404: 3403: 3393: 3387: 3378: 3377: 3376: 3366: 3357: 3356: 3355: 3329: 3323: 3316:floating-point 3309: 3299: 3278: 3260: 3235: 3234: 3233: 3223: 3217: 3211: 3200:Basic objects 3192: 3189: 3187: 3184: 3174: 3171: 3170: 3169: 3168: 3167: 3164: 3161: 3158: 3155: 3152: 3149: 3135: 3132: 3116:Main article: 3113: 3110: 3104: 3103: 3096: 3089: 3082: 3075: 3069: 3068: 3066: 3059: 3052: 3045: 3039: 3038: 3036: 3034: 3027: 3020: 3014: 3013: 3011: 3009: 3002: 2995: 2989: 2988: 2986: 2984: 2982: 2975: 2969: 2968: 2962: 2954: 2951: 2945: 2921: 2918: 2913: 2910: 2897:OS X Mavericks 2888: 2885: 2883: 2880: 2879: 2878: 2874: 2870: 2869: 2861: 2857: 2856: 2827: 2823: 2822: 2815: 2814:Folder actions 2811: 2810: 2801:windows, from 2779: 2771: 2768: 2767: 2766: 2763: 2756: 2755: 2752:OS X Mavericks 2750:(available in 2736: 2732: 2731: 2727: 2720: 2719: 2704: 2693: 2690: 2689: 2688: 2685: 2679: 2678: 2662:OS X Mavericks 2650: 2642: 2639: 2629: 2628:Script editors 2626: 2624: 2621: 2593:"OK" 2581:display dialog 2557:"OK" 2545:display dialog 2527:"OK" 2515:display dialog 2446:display dialog 2404:display dialog 2377:display dialog 2327: 2266:"OK" 2245:display dialog 2188:"No" 2176:display dialog 2134:"OK" 2113:display dialog 2056:"No" 2044:display dialog 2002:"OK" 1981:display dialog 1924:"No" 1912:display dialog 1870:"OK" 1849:display dialog 1792:"No" 1780:display dialog 1738:"OK" 1717:display dialog 1633:display dialog 1576:display dialog 1544: 1538: 1535: 1492: 1423: 1330: 1310: 1284: 1255: 1182: 1163:, just as the 1152: 1149: 1065: 965: 837:chosenListItem 829: 707:display dialog 693: 647:display dialog 645: 635: 632: 617: 604: 583: 580: 562: 561: 551: 528: 527: 520: 517: 514: 511: 500: 497: 468: 467:Basic concepts 465: 340:classic Mac OS 320: 317: 258: 255: 222: 221: 211: 210: 206: 205: 196:/documentation 182: 178: 177: 174: 168: 167: 157: 151: 150: 133: 127: 126: 117: 111: 110: 107: 106: 93: 91: 89:Stable release 85: 84: 81: 80: 67: 63: 62: 57: 51: 50: 41: 26: 24: 14: 13: 10: 9: 6: 4: 3: 2: 7704: 7693: 7690: 7688: 7685: 7683: 7682:1993 software 7680: 7678: 7675: 7673: 7670: 7668: 7665: 7663: 7660: 7658: 7655: 7653: 7650: 7648: 7645: 7644: 7642: 7627: 7618: 7615: 7612: 7611: 7608: 7598: 7595: 7593: 7590: 7588: 7585: 7583: 7580: 7578: 7575: 7573: 7570: 7568: 7567:Brushed metal 7565: 7563: 7560: 7559: 7557: 7553: 7547: 7544: 7543: 7541: 7537: 7531: 7528: 7526: 7523: 7521: 7518: 7516: 7513: 7511: 7508: 7506: 7503: 7501: 7498: 7496: 7493: 7491: 7488: 7486: 7485:Smart Folders 7483: 7481: 7478: 7476: 7473: 7471: 7468: 7466: 7465:Property list 7463: 7461: 7458: 7456: 7453: 7451: 7448: 7446: 7443: 7441: 7438: 7436: 7433: 7431: 7428: 7426: 7423: 7421: 7418: 7416: 7413: 7411: 7408: 7406: 7403: 7401: 7398: 7396: 7393: 7391: 7388: 7386: 7383: 7381: 7378: 7376: 7373: 7371: 7368: 7366: 7363: 7361: 7358: 7356: 7353: 7351: 7348: 7346: 7343: 7341: 7338: 7336: 7333: 7331: 7328: 7326: 7323: 7321: 7318: 7316: 7313: 7311: 7308: 7306: 7303: 7301: 7298: 7296: 7293: 7291: 7288: 7286: 7283: 7281: 7278: 7276: 7273: 7271: 7268: 7266: 7263: 7261: 7258: 7256: 7253: 7251: 7248: 7246: 7243: 7241: 7238: 7237: 7234: 7231: 7229: 7223: 7213: 7210: 7208: 7205: 7203: 7200: 7198: 7195: 7193: 7190: 7189: 7187: 7183: 7177: 7174: 7172: 7169: 7167: 7164: 7162: 7159: 7157: 7154: 7152: 7151:Script Editor 7149: 7147: 7144: 7142: 7139: 7137: 7134: 7132: 7131:Image Capture 7129: 7127: 7124: 7122: 7119: 7117: 7114: 7112: 7109: 7107: 7104: 7102: 7099: 7097: 7094: 7092: 7089: 7087: 7084: 7082: 7079: 7077: 7074: 7072: 7069: 7067: 7064: 7062: 7059: 7057: 7054: 7052: 7049: 7048: 7045: 7042: 7038: 7028: 7025: 7021: 7018: 7017: 7016: 7013: 7011: 7008: 7006: 7003: 7001: 6998: 6996: 6993: 6991: 6988: 6987: 6985: 6981: 6971: 6968: 6966: 6963: 6961: 6958: 6957: 6955: 6951: 6945: 6942: 6940: 6937: 6936: 6934: 6932: 6928: 6925: 6923: 6919: 6913: 6910: 6908: 6905: 6903: 6900: 6898: 6895: 6893: 6890: 6886: 6883: 6882: 6881: 6878: 6876: 6873: 6871: 6868: 6866: 6863: 6861: 6858: 6856: 6853: 6851: 6848: 6846: 6843: 6841: 6838: 6836: 6833: 6831: 6828: 6826: 6823: 6821: 6818: 6816: 6813: 6811: 6808: 6806: 6803: 6801: 6798: 6796: 6793: 6791: 6788: 6786: 6783: 6781: 6778: 6776: 6773: 6771: 6768: 6766: 6763: 6761: 6758: 6756: 6753: 6751: 6748: 6746: 6743: 6742: 6740: 6736: 6733: 6729: 6719: 6716: 6714: 6711: 6709: 6706: 6704: 6701: 6699: 6696: 6694: 6691: 6689: 6686: 6684: 6681: 6679: 6676: 6675: 6673: 6669: 6663: 6660: 6658: 6655: 6653: 6650: 6648: 6645: 6643: 6640: 6639: 6637: 6633: 6627: 6624: 6622: 6619: 6617: 6614: 6612: 6609: 6607: 6604: 6602: 6599: 6597: 6594: 6592: 6589: 6587: 6584: 6583: 6581: 6579: 6575: 6572: 6568: 6562: 6559: 6557: 6554: 6552: 6551:Built-in apps 6549: 6547: 6544: 6542: 6539: 6538: 6535: 6531: 6524: 6519: 6517: 6512: 6510: 6505: 6504: 6501: 6486: 6482: 6478: 6467: 6463: 6459: 6447: 6443: 6439: 6427: 6423: 6419: 6418: 6414: 6408: 6404: 6400: 6394: 6390: 6385: 6384: 6377: 6373: 6369: 6365: 6363:0-596-00850-3 6359: 6354: 6353: 6346: 6342: 6338: 6334: 6332:0-596-10211-9 6328: 6324: 6319: 6318: 6311: 6307: 6303: 6299: 6293: 6289: 6284: 6283: 6276: 6272: 6268: 6264: 6262:9781595937667 6258: 6254: 6250: 6245: 6240: 6236: 6229: 6228:"AppleScript" 6225: 6224:Cook, William 6221: 6217: 6213: 6209: 6203: 6199: 6194: 6193: 6187: 6186:Soghoian, Sal 6183: 6179: 6175: 6171: 6165: 6161: 6157: 6153: 6149: 6144: 6140: 6136: 6132: 6126: 6122: 6117: 6105: 6101: 6097: 6096: 6092: 6076: 6072: 6066: 6063: 6051: 6047: 6041: 6038: 6026: 6022: 6016: 6013: 6001: 5997: 5991: 5988: 5976: 5972: 5966: 5963: 5951: 5947: 5941: 5939: 5935: 5923: 5919: 5913: 5910: 5894: 5890: 5883: 5875: 5872: 5860: 5856: 5849: 5846: 5834: 5830: 5824: 5821: 5809: 5805: 5798: 5795: 5790: 5786: 5782: 5776: 5772: 5768: 5761: 5759: 5755: 5743: 5742:asciiwwdc.com 5739: 5733: 5730: 5717: 5713: 5709: 5703: 5700: 5688: 5684: 5678: 5675: 5663: 5659: 5653: 5650: 5638: 5636: 5631: 5624: 5621: 5609: 5605: 5599: 5596: 5584: 5582: 5577: 5570: 5567: 5555: 5553: 5548: 5541: 5538: 5526: 5524: 5519: 5512: 5509: 5497: 5495: 5490: 5483: 5480: 5468: 5466: 5461: 5454: 5451: 5439: 5435: 5429: 5426: 5414: 5410: 5404: 5401: 5388: 5384: 5380: 5374: 5371: 5359: 5355: 5349: 5346: 5334: 5333: 5328: 5321: 5319: 5317: 5313: 5301: 5297: 5291: 5288: 5276: 5272: 5265: 5262: 5250: 5248: 5247:Computerworld 5243: 5236: 5233: 5221: 5217: 5210: 5207: 5202: 5198: 5197: 5192: 5188: 5182: 5179: 5171:September 12, 5167: 5163: 5157: 5154: 5146:September 15, 5142: 5138: 5132: 5129: 5124: 5123: 5118: 5111: 5108: 5103: 5099: 5095: 5093:9781430223610 5089: 5085: 5081: 5077: 5073: 5072: 5064: 5062: 5060: 5058: 5056: 5054: 5052: 5050: 5048: 5044: 5039: 5035: 5031: 5025: 5021: 5017: 5016: 5008: 5006: 5004: 5002: 4998: 4985: 4979: 4976: 4972: 4971:Script Editor 4968: 4963: 4960: 4955: 4951: 4947: 4945:9781595937667 4941: 4937: 4933: 4929: 4925: 4918: 4917:"AppleScript" 4914: 4913:Cook, William 4908: 4906: 4904: 4900: 4894: 4889: 4886: 4885: 4881: 4879: 4872: 4870: 4868: 4864: 4859: 4857: 4853: 4849: 4845: 4841: 4837: 4833: 4832:OS X Yosemite 4822: 4813: 4809: 4806:This section 4804: 4801: 4797: 4796: 4790: 4788: 4786: 4782: 4778: 4774: 4770: 4765: 4763: 4759: 4755: 4751: 4747: 4739: 4713:random number 4685: 4600: 4597: 4488: 4487: 4483: 4481: 4458: 4453: 4450: 4449: 4417: 4414: 4413: 4412: 4377: 4374: 4373: 4372: 4307: 4304: 4300: 4297: 4296: 4295: 4191: 4131: 4130: 4126: 4123: 4122: 4119: 4093: 4042: 4012: 4011: 4007: 4004: 4001: 4000: 3997: 3995: 3991: 3987: 3983: 3979: 3945: 3900: 3899: 3895: 3892: 3891: 3803: 3721: 3611: 3609: 3605: 3578: 3559: 3556: 3554: 3550: 3546: 3538: 3463: 3457: 3455: 3453: 3449: 3441: 3422: 3419: 3416: 3412: 3409: 3408: 3406: 3401: 3397: 3394: 3391: 3388: 3385: 3382: 3381: 3379: 3374: 3370: 3367: 3364: 3361: 3360: 3358: 3353: 3349: 3333: 3330: 3327: 3324: 3321: 3317: 3313: 3310: 3307: 3303: 3300: 3289: 3286: 3282: 3279: 3272: 3268: 3264: 3261: 3246: 3242: 3239: 3238: 3236: 3227: 3224: 3221: 3218: 3215: 3212: 3205: 3202: 3201: 3199: 3198: 3197: 3190: 3185: 3183: 3181: 3172: 3165: 3162: 3159: 3156: 3153: 3150: 3147: 3144: 3143: 3142: 3141: 3140: 3133: 3131: 3129: 3125: 3119: 3111: 3109: 3097: 3090: 3083: 3076: 3074: 3071: 3070: 3067: 3060: 3053: 3046: 3044: 3041: 3040: 3037: 3035: 3028: 3021: 3019: 3016: 3015: 3012: 3010: 3003: 2996: 2994: 2991: 2990: 2987: 2985: 2983: 2976: 2974: 2971: 2970: 2967: 2966:Script Editor 2963: 2961: 2955: 2952: 2950: 2946: 2944: 2943: 2937: 2935: 2931: 2927: 2919: 2917: 2911: 2909: 2907: 2902: 2898: 2894: 2886: 2881: 2875: 2872: 2871: 2867: 2866:Script Editor 2862: 2859: 2858: 2854: 2850: 2846: 2842: 2838: 2835: 2831: 2828: 2825: 2824: 2820: 2816: 2813: 2812: 2808: 2804: 2800: 2796: 2792: 2791:drag and drop 2788: 2784: 2780: 2777: 2776: 2775: 2769: 2764: 2762: 2758: 2757: 2753: 2749: 2745: 2741: 2737: 2734: 2733: 2728: 2725: 2722: 2721: 2717: 2713: 2709: 2705: 2703: 2699: 2696: 2695: 2691: 2686: 2684: 2681: 2680: 2676: 2672: 2671:OS X Yosemite 2667: 2666:Script Editor 2663: 2659: 2655: 2651: 2648: 2645: 2644: 2640: 2638: 2636: 2627: 2622: 2437:text returned 2368:text returned 2325: 2323: 2319: 2023:-- Multiply? 1891:-- Subtract? 1624:text returned 1567:text returned 1542: 1536: 1534: 1490: 1488: 1484: 1480: 1421: 1419: 1415: 1328: 1326: 1308: 1306: 1305:direct object 1282: 1280: 1253: 1250: 1248: 1244: 1243:Script Editor 1240: 1236: 1232: 1180: 1176: 1174: 1170: 1166: 1162: 1159: 1150: 1067:display alert 1063: 979:display alert 900:"B" 861:"3" 855:"B" 849:"A" 691: 659:display alert 643: 641: 634:Hello, world! 633: 615: 602: 597: 593: 581: 579: 577: 571: 568: 559: 555: 552: 548: 545: 544: 543: 541: 537: 536:script editor 532: 525: 521: 518: 515: 512: 510:Apple event). 509: 505: 501: 498: 496:Apple event). 495: 491: 490: 489: 487: 483: 480:queries over 479: 475: 466: 464: 462: 458: 454: 450: 445: 441: 437: 433: 429: 424: 422: 417: 413: 408: 406: 405: 399: 397: 396:Mac OS X 10.6 393: 389: 385: 384:Mac OS X 10.2 381: 372: 368: 363: 361: 356: 354: 350: 345: 341: 337: 333: 330: 326: 318: 316: 314: 310: 306: 302: 297: 295: 291: 288: 284: 280: 276: 270: 268: 264: 256: 254: 252: 248: 244: 240: 236: 232: 228: 220: 216: 212: 209:Influenced by 207: 203: 183: 179: 175: 173: 169: 165: 161: 158: 156: 152: 149: 145: 141: 137: 134: 132: 128: 125: 121: 118: 116: 112: 108: 92: 90: 86: 82: 68: 64: 61: 58: 56: 52: 49: 45: 42: 40: 36: 30: 19: 7613: 7555:Discontinued 7410:Kernel panic 7280:AVFoundation 7264: 7185:Discontinued 7116:Disk Utility 7086:Configurator 6953:Former tools 6912:Time Machine 6731:Applications 6688:10.14 Mojave 6678:10.12 Sierra 6621:10.5 Leopard 6611:10.3 Panther 6596:10.0 Cheetah 6546:Architecture 6488:. Retrieved 6484: 6469:. Retrieved 6465: 6450:. Retrieved 6445: 6430:. Retrieved 6425: 6382: 6351: 6316: 6281: 6234: 6191: 6147: 6120: 6108:. Retrieved 6103: 6079:. Retrieved 6074: 6065: 6053:. Retrieved 6049: 6040: 6028:. Retrieved 6024: 6015: 6003:. Retrieved 5999: 5990: 5978:. Retrieved 5974: 5965: 5953:. Retrieved 5949: 5925:. Retrieved 5921: 5912: 5900:. Retrieved 5889:piyocast.com 5888: 5874: 5862:. Retrieved 5859:peachpit.com 5858: 5848: 5836:. Retrieved 5832: 5823: 5811:. Retrieved 5807: 5797: 5766: 5745:. Retrieved 5741: 5732: 5720:. Retrieved 5716:the original 5711: 5702: 5690:. Retrieved 5687:www.unix.com 5686: 5677: 5665:. Retrieved 5661: 5652: 5640:. Retrieved 5633: 5623: 5611:. Retrieved 5607: 5598: 5586:. Retrieved 5579: 5569: 5557:. Retrieved 5550: 5540: 5528:. Retrieved 5521: 5511: 5499:. Retrieved 5492: 5482: 5470:. Retrieved 5463: 5453: 5441:. Retrieved 5437: 5428: 5416:. Retrieved 5412: 5403: 5391:. Retrieved 5387:the original 5382: 5373: 5361:. Retrieved 5357: 5348: 5336:. Retrieved 5332:Ars Technica 5330: 5303:. Retrieved 5299: 5290: 5278:. Retrieved 5274: 5264: 5252:. Retrieved 5245: 5235: 5223:. Retrieved 5219: 5209: 5200: 5194: 5187:Gruber, John 5181: 5169:. Retrieved 5166:macworld.com 5165: 5156: 5144:. Retrieved 5140: 5131: 5120: 5110: 5070: 5014: 4990:November 16, 4988:. Retrieved 4978: 4962: 4923: 4876: 4860: 4839: 4835: 4829: 4816: 4812:adding to it 4807: 4772: 4766: 4749: 4745: 4743: 4683: 4478: 4456: 4415:Quit handler 4409: 4375:Idle handler 4369: 4305:Open handler 4293: 4186:current date 4117: 4008:Run handler 3993: 3989: 3985: 3981: 3977: 3975: 3879:loopVariable 3825:loopVariable 3801: 3718: 3608:repeat until 3607: 3604:repeat while 3603: 3601: 3576: 3557: 3552: 3548: 3544: 3542: 3461: 3458:Conditionals 3451: 3447: 3445: 3425:square yards 3420: 3410: 3395: 3389: 3383: 3380:File system 3368: 3362: 3344:Unicode text 3331: 3325: 3311: 3301: 3280: 3262: 3240: 3225: 3219: 3213: 3203: 3194: 3179: 3176: 3137: 3127: 3123: 3121: 3107: 2928:development 2923: 2915: 2890: 2851:, QuicKeys, 2833: 2818: 2786: 2782: 2773: 2726:and SmileLab 2665: 2653: 2631: 2470:"" 2389:"" 2315: 1540: 1531: 1483:method calls 1476: 1411: 1322: 1302: 1276: 1251: 1246: 1230: 1227: 1177: 1154: 1061: 681: 637: 619:(* This is a 613: 596:shebang line 585: 572: 566: 563: 557: 553: 546: 539: 533: 529: 507: 503: 493: 486:web services 474:Apple events 470: 443: 436:Andy Ihnatko 428:Sal Soghoian 425: 411: 409: 402: 400: 390:, and later 364: 357: 322: 298: 271: 267:Apple events 265:(IAC) using 260: 226: 225: 198:/AppleScript 29: 7445:Night Shift 7340:Core OpenGL 7310:Command key 7275:Audio Units 7265:AppleScript 7126:Help Viewer 6939:Instruments 6855:Photo Booth 6800:Game Center 6703:12 Monterey 6606:10.2 Jaguar 6591:Public Beta 6446:aurelio.net 6432:November 7, 6389:For Dummies 6121:AppleScript 6081:December 9, 5358:satimage.fr 5220:9to5mac.com 4863:Objective-C 4692:application 4610:application 4341:application 4298:Run handler 4103:-- commands 3928:application 3922:-- Compound 3910:application 3553:exit repeat 3521:-- commands 3452:end command 3429:square feet 3359:Containers 3354:”)-encoded. 3204:application 2958:AppleScript 2860:Script menu 2853:Quicksilver 2712:breakpoints 2664:(10.9) and 2332:application 2155:-- Divide? 1549:application 1335:application 1315:application 1289:application 1260:application 701:dialogReply 567:application 432:John Gruber 416:John Gruber 386:as part of 360:QuarkXPress 349:application 283:Unix shells 233:created by 227:AppleScript 200:/Conceptual 160:Proprietary 33:AppleScript 7641:Categories 7539:Deprecated 7475:Quick Look 7455:Option key 7430:Menu extra 7390:Gatekeeper 7385:Foundation 7360:Cover Flow 7350:Core Video 7335:Core Image 7320:Core Audio 7255:Apple menu 6785:DVD Player 6780:Dictionary 6755:Calculator 6718:15 Sequoia 6708:13 Ventura 6698:11 Big Sur 6616:10.4 Tiger 6586:Server 1.0 6005:January 8, 5808:mjtsai.com 5780:0596102119 5029:0596008503 4967:Apple Inc. 4895:References 4673:--commands 4465:scriptName 4234:yourNumber 4228:yourNumber 4204:yourNumber 4070:theseItems 4061:thisFolder 4037:myFunction 4025:parameters 4019:myFunction 3549:end repeat 3435:operator). 3421:unit types 3396:POSIX file 3288:superclass 2953:In applets 2675:JavaScript 2641:From Apple 1487:pseudocode 1279:infinitive 1231:dictionary 939:selections 628:comment *) 279:structured 235:Apple Inc. 101:2014-10-16 60:Apple Inc. 7587:QuickTime 7495:Spotlight 7375:FileVault 7345:Core Text 7325:Core Data 7305:ColorSync 7176:VoiceOver 7136:Installer 7121:Font Book 7081:ColorSync 7076:Boot Camp 7040:Utilities 6995:Front Row 6990:Dashboard 6944:FileMerge 6892:Shortcuts 6875:Reminders 6815:Launchpad 6750:Automator 6745:App Store 6713:14 Sonoma 6642:10.7 Lion 6601:10.1 Puma 6271:220938191 6239:CiteSeerX 6216:298560807 6178:308193726 6139:468969567 5608:qsapp.com 5203:(3): 100. 5122:InfoWorld 5102:308193726 4954:220938191 4781:libraries 4777:HyperCard 4758:component 4701:anyNumber 4679:myHandler 4667:myHandler 4646:myHandler 4628:myHandler 4580:variable6 4571:variable3 4562:variable5 4556:variable4 4544:variable3 4511:variable2 4496:variable1 4067:receiving 3411:RGB color 3232:property. 3226:reference 3146:VoiceOver 3124:workflows 3112:Automator 2960:Libraries 2803:Spotlight 2316:A simple 1414:hierarchy 1325:hierarchy 1115:theAnswer 1094:theAnswer 957:selection 695:-- Dialog 601:Example: 494:Open File 453:Shortcuts 449:Automator 329:HyperTalk 325:HyperCard 292:, or IBM 287:Microsoft 219:HyperTalk 186:developer 55:Developer 48:Scripting 7626:Category 7415:Keychain 7295:CloudKit 7166:Terminal 7027:Sherlock 6965:Dashcode 6907:TextEdit 6902:Stickies 6850:Podcasts 6825:Messages 6790:FaceTime 6770:Contacts 6760:Calendar 6578:Mac OS X 6570:Versions 6561:Software 6407:56500506 6372:56912218 6341:68694976 6306:76910522 6226:(2007). 6030:July 21, 5893:Archived 5789:68694976 5692:July 23, 5635:Macworld 5581:Macworld 5552:Macworld 5523:Macworld 5494:Macworld 5465:Macworld 5305:July 26, 5196:Macworld 5038:56912218 4969:(2022). 4915:(2007). 4882:See also 4867:CommonJS 4819:May 2017 4754:UserLand 4589:myScript 4433:continue 4353:thisItem 4335:theItems 4329:thisItem 4320:theItems 3986:handlers 3919:activate 3285:abstract 3275:constant 3271:subclass 3257:linefeed 3245:constant 3241:constant 3230:contents 2787:droplets 2708:stepping 2322:password 2318:username 1518:getPixel 1344:document 1235:bytecode 1220:document 1196:document 1161:metaphor 967:-- Alert 936:multiple 684:⌥ Option 622:multiple 582:Comments 554:Commands 457:Services 412:Macworld 404:Macworld 367:Mac OS X 353:System 7 257:Overview 243:System 7 194:/archive 192:/library 144:Mac OS 9 140:Mac OS 8 136:System 7 39:Paradigm 7614:Italics 7582:Inkwell 7530:XQuartz 7480:Rosetta 7420:launchd 7285:Bonjour 7240:AirDrop 7091:Console 7020:history 6865:Preview 6805:Grapher 6541:History 5613:May 10, 5559:May 10, 5501:May 10, 3982:end ... 3448:command 3352:Unicode 3306:integer 3302:integer 3292:integer 3267:Boolean 3263:boolean 3128:actions 2893:modules 2783:applets 2778:Applets 2700:, from 2599:default 2587:buttons 2563:default 2551:buttons 2533:default 2521:buttons 2509:passAns 2485:default 2473:buttons 2464:default 2422:default 2410:buttons 2398:userAns 2383:default 2353:userAns 2341:passAns 2272:default 2260:buttons 2200:default 2182:buttons 2140:default 2128:buttons 2068:default 2050:buttons 2008:default 1996:buttons 1936:default 1918:buttons 1876:default 1864:buttons 1804:default 1786:buttons 1762:-- Add? 1744:default 1732:buttons 1708:integer 1690:integer 1660:default 1648:buttons 1639:default 1603:default 1591:buttons 1582:default 1494:getTIFF 1467:'s 1460:'s 1073:buttons 1024:default 997:buttons 991:warning 960:allowed 942:allowed 894:default 767:default 740:buttons 716:default 547:Classes 540:suites, 506:and/or 482:XML-RPC 319:History 181:Website 155:License 124:dynamic 99: ( 74: ( 7624:  7592:Spaces 7572:Carbon 7520:WebKit 7500:Stacks 7470:Quartz 7450:OpenCL 7425:Mach-O 7405:iCloud 7365:Darwin 7290:Bundle 7245:AppKit 7015:iTunes 7005:iPhoto 6880:Safari 6860:Photos 6795:Finder 6556:Server 6490:May 9, 6471:May 9, 6452:May 9, 6448:. 2005 6428:. 2007 6405:  6395:  6370:  6360:  6339:  6329:  6304:  6294:  6269:  6259:  6241:  6214:  6204:  6176:  6166:  6152:Apress 6137:  6127:  6110:May 9, 6106:. 2016 6075:GitHub 6055:May 8, 5980:May 8, 5955:May 8, 5927:May 8, 5902:May 9, 5864:May 9, 5838:May 8, 5813:May 9, 5787:  5777:  5747:May 8, 5722:May 8, 5667:May 8, 5642:May 8, 5588:May 8, 5530:May 8, 5472:May 8, 5443:May 8, 5418:May 8, 5393:May 8, 5363:May 8, 5338:May 8, 5280:May 8, 5254:May 8, 5225:May 8, 5100:  5090:  5076:Apress 5036:  5026:  4952:  4942:  4854:, and 4848:Python 4830:Under 4586:script 4474:script 4462:script 4393:return 4359:repeat 4350:update 4323:repeat 4222:bottom 4210:bottom 4180:around 4162:string 4141:around 4082:folder 4079:adding 4052:folder 4049:adding 3885:repeat 3819:repeat 3797:repeat 3761:repeat 3755:repeat 3728:repeat 3714:repeat 3678:repeat 3663:repeat 3627:repeat 3597:repeat 3582:repeat 3572:repeat 3563:repeat 3545:repeat 3369:record 3348:UTF-16 3340:string 3281:number 3255:, and 3214:script 2845:Alfred 2799:Finder 2602:button 2566:button 2536:button 2500:answer 2497:hidden 2488:button 2467:answer 2455:return 2425:button 2386:answer 2275:button 2203:button 2143:button 2071:button 2011:button 1939:button 1879:button 1807:button 1753:return 1747:button 1663:button 1642:answer 1606:button 1585:answer 1506:getRow 1109:result 1048:giving 1039:button 1036:cancel 1027:button 924:button 921:cancel 909:button 885:prompt 815:giving 782:button 779:cancel 770:button 731:answer 728:hidden 719:answer 688:return 459:, and 285:, the 188:.apple 7597:Xgrid 7562:BootX 7435:Metal 7380:Fonts 7300:Cocoa 7010:iSync 7000:iChat 6931:Xcode 6840:Notes 6835:Music 6765:Chess 6671:macOS 6530:macOS 6267:S2CID 6231:(PDF) 5896:(PDF) 5885:(PDF) 4950:S2CID 4920:(PDF) 4888:ARexx 4634:-- or 4267:check 4261:check 4198:check 4156:clock 4147:clock 4085:items 4064:after 4055:items 3958:error 3873:total 3867:total 3810:total 3681:until 3630:while 3588:times 3539:Loops 3400:POSIX 3384:alias 3304:: an 3220:class 3073:10.10 2949:Xcode 2926:Cocoa 2785:, or 2744:Cocoa 2724:Smile 2716:Pages 2683:Xcode 2458:& 2452:& 2290:delay 2254:title 2122:title 1990:title 1858:title 1726:title 1714:error 1472:pixel 1455:image 1446:image 1425:pixel 1239:Xcode 1205:pages 1202:print 1193:print 1184:print 1054:after 954:empty 945:false 897:items 873:title 821:after 794:title 734:false 668:-- or 656:-- or 574:When 508:Close 478:XPath 388:Xcode 371:Cocoa 247:macOS 229:is a 148:macOS 7546:HFS+ 7400:icns 7370:Dock 7355:CUPS 7270:Aqua 7192:Grab 6897:Siri 6830:News 6820:Mail 6810:Home 6635:OS X 6492:2017 6473:2017 6454:2017 6434:2020 6403:OCLC 6393:ISBN 6368:OCLC 6358:ISBN 6337:OCLC 6327:ISBN 6302:OCLC 6292:ISBN 6257:ISBN 6212:OCLC 6202:ISBN 6174:OCLC 6164:ISBN 6135:OCLC 6125:ISBN 6112:2017 6083:2019 6057:2017 6032:2013 6007:2018 5982:2017 5957:2017 5929:2017 5904:2017 5866:2017 5840:2017 5815:2017 5785:OCLC 5775:ISBN 5749:2017 5724:2017 5694:2024 5669:2017 5644:2017 5637:.com 5615:2017 5590:2017 5583:.com 5561:2017 5554:.com 5532:2017 5525:.com 5503:2017 5496:.com 5474:2017 5467:.com 5445:2017 5420:2017 5395:2017 5365:2017 5340:2017 5307:2018 5282:2017 5256:2017 5249:.com 5227:2017 5173:2019 5148:2019 5098:OCLC 5088:ISBN 5034:OCLC 5024:ISBN 4992:2014 4940:ISBN 4852:Ruby 4844:Perl 4762:APIs 4734:tell 4716:from 4689:tell 4661:tell 4607:tell 4523:copy 4445:quit 4436:quit 4427:quit 4405:idle 4402:end 4387:idle 4365:open 4338:tell 4326:with 4317:open 4282:thru 4276:from 4243:then 4213:thru 4207:from 4177:rock 4171:rock 4138:rock 4028:...) 3940:tell 3925:tell 3907:tell 3822:with 3770:from 3764:with 3746:2000 3737:from 3731:with 3636:> 3547:and 3524:else 3518:then 3482:then 3479:1000 3476:< 3390:file 3363:list 3342:and 3336:text 3332:text 3326:date 3320:real 3314:: a 3312:real 3296:real 3294:and 3265:: a 3243:: a 3043:10.9 3018:10.8 2993:10.7 2973:10.6 2795:Dock 2617:tell 2578:else 2542:else 2512:then 2494:with 2401:then 2329:tell 2320:and 2311:tell 2287:else 2251:with 2239:the2 2233:the1 2218:then 2158:else 2119:with 2107:the2 2101:the1 2086:then 2026:else 1987:with 1975:the2 1969:the1 1954:then 1894:else 1855:with 1843:the2 1837:the1 1822:then 1723:with 1702:the2 1696:the2 1684:the1 1678:the1 1618:the2 1561:the1 1546:tell 1452:TIFF 1443:TIFF 1407:tell 1401:tell 1395:tell 1389:tell 1374:word 1362:text 1359:tell 1353:page 1350:tell 1341:tell 1332:tell 1312:quit 1298:quit 1286:tell 1272:tell 1266:quit 1257:tell 1241:and 1211:thru 1187:page 1133:else 1127:beep 1124:then 951:with 927:name 912:name 882:with 870:with 809:note 806:icon 803:with 791:with 625:line 558:tell 504:Save 434:and 294:REXX 190:.com 164:APSL 120:Weak 76:1991 69:1991 7525:XNU 6249:doi 6156:doi 5080:doi 4932:doi 4856:Tcl 4840:JXA 4814:. 4750:OSA 4731:end 4698:set 4676:end 4658:end 4637:set 4616:set 4577:set 4550:set 4508:set 4493:set 4471:end 4442:end 4384:on 4362:end 4356:end 4270:for 4258:end 4252:end 4240:top 4231:and 4216:top 4201:for 4183:the 4168:end 4159:as 4144:the 4109:run 4106:end 4100:run 4076:end 4034:end 3978:on 3967:try 3964:end 3949:try 3937:end 3882:end 3864:set 3807:set 3794:end 3773:100 3752:end 3711:end 3693:set 3666:set 3660:end 3642:set 3615:set 3594:end 3569:end 3530:end 3485:set 3290:of 3273:of 3253:tab 2964:In 2956:In 2947:In 2839:in 2656:in 2614:end 2608:end 2572:end 2434:the 2365:the 2350:set 2338:set 2308:end 2302:end 2296:say 2284:ans 2281:say 2248:ans 2224:ans 2221:set 2164:the 2152:ans 2149:say 2116:ans 2092:ans 2089:set 2032:the 2020:ans 2017:say 1984:ans 1960:ans 1957:set 1900:the 1888:ans 1885:say 1852:ans 1828:ans 1825:set 1768:the 1759:try 1756:end 1693:set 1675:set 1672:try 1615:set 1558:set 1469:7th 1465:row 1462:3rd 1434:row 1404:end 1398:end 1392:end 1386:end 1371:set 1365:box 1269:end 1249:.) 1142:end 1136:say 1106:the 1091:set 970:set 834:set 698:set 671:say 524:FTP 421:iOS 327:'s 239:Mac 7643:: 6483:. 6464:. 6444:. 6424:. 6401:. 6387:. 6366:. 6335:. 6325:. 6300:. 6290:. 6265:. 6255:. 6247:. 6233:. 6210:. 6200:. 6172:. 6162:. 6154:. 6133:. 6102:. 6073:. 6048:. 6023:. 5998:. 5973:. 5948:. 5937:^ 5920:. 5891:. 5887:. 5857:. 5831:. 5806:. 5783:. 5773:. 5757:^ 5740:. 5710:. 5685:. 5660:. 5632:. 5606:. 5578:. 5549:. 5520:. 5491:. 5462:. 5436:. 5411:. 5381:. 5356:. 5329:. 5315:^ 5298:. 5273:. 5244:. 5218:. 5201:30 5199:. 5193:. 5164:. 5139:. 5119:. 5096:. 5086:. 5046:^ 5032:. 5022:. 5000:^ 4948:. 4938:. 4926:. 4922:. 4902:^ 4850:, 4846:, 4725:50 4722:to 4707:my 4704:to 4670:() 4664:on 4655:me 4652:of 4649:() 4643:to 4631:() 4625:my 4622:to 4583:to 4568:to 4541:to 4529:17 4514:to 4499:to 4424:on 4396:60 4347:to 4332:in 4314:on 4285:10 4255:if 4219:if 4195:to 4135:on 4097:on 4088:to 4058:to 4046:on 4016:on 3955:on 3916:to 3870:to 3828:in 3813:to 3788:25 3782:by 3779:25 3776:to 3743:to 3699:to 3672:to 3648:to 3621:to 3585:10 3555:. 3533:if 3506:if 3491:to 3470:if 3433:as 3350:(“ 3251:, 3249:pi 3210:). 2924:A 2710:, 2611:if 2575:if 2506:is 2440:of 2431:if 2395:is 2371:of 2362:if 2356:to 2344:to 2305:if 2227:to 2212:is 2170:of 2161:if 2095:to 2080:is 2038:of 2029:if 1963:to 1948:is 1906:of 1897:if 1831:to 1816:is 1774:of 1765:if 1711:on 1705:as 1699:to 1687:as 1681:to 1627:of 1621:to 1570:of 1564:to 1527:); 1515:). 1503:). 1489:: 1440:of 1431:of 1380:to 1295:to 1281:: 1217:of 1145:if 1118:is 1112:if 1103:of 1097:to 1051:up 988:as 976:to 906:OK 840:to 824:15 818:up 704:to 588:-- 463:. 455:, 451:, 355:. 315:. 303:, 217:, 146:, 142:, 138:, 131:OS 122:, 46:, 6522:e 6515:t 6508:v 6494:. 6475:. 6456:. 6436:. 6409:. 6374:. 6343:. 6308:. 6273:. 6251:: 6218:. 6180:. 6158:: 6141:. 6114:. 6085:. 6059:. 6034:. 6009:. 5984:. 5959:. 5931:. 5906:. 5868:. 5842:. 5817:. 5791:. 5751:. 5726:. 5696:. 5671:. 5646:. 5617:. 5592:. 5563:. 5534:. 5505:. 5476:. 5447:. 5422:. 5397:. 5367:. 5342:. 5309:. 5284:. 5258:. 5229:. 5175:. 5150:. 5104:. 5082:: 5040:. 4994:. 4956:. 4934:: 4838:( 4821:) 4817:( 4748:( 4728:) 4719:5 4710:( 4640:x 4619:x 4565:} 4559:, 4553:{ 4538:} 4532:, 4526:{ 4502:1 4279:7 4273:8 4237:≤ 4225:≤ 4165:) 4153:( 4022:( 3980:— 3876:+ 3861:} 3858:5 3855:, 3852:4 3849:, 3846:3 3843:, 3840:2 3837:, 3834:1 3831:{ 3816:0 3785:- 3767:i 3740:1 3734:i 3708:1 3705:- 3702:x 3696:x 3690:0 3687:≤ 3684:x 3675:5 3669:x 3657:1 3654:- 3651:x 3645:x 3639:0 3633:x 3624:5 3618:x 3515:3 3509:x 3500:1 3497:+ 3494:x 3488:x 3473:x 3318:( 3298:. 3277:. 3259:. 2677:. 2605:1 2596:} 2590:{ 2569:1 2560:} 2554:{ 2539:1 2530:} 2524:{ 2503:) 2491:1 2482:} 2476:{ 2443:( 2428:1 2419:} 2413:{ 2392:) 2374:( 2293:1 2278:1 2269:} 2263:{ 2242:) 2236:/ 2230:( 2209:) 2206:2 2197:} 2191:, 2185:{ 2173:( 2146:1 2137:} 2131:{ 2110:) 2104:* 2098:( 2077:) 2074:2 2065:} 2059:, 2053:{ 2041:( 2014:1 2005:} 1999:{ 1978:) 1972:- 1966:( 1945:) 1942:2 1933:} 1927:, 1921:{ 1909:( 1882:1 1873:} 1867:{ 1846:) 1840:+ 1834:( 1813:) 1810:2 1801:} 1795:, 1789:{ 1777:( 1750:1 1741:} 1735:{ 1669:) 1666:1 1657:} 1651:{ 1630:( 1612:) 1609:1 1600:} 1594:{ 1573:( 1524:7 1521:( 1512:3 1509:( 1497:( 1437:3 1428:7 1377:5 1368:1 1356:2 1347:1 1223:2 1214:5 1208:1 1199:2 1190:1 1130:5 1088:} 1082:, 1076:{ 1057:2 1045:¬ 1042:1 1033:¬ 1030:2 1021:¬ 1018:} 1012:, 1006:, 1000:{ 994:¬ 985:¬ 948:¬ 933:¬ 918:¬ 903:¬ 891:¬ 879:¬ 867:¬ 864:} 858:, 852:, 846:{ 812:¬ 800:¬ 788:¬ 776:¬ 764:¬ 761:} 755:, 749:, 743:{ 737:¬ 725:¬ 713:¬ 686:+ 166:) 103:) 78:) 20:)

Index

Open Scripting Architecture
Paradigm
Natural language programming
Scripting
Developer
Apple Inc.
Stable release
Typing discipline
Weak
dynamic
OS
System 7
Mac OS 8
Mac OS 9
macOS
License
Proprietary
APSL
Filename extensions
developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide
Natural language
HyperTalk
scripting language
Apple Inc.
Mac
System 7
macOS
Open Scripting Architecture
inter-application communication
Apple events

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑