Richard: This is an example of how difficult it can be to find docs on an operation that isn’t commonly used and that doesn’t have “obvious” syntax. Even the livecode books by Mark Schonewill and Colin don’t allow for finding this kind of information, especially in the index. If the contents of these books wer electronically searchable, that might help a lot, because there is a lot of information buried in the text that isn’t quickly find-able.
Perhaps if there was a dictionary based, not on livecode commands, but on operations that the user wants to perform, with great search, it would be helpful. Then again, this list is a great source of this kind of info too. Best, Bill > On Aug 15, 2015, at 9:34 AM, William Prothero <proth...@earthednet.org> wrote: > > Richard: > Hmm…. Thought I tried that. But, I tried it again and it worked. Thanks for > the info. > put the short name of the owner of me into tGroup —works fine. > Best, > Bill > >> On Aug 14, 2015, at 5:28 PM, Richard Gaskin <ambassa...@fourthworld.com> >> wrote: >> >> William Prothero wrote: >> >>> “the long name of me” is a complete reference to an object, which >>> contains the group name. What I was trying to do is get the name of >>> the group that the button is in. I can parse it from the long name of >>> me, but thought it would pull it out of “me”. >>> >>> Anyway, what do I know? If I’m wrong to expect this, then I won’t >>> report it as a bug (of course). >> >> LiveCode does so many things for us so well that it's easy to overestimate >> its intelligence. >> >> When you write: >> >> put the short name of grp me into tGroup >> >> ...what it sees is: >> >> put the short name of grp (me) into tGroup >> >> ...which becomes evaluated as: >> >> put the short name of grp (button id 1033 of group id 1035 of card id 1011 >> of stack "Some/Path/To/Stackfile.livecode") into tGroup >> >> ..which causes the engine to have a minor breakdown trying to figure that >> out. :) >> >> It would be nice if we could write: >> >> put the short name of my grp into tGroup >> >> While we don't currently have "my <parentType>" (however cool that might be) >> we do have a more generic form, the owner: >> >> put the short name of the owner of me into tGroup >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> ambassa...@fourthworld.com http://www.FourthWorld.com >> >> _______________________________________________ >> 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 > > > _______________________________________________ > 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 _______________________________________________ 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