Storing a control in a custom property

Mike Bonner bonnmike at gmail.com
Tue Apr 30 12:17:26 EDT 2013


Works with cards too. /shrug
## store card
copy cd "cardname"
put the clipboarddata["objects"] into tVar
encrypt tVar
insert tVar into the database (binary/blob)


## retrieve card
select the card
put it into tVar
decrypt
set the clipboarddata["objects"] to tVar
paste



On Tue, Apr 30, 2013 at 10:11 AM, Dr. Hawkins <dochawk at gmail.com> wrote:

> On Tue, Apr 30, 2013 at 6:25 AM, Mike Bonner <bonnmike at gmail.com> wrote:
> > Can't do it with a stack that is not its own mainstack so you have to
> make
> > sure any stacks you store this way are set to point to themselves, but I
> > don't see why you couldn't do it.  Copy the stack to clipboard (after
> > making sure it is not a sub) pop it out of the clipboard data, encrypt it
> > and store it.  To use, decrypt, pop it in to the clipboarddata array and
> > "paste."
>
>
> I suppose it's more cards I need.  This notion would have me send
> files (or even database entries) which would be decrypted into the
> needed card.  The "brains" are built into my main stack/program; these
> cards are largely programming.
>
>
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list