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 <jac...@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 | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.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<http://lists.runrev.com/mailman/listinfo/use-livecode> > > -- Pete Molly's Revenge <http://www.mollysrevenge.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