[comp.sys.mac.programmer] Catching MultiFinder's open "message"

matthews@eleazar.dartmouth.edu (Jim Matthews) (08/27/88)

I am maintaining a program that creates settings documents (and
therefore is launched when a user double-clicks on one of them).
However, this program does not have anything resembling an "Open"
command (it probably should, but that's another topic).  The problem
is that if a user double-clicks on a settings document while the
program is already running, MultiFinder (failing to find an Open command
in the menus) gives them an error message.  I've tried installing 'mstr'
resources to get MultiFinder to try some other command but this doesn't
fool MF, presumably because the command in question doesn't call
SFGetFile.

Is there a way to get MultiFinder to just bring the program to the front
in this situation and not do anything else (or execute an innocuous
command)?

Jim Matthews
Dartmouth Software Development
Jim.Matthews@dartmouth.edu