• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application Bundles not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application Bundles not working


  • Subject: Re: Application Bundles not working
  • From: Walter Ian Kaye <email@hidden>
  • Date: Wed, 14 Jan 2004 16:00:04 -0800

At 08:18p +0000 01/13/2004, Pru=?ISO-8859-2?B?uQ==?=ka Martin didst inscribe upon an electronic papyrus:

If I create an empty AppleScript, i.e. just
> on run
> end run
and I save it as an Application Bundle using Script Editor 2.0 running on
Mac OS X 10.3.2, the resulting application runs OK on Mac OS X 10.3.2 but
not on Mac OS X 10.2.x; I get
> "Could not run the script "applet" because of a program error" (Error -1440 or
> -1376)

Well it is an error. How can you run something where there's nothing to run?
Whether it fails silently or non-silently, it's still a failure.

Anybody has encountered this problem?

I haven't encountered it because I've never tried to save an empty script.
(What would be the point?)

Or maybe knows some workaround?

I think it's obvious: make it not empty:

on run
1
end run

-boo

AppleScript on Mac OS X 10.3.2 is 1.9.3, on Mac OS X 10.2 it is 1.9 and on
Mac OS X 10.2.8 it is 1.9.1.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Application Bundles not working (From: Pruška Martin <email@hidden>)

  • Prev by Date: Re: How do I schedule a script
  • Next by Date: Re: UI Scripting - Pastor.app
  • Previous by thread: Application Bundles not working
  • Next by thread: Why is Classic launching with this script?
  • Index(es):
    • Date
    • Thread