RE: Automatically Launching an App
RE: Automatically Launching an App
- Subject: RE: Automatically Launching an App
- From: "ROSE,ROBERT W (HP-Corvallis,ex1)" <email@hidden>
- Date: Thu, 10 Apr 2003 13:10:54 -0700
>
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.