Re: Automatically Launching an App
Re: Automatically Launching an App
- Subject: Re: Automatically Launching an App
- From: "I'm a Llama" <email@hidden>
- Date: Thu, 10 Apr 2003 16:57:46 -0400
How does StuffIt Expander do it? When you download an sit, hqx, etc. (from
any of the browsers) it automatically expands it. That's kind of the idea
I'm going for.
Josh
----- Original Message -----
From: "ROSE,ROBERT W (HP-Corvallis,ex1)" <email@hidden>
To: <email@hidden>
Sent: Thursday, April 10, 2003 4:10 PM
Subject: RE: Automatically Launching an App
>
> I am writing an installer which creates some directories based on the
>
> users of
>
> another application, copies some files over, and installs another
program
>
> I have yet to write (lets call it launcher.app).
>
>
>
> How would I go about making launcher.app automatically launch when a
>
> certain
>
> file associated with it is downloaded (definitely IE, but preferably any
>
> other
>
> browser too). I can associate the file to launcher.app to launch when
the
>
> file
>
> is double-clicked, but I don't know how to make it launch automatically
>
> when
>
> the file is just downloaded.
>
>
This would be clunky, but if you knew where the files were being
downloaded,
>
you could write a daemon process that monitors the download directory
>
looking for changes and runs launcher.app when it detects a change.
>
>
I don't believe there's a way to tell a web browser to run a program after
>
it downloads a file. Most of that got stripped out of IE a while back out
>
of "security" FUD. Mozilla/Chimera/Safari never had that ability.
>
>
IE does have a semi-rich AppleScript interface, there *might* be a way you
>
can hook into its download manager.
>
>
-robert rose
>
hp
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.