[futurebasic] FINDERINFO

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

From: JoeAtTIME@...
Date: Tue, 25 Nov 1997 16:32:14 -0500 (EST)
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