FINDERINFO for FBII and FB^3 are completely different. The version for FBII does not work if you drag files onto the application while it is running. It operates on AppleEvents rather than looking at low memory globals. >FINDERINFO for FB2 and for FB2 MiniRuntime > > >Hi Michael Kluskens > >The neat features you mention seem not to work under FB2. Namely: > > FINDERINFO (maxFiles%,fname$,type&,volRefNum%) > >called with maxFiles%=0 returns only the number of files waiting. >And with maxFiles%=-k for k>0 it tells us all about the kth file >only and without disturbing the other D&D data. > >But the one missing element for ordinary FB2 is the number of >files D&D'ed call it TheNumber%. I wrote: > > > There is an ancient low mem system global &AEC = "AppParmHandle" > > that might lead to what I need but maybe there is better... > >Well it does! > >TheNumber%=PEEK WORD ([&AEC]+38)'' number of files D&D'ed > >Nearby, one sees all the FINDERINFO data:- name, type, and working >directory ref number = volRefNum%. > >So I'm OK with FB2 normal runtime. BUT:- > >COMPLICATION: I am using FB2 because the stream processor I am >building is so trivial I would be embarrassed for it to take more >than the 10Ko the FB2 mini-app setup offers. FINDERINFO is not in >the Miniruntime so I am going to have to get this data "by hand", >may via [&AEC]. Has anyone the data strcture *specs* for what one >sees at [&AEC]+... ? > >Who can offer a more respectable way of getting the FINDERINFO >from the FB2 MiniRuntime, say the via 68K assembly, Toolbox, ... ? > >Cheers > >Laurent S > > >PS. Next question will be: How to get D&D working for dragging >folders onto apps?? > > > >-- >To unsubscribe, send ANY message to <futurebasic-unsubscribe@...> Best, -STAZ ~)~ 800.348.2623 Orders http://www.stazsoftware.com 228.255.7086 FAX mailto:staz@...