On Sun, Dec 7, 2014 at 4:47 AM, Geoff Canyon <gcan...@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
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to