I like the idea of going even another step further, and having macros that we can use. An example from another tool I use adds the ability to add structures (e.g. if-then-else, repeat, etc.), and even being able to hilite text and have the macro do something with the text, for example someContainer is empty
Hilite above, choose the macro (right-clicking or from a button in the header), choose custom if-then-else macro, and the hilited text is replaced with if somecontainer is empty then else #not (somecontainer is empty) end if #somecontainer is empty and on the blank line between the "if" and the "else", the insertion carat is placed, waiting for the next thing to be added. Ya know, if we had a crowdfund we could put up a bid for this and already have the money set aside to assign it... On Wed, Jun 21, 2017 at 2:07 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike Bonner wrote: > > > Perhaps a different direction here? I think it would be helpful to me > > as a perpetual newbie to have the option to insert common scripts on > > demand. > > Maybe a context sensitive dropdown with a mouseup framework for > > buttons, for fields, textchanged, keyup, keydown. > > HyperCard: > <http://www.loper-os.org/wp-content/hypercard-calc/hc23.jpg> > > SuperCard: > <https://i.ytimg.com/vi/KeLdv70h3G4/maxresdefault.jpg> > > and even MetaCard: > <http://www.metacard.com/mcsnap2.gif> > > ...all provided popup menus in the Script Editor to insert handler > outlines and more. > > SC's was based on templates that included a tag for specifying the > insertion point - very handy for modifying/extending them. > > That sort of guidance can go a long way in helping newcomers more readily > understand the scope of messages they can respond to. > > > > Maybe backed by a personal snippet library so that once one creates > > their perfect script for entering only floating numbers.. or whatever, > > make the handlers snippable so that they can be added to a local > > repository for that object type. > > Extensibility would be very valuable. > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ 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