ACM Home Page
Please provide us with feedback. Feedback
AppleScript
Full text PdfPdf (622 KB)
Source
History of Programming Languages archive
Proceedings of the third ACM SIGPLAN conference on History of programming languages table of contents
San Diego, California
Pages: 1-1 - 1-21  
Year of Publication: 2007
ISBN:978-1-59593-766-X
Author
William R. Cook  University of Texas at Austin
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 18,   Downloads (12 Months): 277,   Citation Count: 0
Additional Information:

appendices and supplements   abstract   references   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1238844.1238845
What is a DOI?

APPENDICES and SUPPLEMENTS
PdfPdf (351 KB)
Slides of the AppleScript presentation


ABSTRACT

AppleScript is a scripting language and environment for the Mac OS. Originally conceived in 1989, AppleScript allows end users to automate complex tasks and customize Mac OS applications. To automate tasks, AppleScript provides standard programming language features (control flow, variables, data structures) and sends Apple Events to invoke application behavior. Apple Events are a variation on standard remote procedure calls in which messages can identify their arguments by queries that are interpreted by the remote application. This approach avoids the need for remote object pointers or proxies, and reduces the number of communication round trips, which are expensive in high latency environments like the early Macintosh OS. To customize an application that uses AppleScript's Open Scripting Architecture, users attach scripts to application objects; these scripts can then intercept and modify application behavior.

AppleScript was designed for casual users: AppleScript syntax resembles natural language, and scripts can be created easily by recording manual operations on a graphical interface. AppleScript also supported internationalization in allowing script to be presented in multiple dialects, including English, Japanese, or French. Although the naturalistic syntax is easy to read, it can make scripts much more difficult to write.

Early adoption was hindered by the difficulty of modifying applications to support Apple Events and the Open Scripting Architecture. Yet AppleScript is now widely used and is an essential differentiator of the Mac OS. AppleScript's communication model is a precursor to web services, and the idea of embedded scripting has been widely adopted.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
Gavin Bierman, Erik Meijer, and Wolfram Schulte. The essence of data access in cω. In European Conference on Object-Oriented Programming. Springer Verlag, 2005.
 
4
Don Box, David EhneBuske, Gopal Kakivaya, Andrew Layman, Noah Mendelsohn, Henrik Frystyk Nielson, Satish Thatte, and Dave Winer. Simple object access protocol 1.1. http://www.w3.org/TR/SOAP.
5
6
7
 
8
Bill Cheeseman. Applescript sourcebook. http://www.AppleScriptSourcebook.com.
9
 
10
Roberto Chinnici, Martin Gudgin, Jean-Jacques Moreau, and Sanjiva Weerawarana. Web Services Description Language Version 1.2, July 2002. W3C Working Draft 9.
 
11
Apple Computer. Inside Macintosh: Interraplication Communication. Addison-Wesley, 1991.
 
12
 
13
Apple Computer. ichat 2.0 dictionary. FooDoo Lounge web site by Richard Morton, 2002--2005.
 
14
 
15
 
16
17
18
19
 
20
William R. Cook and Victor Law. An algorithm editor for structured design (abstract). In Proc. of the ACM Computer Science Conference, 1983.
21
 
22
 
23
 
24
 
25
Warren Harris. Abel posthumous report. HP Labs, 1993.
 
26
Apple Computer Inc. Scripting interface guidelines. Technical Report TN2106, Apple Computer Inc.
 
27
Apple Computer Inc. HyperCard User's Guide. Addison Wesley, 1987.
 
28
 
29
Steven C. Johnson. Yacc: Yet another compiler compiler. In UNIX Programmer's Manual, volume 2, pages 353--387. Holt, Rinehart, and Winston, New York, NY, USA, 1979.
 
30
 
31
 
32
Object Management Group. OMG Unified Modeling Language Specification Version 1.5, March 2003.
33
 
34
Trygve Reenskaug. Models --- views --- controllers. Technical report, Xerox PARC, December 1979.
 
35
36
37
38
39