How to store a stack in a custom property
Mark Smith
lists at futilism.com
Sun Apr 26 10:28:53 EDT 2009
Jérôme, the "tempname" (see docs) can be useful in these situations:
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
Best,
Mark Smith
On 26 Apr 2009, at 13:45, Jérôme Rosat wrote:
> Thank you Mark,
>
> I hoped that there was a way to do it without having to save the
> stack.
>
> Jérôme
>
> Le 26 avr. 09 à 14:30, Mark Schonewille a écrit :
>
>> You have to save the stack firs
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list