I have a simple AppleScript that works exactly as expected when run on its own, ether as an app, directly from within ScriptDebugger or Script Editor, or as an element of an Automation from within Automator:
However, when I attempt to run this Automation as a Service, for example by saving it as a Service and running it from the Services menu
nothing happens. The Service fails to run whether I use a "Run AppleScript" action in Automator, or create an application from the script, and use a Launch Application action.
Why won't my AppleScript run as a Service, when it runs perfectly in all other circumstances?