Me is resolving correctly for me in stack, card and behavior scripts attached 
to them. The issue I think was that you cannot seem to reference card <x> of me 
in a stack script handler. So I created handlers that return the parent card or 
stack of an object. The object can be the long id of a card even, when getting 
the parent stack, and that you can use in any reference so far as I know. 

All it's doing is forcing the full card ID or stack name resolution so the 
parser doesn't need to use fuzzy logic. 

Bob S


> On Oct 31, 2018, at 09:04 , J. Landman Gay via use-livecode 
> <[email protected]> wrote:
> 
> A guess: "me" resolves correctly for controls only. Stacks and cards are not 
> controls, so behaviors attached to those resolve to the behavior script 
> itself. Since there are no cards in a behavior script, it fails. Maybe.
> --
> Jacqueline Landman Gay


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to