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: "Roger Howard" <email@hidden>
- Date: Thu, 06 Sep 2001 17:18:04 -0700
Neil,
Michelle's right, you need to assign a unique creator to your applets foir this to work (or target them using file references or aliases, but that's shakey and just not right).
Michelle,
I do this exact same thing with a helper applet... it allows me to avoid all the nastiness of file helper management in File Exchange and Internet control panels, I have a nice simplified preferences system where I can assign helper and file types and post processing options in groups (rather than one type at a type) and using filters and wildcards, and then even group those together to assign default handlers, etc. It's much more portable than the Internet Config system too as I can easily move the helper applet around to various systems, even have different sets for different users, and it's also portable to OSX! Not to mention I don't get the nasty corruption that tends to occur with old (and BIG) Internet Config prefs. Generally, it's the Internet Config I always wanted and never got, and it solves other problems too (like auto-typing files on demand, etc.)
I've been meanign to publish this one day, maybe now that someone has validated my own needs with theirs I'll do it :) It wasn't all that tough either, as I recall I had most every handler already built (in my script libraries which are linked in dynamically for the most part) and only had to pause when I decided I also wanted to be able to sync some of the preferences back (and forth) with Internet Config for sanity's sake. Oy.
Let me know if this is of any interest - I rarely even think about the fact that I'm using it anymore, it's just part of my environment but I'd be willing to give it a once over and statically link in my handlers and let you have the whole mess...
Roger Howard
Digital Media Specialist
Museum Information Systems
The J. Paul Getty Trust
email@hidden
310.440.6908
>
>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.
>
>
I am curious, though, as to what processing this applet does.
>
>
--Michelle