Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. Working with Lists and Records

Chapter 6. Working with Lists and Records

AppleScript gives you the capability to collectively store and manipulate groups of data. This chapter covers the two data structures you have available to work with: lists and records. You know something about lists from using the display dialog command in earlier chapters. As you also learned early in the book, the buttons parameter takes a list of up to three labels that specify the names of your dialog buttons. You also saw how getting a range of elements—including getting every element—from a string produces a list.

You know something about records from the display dialog command. This command returns its result in the form of a record. You saw how to get the text entered by the user (as well as the button the user clicked) from this record.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint