

This can be done with the File Read/Write Commands suite in the Standard Additions scripting addition, which is installed as part of Mac OS X. One common method is to simply write information to a text file on the user's hard drive, on a server, or elsewhere. There are many techniques that are commonly used to store and access data with AppleScript. In this month's column, we will discuss the use of Database Events, a new and exciting feature in Mac OS X, for storage and access of data during script execution. Others may need to access structured data, in order to do something fairly complex, such as building a catalog. Some may need a location to log activity or errors during processing. Some scripts may need to store user-entered data for later reference, perhaps during an entirely new session. Educational Institution and Student DiscountsĬolumn Tag: Programming AppleScript Essentials Introduction to Database Eventsĭata storage and access is an important part of AppleScripting, particularly in complex AppleScript-based projects.
