I'm trying to save a simple AppleScript as an application (double-clickable script or "applet"). I want to be able to launch my script automatically on login. However, when I "Save as..." an "Application" instead of a compiled script then launch it, I keep getting this error: "The application untitled has unexpectedly quit. The system and other applications have not been affected."
The compiled script works fine from "Script Editor". Even something I thought would surely work crashes if launched as an application. Here's the script:
tell application "Finder"
activate
end tell
What am I missing? I thought I remember doing this in OS 9 easily enough. Any suggestions?
---
Update: I get the same results when trying to launch applets from Apple's AppleScript site.
[ 12-09-2001: Message edited by: DP Roberts ]