Writing to the resource fork

stephen barncard stephenREVOLUTION2 at barncard.com
Sun May 30 16:28:31 CDT 2010


Perhaps setting the flags have something to do with these resources. RL
seems to work.
I'm not sure exactly what's going on here - I think it's possible to make
this work, but we may have to "dance among the specs" to find out.

On 30 May 2010 13:54, stephen barncard <stephenREVOLUTION2 at barncard.com>wrote:

>
>
> --
> setResource(destinationFile,resourceType,[resID],[resName],flagsList,data)
>
>
> put fld "Dest" of card id 1002 of stack "ResourceCopier" into tDest
>
> put "This is a test text resource." into pData
>
> get setResource(tDest,"TEXT",128,"ResourceCreator",RL,pData)
>
>
> put it && the result  (to see errs)
>
>
>
> I'm going add "CREATE RSRC FORK" button to my copy of Sarah's stack.
>
>
> THis test was run on a Mac G5 with Leopard 10.5.8 and Rev 4.5.2
>
>
> On 27 May 2010 15:25, Mark Schonewille <m.schonewille at economy-x-talk.com>wrote:
>
>> Hi,
>>
>> For a new project, it is essential that I can read from and write to the
>> resource fork of a file. I am not looking for a way to copy resource forks.
>>
>>


-- 
-------------------------
Stephen Barncard
San Francisco



More information about the use-livecode mailing list