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
  • PrintPrint
Share this Page URL
Help

Chapter 12. Applets and Droplets > What Are Applets?

12.1. What Are Applets?

An applet is an application with a minimal user interface that nonetheless stands alone. It has its own icon and can be double-clicked to make its code run. It doesn't need to run inside of the Script Editor, which is what you've been doing so far in this book. The reason why it can run standalone is because an applet contains some compiled bootstrap code inside it that allows it to run in that fashion.

Just about any AppleScript you create can be turned into an applet. There's really no difference between a simple script that contains say "hello" and an applet with the same code, except that the applet can run by itself when you double-click its icon.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


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