• 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: making an AS applet into a background app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making an AS applet into a background app?


  • Subject: Re: making an AS applet into a background app?
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 03 May 2001 07:45:02 -0500

on 5/2/2001 9:56 AM, James Reynolds at email@hidden wrote:

> So which is it?
> James Reynolds

I'll say it again:

Fooling around with bits in ResEdit without making corresponding changes to
the internal application code (something you have zero control over with
AppleScript) will produce a buggy app that will crash your computer under
the right circumstances. This is NOT advised.

If you would READ the web page Nigel pointed out, it states the following:

"David Whiteley, Deakin University, email@hidden wrote in reply:

If it is in fact a true faceless application (ie: when you double-click it
it looks as if it didn't even open), you can make it load this way:"

The AppleScript applet is NOT a faceless app.

Being a faceless application entails MORE than just cooincidentally not
having any visible windows during a normal run. The app must NEVER present
a dialog or visual interface.

Now, we all know AppleScript applets present dialogs when things go wrong
and what-not. And there is nothing you can do to stop that, short of
rewriting the code that runs your applet - and last time I checked, Apple
wasn't open-sourcing AppleScript.

On the very same web page, the author describes how he tried to use ResEdit
to turn DiscCopy into a faceless app, and ended up having problems because
of it (bad idea, dude, duh).

Bottom line - you should never attempt to turn a normal application you have
no control over into a faceless background application using ResEdit.

JR

>
> At 10:41 AM +0100 5/2/01, Nigel Smith wrote:
>> Donald wrote:
>>> I am wondering if there is a way to make an Applescript applet into a
>>> background application
>>
>> I've found the information at
>> <http://macsupporters.gold.ac.uk/background.html> very useful for this.
>>
>> Nigel
>
>
> At 7:17 AM -0500 5/2/01, JollyRoger wrote:
>> on 5/2/2001 1:29 AM, Donald S. Hall at email@hidden wrote:
>>
>>> Hi all,
>>>
>>> I am wondering if there is a way to make an Applescript applet into a
>>> background application - that is to say that once launched it would not
>>> appear in the Application Menu, but would quietly carry on doing its thing
>>> in the background. I suspect this is a job for ResEdit or a similar tool.
>>
>> NO. Fooling around with bits in ResEdit without making corresponding
>> changes to the internal application code (something you have zero control
>> over with AppleScript) will produce a buggy app that will crash your
>> computer under the right circumstances. This is NOT advised.
>>
>>> If such a change were made, what would be the implications to input and
>>> output from this applet? The applet would have no screen output save error
>>> dialogs, and the only user input needed would be to quit it if circumstances
>>> warranted this. (It would read and write data from/to files.)
>>>
>>> Thanks in advance for any advice or pointers to the appropriate
>>> documentation.
>>
>> Why do you feel the need to make the applet invisible?
>>
>> I have applets that run unattended for months. They do just fine. Simply
>> let it run as a normal applet in the background.
>>
>> Otherwise, my suggestion is: roll up your sleeves and learn Macintosh
>> programming.
>>
>> JR


References: 
 >Re: making an AS applet into a background app? (From: James Reynolds <email@hidden>)

  • Prev by Date: Re: Triggering a QuicKeys Shortcut
  • Next by Date: What Finder commands work in OS X??
  • Previous by thread: Re: making an AS applet into a background app?
  • Next by thread: Re: making an AS applet into a background app?
  • Index(es):
    • Date
    • Thread