AppleScript Studio: Creating a Droplet Application
These are some sample steps for creating a Droplet application in AppleScript Studio. This application will examine the file information for any files dropped on it and display a dialog containing some of it. Begin your project with an AppleScript droplet. You can add an 'on launched' handler to your script. In Interface Builder deselect "Visible at launch time" (for your main window) in the info palette. If the droplet is double clicked, the InternList will be empty and your main window be shown. If something is dropped on the script, the variable InternList is not empty any longer and the main window stays hidden.