Bill, try this in the behaviour button script: on mouseUp put the long name of this me into theName —theName will contain the long name of the behaviour button. end mouseUp
put this me into theName - would put the value contained in the text property of the behaviour button into theName. In standard, default and rectangle buttons we don’t normally use the text property, but there’s nothing stopping you from using it if you wish, you just need to populate it first. :) Paul > On 25Aug, 2020, at 15:48, William Prothero via use-livecode > <use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>> wrote: > > on mouseUp > put this me into theName —theName is blank. > end mouseUP _______________________________________________ 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