autoScript

Mike Bonner bonnmike at gmail.com
Wed Nov 16 08:49:57 EST 2016


On the contrary, when i tried it here I became hot and delicious, and great
to wake up to in the morning.  Alas, I had added an undo function and have
since reverted to my normal hermity self. I tried "make me rich" once, but
I just ended up being triple chocolate cake.

On Wed, Nov 16, 2016 at 6:43 AM, Tore Nilsen <tore.nilsen at me.com> wrote:

> At this point in the discussion I feel a need to clarify that while also
> the original the script (make me coffee) was set, the button BB did not
> actually make coffee. I still had to go to the kitchen and perform the
> necessary magic myself.
>
> And I think that most people will find that making coffee is slightly
> beyond the capabilities of LC, regardless of version or OS.
>
> Regards
> Tore
>
>
> > 16. nov. 2016 kl. 14.37 skrev Mike Bonner <bonnmike at gmail.com>:
> >
> > 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 <richmondmathewson at 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.nilsen at me.com>
> wrote:
> >>>
> >>> On MacOS 10.12.2
> >>>>
> >>>>
> >>>> 16. nov. 2016 kl. 14.21 skrev Richmond <richmondmathewson at 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 <richmondmathewson at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list