• 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: Sun Real <email@hidden>
  • Date: Sun, 6 May 2001 10:05:03 +1000

email@hidden's message of 5/5/01 5:55 AM contained:

>>The question is: can you guarantee that an applet will never display a
>>dialog?
>
>Yes, that is the question. I don't know. But, I do know that there is the
>potential for a developer to modify or replace the standard AppleScript
>applet with a shell. As far as I know no one has made applet shells
>available and if they were available I don't know if they would be able to
>guarantee they would never display a dialog. And if they could guarantee
>that, I don't know what a guarantee like that would mean... Double your
>money back?

Or maybe it's possibIe for an FBA to have user interaction. I haven't
actually used it but Leonard Rosenthal made ScriptFBA available for this
purpose:

http://www.lazerware.com/ftp/scriptfba_d2.hqx

Excerpted from the Read Me:
--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
What is it?
-----------
By using this application, you can turn any AppleScript (or any OSA
script) into a faceless background application (FBA).

What works?
-----------
ScriptFBA supports the "on run", "on open" and "on idle" events for your
scripts. It can also handle UI brought up through OSAXen, such as
"display dialog".

What doesn't work?
------------------
"Custom" events are not YET supported.
--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+


It hasn't been updated since 1998 & it may no longer work at all, I don't
know.


>This is way beyond the realm of ordinary AppleScripter. We really must
>wait and hope for a developer to make those tools available or start
>learning C and do it ourselves.

No doubt I'm missing something here and I only pose this hypothetically,
but what dialog could ever be inadvertently displayed by an applet where
all the executable code was within a try block in which errors were
handled in some other way?

Cheers,

Richard Morton
-- Great Lies of the Music Business: "It's the hottest pickup you can
get"


  • Follow-Ups:
    • Re: making an AS applet into a background app?
      • From: JollyRoger <email@hidden>
  • Prev by Date: Re: Rogue list?
  • Next by Date: Re: Rogue list?
  • 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