No, mine is indeed set to palette yet does not work and your’s works just fine. I’ll report back when I figure out why.
Thanks for your patience > On Aug 22, 2016, at 8:42 PM, Richard Gaskin <ambassa...@fourthworld.com> > wrote: > > Roger wrote: > > > I take it back. I thought I had it working but alas, not so much. > > I can’t make it work for a button in a palette stack (a plugin) > > and selectedText from the Script Editor of the topStack. Here is > > my button script: > > > > on mouseUp > > set the defaultstack to the topstack > > put the selectedtext into tText > > if the first char of tText is not quote then put quote before tText > > if the last char of tText is not quote then put quote after tText > > put tText into the selectedtext > > end mouseUp > > > > The traversalOn of this button is indeed unchecked. When I click > > the button, the selectedText in the Script Editor goes unhilited, > > and nothing else happens. Funny thing is, I could swear I had it > > working before my previous post??? > > Maybe you forgot to set the stack back to palette? > > Try this: > <http://fourthworld.net/lc/TextToolBar.livecode> > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and 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 _______________________________________________ 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