Missing properties

Dr. Hawkins dochawk at gmail.com
Sun Dec 7 09:58:47 EST 2014


On Sun, Dec 7, 2014 at 4:47 AM, Geoff Canyon <gcanyon at gmail.com> wrote:

> If the object in question is inside a group, you'd have to recurse your way
> out, or you could use:
>
>     put word -5 to -1 of the long id of btn 1
>

I actually define a shId() function for figuring these things out and
tracking them:
unction shId lId
   --chop the id so it's faster to parse
   return word 1 to 3 of lId && word -6 to -4 of lId
end shId

adding words -10 to -7 would instead return the card as part of this, or
could be used instead of -6 to -4, I suppose, if the stack was a known
thing.
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list