My problem has nothing to do with creating my Apple Script app. That app exists and runs well and it has an icon that was added by me. I added the icon by doing the following but now it doesn't work.
To add the icon to your new application:
- Right click on it in Finder and then click Get Info.
- If the displayed info is locked (you can tell by looking in the lower right-hand corner), click on the lock and enter your password.
- Right-click on the png file you want to use for the app's icon and select Open With the Preview.app
- Select the entire image (Edit –> Select All or COMMAND + A)
- Copy it (Edit –> Copy or COMMAND + C)
- In the Get Info window, select the current icon (in the top left-hand corner) and paste the copied image into it (Edit –> Paste or COMMAND + V).
- Close the Get Info window.