How to store a stack in a custom property

J. Landman Gay jacque at
Sun Apr 26 21:56:24 EDT 2009

Richard Gaskin wrote:
> Mark Smith wrote:
>> on mouseUp
>>     put the tempname into tFile
>>     create invisible stack "thenewstack"
>>     save stack "thenewstack" as tFile -- save to temp file
>>     delete stack "thenewstack" -- clear from memory
>>     set the storedStack of this stack to url ("binfile:" & tFile) --  
>> store in cp
>>     delete file tFile -- delete temp file
>> end mouseUp
> Nicely done.

The only thing I'd add is that when the stack is opened again, it will 
still be invisible.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list