I knew I was barking up the wrong tree:
this:
on mouseUp
set the customKeys of btn "CusProp" to empty
end mouseUp
scrubbed out EVERYTHING all at once!
Hey, guess what; it's there in the Documentation
(although, admittedly, not expressed perticularly
clearly).
_
I dunno, seems a bit complicated.
I just dug out a stack I made a while back that I popped together to try
and understand customProps (which, oddly enough,
turned out to be extremely simple to understand).
Now on that stack, on its single card there is a button called "CusProp"
which contains
Mark,
Thanks for this additional tip.
take care,
randy
-
On Jun 25, 2009, at 3:23 PM, Mark Smith wrote:
Klaus, a slightly simpler way is to use the fact the "the
customproperties" of an object is an array, so:
put the customproperties of btn "xyz" into tArray
delete variable tArray["pro
Klaus, a slightly simpler way is to use the fact the "the
customproperties" of an object is an array, so:
put the customproperties of btn "xyz" into tArray
delete variable tArray["propname"]
set the customproperties of btn "xyz" to tArray
Randy, it's worth looking into customPropertySets - "th
Thank you Craig and Klaus... Deleting custom properties feels quite
cumbersome when compared to creating and using them.
I'm not sure how I missed the info in the User Guide...
take care
randy
-
On Jun 25, 2009, at 1:50 PM, dunb...@aol.com wrote:
I should have mentioned that the w
I should have mentioned that the way to put all the custom props into a
variable is to:
put the customKeys of yourObject into yourVariable
This is in the user guide under "Deleting a custom property". It should be
native, but at least can be written and kept as a utility handler in your
toolbo
Hi Randy,
Hi All,
I've been playing with custom properties over the past several weeks
for pretty much the first time.
I've been able to create, fill, and empty them via script...
however, I've not been to delete one via script. How is that
accomplished?
this is the most cumbersome thin
You have to do it in steps:
1- Put all the custom property names of the object in, say, separate lines
of a variable.
2- Delete the line containing the property in question from that variable.
3- Set the customkeys of the object to the (newly modified) variable.
I don't know why you cannot just
Hi All,
I've been playing with custom properties over the past several weeks
for pretty much the first time.
I've been able to create, fill, and empty them via script... however,
I've not been to delete one via script. How is that accomplished?
take care,
randy hengst