[futurebasic] Re: FINDERINFO

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1997 : Group Archive : Group : All Groups

From: Mike Friedman <friedo@...>
Date: Tue, 25 Nov 1997 17:35:42 -0500 (EST)
If I'm correct in assuming you're using PG for this project, then you
don't need to worry about opening a file using FINDERIFNO.  PG provides
built in functions for this sort of thing, and automatically handles
sending messages to your program for files opened via drag and drop onto
the icon, file menu, etc.

- - -
Mike Friedman            |      The  Internet Link Exchange
www.ncfj.org             |      X091917 - - - - - - B000509
www.ncfj.org/friedo      |      http://www.linkexchange.com

It's better when you're alone because nobody knows you.
It's better when you have no friends because nobody leaves you.
              -- The Wallflowers

On Tue, 25 Nov 1997 JoeAtTIME@... wrote:

> I want my program to open files that are incoming from the finder.  I
> understand that the following statement checks for incoming files.
>   doWhat% = FINDERINFO (maxFiles%, fname$(0), type&(0), volRefNum%(0))
> My problem is that I don't know where to call this from. The example in the
> handbook calls it during program initialization, but I would like to check
> for incoming files any time.
> When I call FINDERINFO  from CASE _mainStart I don't get any files.
> When I call FINDERINFO  from CASE _otherNullEvent the file opens but my
> program goes into an unending loop of open after open.
> Thanks for any help,
> -Joe Lertola
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>