Here is a script that I use to copy all the text in a field.  
This works on Mac OS X and Windows (XP and 7).

   on mouseUp
      select the text of field "myList"
      copy
      wait 1 second 
      select empty
      set the vscroll of field "myList" to 0  -- reset the scroll to the top of 
a long list 
   end mouseUp

The select command highlights the text.
The wait command allows time for the user to get feedback
The select empty command removes the highlight
The vscroll is set to the top of a long list in the field.

With the text copied, it can be pasted into a different application.
HTH,
Bob


Date: Mon, 6 Dec 2010 09:43:34 -0500
From: "Walt Brown" <[email protected]>

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

Walt
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to