Ah, my apologies. In that case I'm surprised it DOESN'T work in 8 (when including on mouseup and end mouseup)
Now I'm curious. If I recall correctly, setting a script with an error of some type, causes the script to be placed into the button but not actually be functional. Since the more recent versions of lc seem to give less latitude in syntax, you might check the result (and it?) after setting the script. In addition, if you go into the script editor afterwards does the script actually appear as it should? If you enter a space (just to set the dirty flag) and then re-apply the script from inside the editor, does it give an error? I think, setting the script pretty much works no matter what, but if the script has a problem, while the script is THERE, it just won't work until the problem is resolved and reapplied. On Wed, Nov 16, 2016 at 6:28 AM, Richmond <richmondmathew...@gmail.com> wrote: > I didn't bother to include the 'on mouseUp' and 'end mouseUp' in my initial > message as I thought they would be assumed. > > Richmond. > > > On 16.11.2016 15:24, Mike Bonner wrote: > >> I'm surprised it works in 7 since it should result in an orphaned line of >> code with no handler designation. (as indicated by tore, you should need >> to >> include the on mouseup and end mouseup) >> >> On Wed, Nov 16, 2016 at 6:22 AM, Tore Nilsen <tore.nil...@me.com> wrote: >> >> On MacOS 10.12.2 >>> >>> >>> 16. nov. 2016 kl. 14.21 skrev Richmond <richmondmathew...@gmail.com>: >>>> >>>> Thanks, Tore, >>>> >>>> On which operating system is that? >>>> >>>> Richmond. >>>> >>>> On 16.11.2016 15:10, Tore Nilsen wrote: >>>> >>>>> Putting >>>>> >>>>> on mouseUp >>>>> >>>>> put "on mouseUp" & return & "beep" & return & "end mouseUp" into SKRIPT >>>>> >>>>> set the script of btn "BB" to SKRIPT >>>>> >>>>> end mouseUp >>>>> >>>>> >>>>> into the script of the first button makes button BB trigger a beep as >>>>> >>>> expected, also in LC 8.1.1 >>> >>>> >>>>> >>>>> Regards >>>>> Tore >>>>> >>>>> 16. nov. 2016 kl. 13.57 skrev Richmond <richmondmathew...@gmail.com>: >>>>>> >>>>>> Nothing is wrong with this in Livecode 7.1.4 >>>>>> >>>>>> BUT is does not work in Livecode 8.1.1 >>>>>> >>>>>> Bug 18864 >>>>>> >>>>>> Richmond. >>>>>> >>>>>> On 16.11.2016 14:44, Richmond wrote: >>>>>> >>>>>>> I wonder what's wrong with this: >>>>>>> >>>>>>> on mouseUp >>>>>>> put "make me coffee" into SKRIPT >>>>>>> set the script of btn "BB" to SKRIPT >>>>>>> end mouseUp >>>>>>> >>>>>>> >>>>>>> Richmond. >>>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>> >>> _______________________________________________ >>> 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 > _______________________________________________ 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