clipboard issue in Windows?

Mike Kerner MikeKerner at roadrunner.com
Wed Nov 30 08:31:17 EST 2011


Thanks Bob and Jacque - I think I'm going to submit a comment in the
documentation for future reference...

On Wed, Nov 30, 2011 at 06:40, Mike Bonner <bonnmike at gmail.com> wrote:

> copy char 1 to -1 of field "fieldname" -- works fine for me, win 7.
>
> Set up a stack with 2 fields, 2 buttons, one copies the other pastes.
> http://dl.dropbox.com/u/11957935/copyPaste.livecode
>
> When you say it doesn't seem to do anything, what do you mean? If you have
> an insertion point, and paste nothing shows up? The command itself should
> have an empty result, and "it" should also contain nothing.  However, if
> you issue the command from the message box, you should get a "true"
> response to see that it worked.
>
> As mentioned before, sometimes its easier to just set and/or get the
> clipboarddata directly.
>
> Oh, you can also "put the clipboard" and it will tell you what kinds of
> data it contains if any.
>
> On Wed, Nov 30, 2011 at 12:00 AM, Pete <pete at mollysrevenge.com> wrote:
>
> > I can see where the confusion comes from on this.  The dictionary claims
> > you can copy a chunk of a control to the clipboard, even has an example
>  -
> > copy word -3 to -1 of field "Help".
> >
> > Maybe it used to work as documented in the dictionary and somehow got
> > changed over the years?
> >
> > On Tue, Nov 29, 2011 at 7:20 PM, J. Landman Gay <
> jacque at hyperactivesw.com
> > >wrote:
> >
> > > On 11/29/11 5:43 PM, Mike Kerner wrote:
> > >
> > >  copy char 1 to -1 of field "total" -- doesn't seem to do anything.
> > >>
> > >>
> > > If you do it that way, you need to select the text first, just as if
> you
> > > were doing it manually:
> > >
> > >  select char 1 to -1 of fld "total"
> > >  copy
> > >
> > > But as was already mentioned, setting the clipboardData is much
> cleaner.
> > >
> > > --
> > > Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> > > HyperActive Software           |     http://www.hyperactivesw.com
> > >
> > > ______________________________**_________________
> > > 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<
> > http://lists.runrev.com/mailman/listinfo/use-livecode>
> > >
> > >
> >
> >
> > --
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
> > _______________________________________________
> > 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
>



-- 
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."



More information about the use-livecode mailing list