Code To Minick Control-A, Control-C, Control-V (Select All, Copy, Paste)

Walt Brown walter.h.brown at gmail.com
Mon Dec 6 09:46:39 EST 2010


Of interest, if "Select the text of me" is in the mouseUp handler of the
field, it selects NOT all of the text, but all the lines from the mouse
location down.
Walt

-----Original Message-----
From: Walt Brown [mailto:walter.h.brown at gmail.com] 
Sent: Monday, December 06, 2010 9:44 AM
To: 'How to use LiveCode'
Subject: RE: Code To Minick Control-A, Control-C, Control-V (Select All,
Copy, Paste)

"Select the text of fld fFieldName" seems to work.
Walt

-----Original Message-----
From: use-livecode-bounces at lists.runrev.com
[mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of stephen barncard
Sent: Sunday, December 05, 2010 11:43 PM
To: How to use LiveCode
Subject: Re: Code To Minick Control-A, Control-C, Control-V (Select All,
Copy, Paste)

I am pretty sure "Select All" has to be done by script --

select character 1 to -1 of fld x



On 5 December 2010 19:47, Bill Vlahos <bvlahos at mac.com> wrote:

> The cut, copy, and paste are straightforward and included in the examples.
> How do I script Select All?
>
> Bill
>
> On Dec 5, 2010, at 5:32 PM, Warren Kuhl wrote:
>
> > Disregard..I found it was as simple as copy and paste commands.
>  Sometimes a
> > person overthinks the solution. :)
> >
> > Warren
> >
> > On Sun, Dec 5, 2010 at 7:16 PM, Warren Kuhl <warrenkuhl at gmail.com>
> wrote:
> >
> >> I am trying to determine how to select all text of a field and copy 
> >> to clipboard when a button is pressed...
> >>
> >> Similar to:
> >> Control-A
> >> Control-C
> >> Control-V
> >>
> >> Thanks for any help!
> >> Warren
> >>
> > _______________________________________________
> > 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>
_______________________________________________
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