RE: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread Jim Lambert via use-livecode
> Jacque wrote: > And then there's "this me", which still tickles me. "This me" could be a quote from that Scottish author's tale The Strange Case of Dr. Jekyll and Mr. Hyde. ;) Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread David V Glasgow via use-livecode
I don’t know what my wife is complaining about. It IS all about me! > On 8 Oct 2021, at 4:37 pm, Bob Sneidar via use-livecode > wrote: > > For the sake of clarity, in retrospect it may have been better to use This > Me, That Me, The Other Me, and perhaps Not Me. :-) > > Bob S > > >> On Oc

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread Bob Sneidar via use-livecode
For the sake of clarity, in retrospect it may have been better to use This Me, That Me, The Other Me, and perhaps Not Me. :-) Bob S > On Oct 8, 2021, at 08:28 , J. Landman Gay via use-livecode > wrote: > > And then there's "this me", which still tickles me. > > -- > Jacqueline Landman Gay |

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread Bob Sneidar via use-livecode
Even better, use the long id of me to precicely identify the object. There are occassions where the stack you think is the topstack, isn't. Bob S > On Oct 8, 2021, at 04:16 , David V Glasgow via use-livecode > wrote: > > Ah! (light comes on). Thanks Sean. So ‘me’ is actually more specific

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread J. Landman Gay via use-livecode
And then there's "this me", which still tickles me. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 8, 2021 9:51:34 AM "Sean Cole \(Pi\) via use-livecode" wrote: 'me' is also useful in behaviors as it refers, not to the behav

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread Sean Cole (Pi) via use-livecode
Hi David, It seems confusing and I see how. Me and This are really useful and powerful keywords. And that is the point in this example. 'The rect of me' uses it as a keyword referring to itself. It knows then not to look any further and applies it to itself. But once you add 'the long name of' the

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread David V Glasgow via use-livecode
Ah! (light comes on). Thanks Sean. So ‘me’ is actually more specific than it would seem! I avoided ‘me' because it returns the short name of an object (of which there are several), and went for the long name of me because it is unique. Just to be clear, what you are saying is that when LC

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread Sean Cole (Pi) via use-livecode
The message path looks for the first instance it finds with a given name. As your script is within the group itself, it would be easier (lazier ;) ) to reference to each group as 'me' eg lock screen for visual effect in rect (the rect of me) rather than 'the rect of the long name of me' Sean On

On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread David Glasgow via use-livecode
Being essentially a lazy and a sloppy programmer, I made a group which contained a script that caused the group to do what I wanted. Then I copied it again and again, and grouped the resultant groups. Rather than adapting the script to be located on the card I just left several identical scri