If application does not exist stop asking for it (prior to 0S X 10.4)

Hi everyone,

I’m working on backwards compatibility for Panther and I have a problem with the GrowlHelperApp thing.
StefanK helped someone with a similar problem on http://www.macscripter.net/viewtopic.php?id=25549
but it doesn’t work on Panther… It works on both Leopard and Tiger.

So if Growl isn’t running on Panther it still asks it to locate it… Are there workarounds for that? Do I need to use the Growl code in a separate script ?

Oh BTW, I tested it with 10.3.9. I’ll test for backwards compatibility on Jaguar too but Growl doesn’t support Jaguar.

Thanks

Hi,

I’ve compiled my CLI LSFindApp (http://scriptbuilders.net/files/lsfindapp1.0.html) in a Panther compatible version (PPC only)

You can download it here: LSFindApp_ppc


do shell script "/path/to/LSFindApp_ppc com.Growl.GrowlHelperApp"
--> returns "true" or "false"

Thanks, I’ll add you in the about window.

feel free to use it. You could mention my name and website (Stefan Klieme, www.klieme.com)

OK :smiley: I’m not 100% sure I’ll use it but when I do, I’ll give you credit. And I’ll send you a message when my app is released (if it ever gets so far)

Stefan, I think it isn’t the searching for GrowlHelperApp that gives the problem but the tell block… Searching works just fine on Panther… I tried the tell block on its own and it gave the “locate GrowlHelperApp” thing

Of course it’s the application tell block, because thru the block the compiler resolves the dictionary.

But than why do I need LSFindApp ?

LSFindApp uses LaunchServices, which is incredibly faster than everything else

Ah, ok :slight_smile: Thanks.