Re: Bug using Applescript applet as helper app?
Re: Bug using Applescript applet as helper app?
- Subject: Re: Bug using Applescript applet as helper app?
- From: Guy Parker <email@hidden>
- Date: Wed, 05 Sep 2001 16:04:18 +0100
Neil,
You've identified a problem I encountered a couple of years ago but I never
managed to isolate it and solve it like you have! I've gone back now and
tried changing the creator type of my applet. In IE it works great but in NS
it doesn't seem to. NS still shows the helper application icon as an applet
instead of the generic "application" icon which it should have (and does
have in IE). Restarting and rebuilding the desktop seem to make no
difference.
I remember that NS was far more troublesome with this problem than IE. Have
you had success with both these browsers?
Thanks,
Guy
>
> This is strange since in my browser setting I specify the helper app
>
> by targeting it through "post-process with application" in IE and
>
> through "handled by" in Netscape. It seems in both Netscape and IE it
>
> doesn't matter what you specify as the helper app. The helper app
>
> will always be the latest new complied Applescript applet.
>
>
>
> Has anybody experience this phenomenon before?
>
>
This is because although you select the helper app by name, the system
>
recognizes it by creator type. All Applescript applets have the same
>
creator type, so whichever is the last one created on the disk will be
>
called.
>
>
The cure is to assign a unique creator type to your applet; you can do
>
this with any of a number of utilities, or with Applescript itself.