[futurebasic] Re: [FB] FINDERINFO

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Charlie Dickman <charlied@...>
Date: Tue, 14 Sep 1999 18:04:25 -0400
> >>But I'm working on a new program where it just doesn't work - returns
> >>maxFiles% as Zero every time, whatever I do.
> >
> >
> > After your DIMs, change "maxFiles% = 0" to "maxFiles% = 1".
> >
> > maxFiles% needs to be set to a positive number before calling FINDERINFO. I
> > don't know if it matters what you set it to. You may want to try making it
> > maxFiles% = 4 since that's the maximum you're accepting.
> >
>Thanks, Al. I'd tried this in between my post and your reply  - all values
>from -1 to 5.
>
>Unfortunately, it doesn't work - same result.
>
>Any other suggestions ?
>
>Phil.

Phil,

I never could get FINDERINFO to work so I use Apple Events instead. 
Opening a file provided by the Finder is one of the 4 required Apple 
Events. I implemented it straight from the examples in the FBII 
Handbook. You could also get Staz' Apple Events filter which, 
incidentally, is included with FB^3.

Charlie Dickman
charlied@...