CustomProperties

Jim Ault jimaultwins at yahoo.com
Thu May 5 23:37:09 EDT 2011


These two lines should do it

    copy button "btnToStoreAsObjectFormat"
    set the cpsObjects["cpBtn2"] of this stack to the  
clipboarddata["objects"]

Dictionary explains the clipboard array elements, one of which is  
"objects"
Note special rules for stacks, cards, and groups.


On May 5, 2011, at 7:25 PM, Thomas McGrath III wrote:

> I thought it was possible to 'store' a button in a custom property?  
> This cold is getting to me, I can't remember.
>
> I thought you could store all kinds of things into a custom  
> property? Images, object, sounds, etc. -- Is this correct?
>
> Thanks, and apologies for my cold driven forgetfulness.

Jim Ault
Las Vegas






More information about the use-livecode mailing list