[futurebasic] Re: [FB] Clipping file

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2006 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Mon, 23 Jan 2006 11:43:15 +1300
Russ Pagel wrote:

>> Here is the demo updated with your info (there is also a function 
>> using
>> the method proposed by R.P., although I'm not sure about the file
>> extension; it must probably varies according to the kind of URL):
> The extension is correct but for the XML data file set the file type 
> and
> creator to all spaces like this in Fn CreateURLClippingFileX...
> <SNIP>
> On Error End
> def open "        "  '8 spaces
> Open "O", ioChan, @fSpec
> <SNIP>
> Now the icon shows up as an AFP@  type.  Although the original worked 
> fine
> it just looked like a TextEdit file on my computer.

Space characters just happen by luck to produce the effect you want. 
The official Apple no-type and no-creator constants are '????'
In FB this would be:
def open "????????"  // no type or creator

Robert P.