How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body

Peter M. Brigham pmbrig at gmail.com
Fri Dec 13 12:11:53 EST 2013


Sounds as if gmail is seeing formatted text on the clipboard and trying to indicate a color when translating to plain text. Perhaps trying to copy plain text from LC would to the trick. I have a frontscript handler that allows me to set the clipboardata["text"] to the text of the selection with control-command-C instead of a straight copy (which copies the format along with the text). It's useful in a number of contexts, and it might work here.

on commandKeyDown pKey
   switch pKey
      case "c"
         if the controlkey is down then
            -- (could use another modifier key for Windows)
            -- control-cmd-C copies plain text
            if the tool is not "browse tool" then pass commandKeyDown
            if the clipboard is not "text" then pass commandKeyDown
            if the selectedField is empty then pass commandKeyDown
            if the selectedtext is empty then pass commandKeyDown
            if the long name of the target contains "revNewScriptEditor" then pass commandKeyDown
            set the clipboardData["TEXT"] to the selectedtext
         else
            pass commandKeyDown
         end if
         break
      default
         pass commandKeyDown
   end switch
end commandKeyDown

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig

On Dec 12, 2013, at 12:01 AM, Bob Sneidar wrote:

> OH! I thought that people were putting them in there to prevent some Livecode server along the way from interpreting them as real code!! LOL!
> 
> Bob Sneidar
> IT Technician
> Integrated Office Technology
> bobsneidar at iotecdigital.com<mailto:bobsneidar at iotecdigital.com>
> 714-401-2407
> 
> 
> 
> On Dec 10, 2013, at 20:27 , Peter Haworth <pete at lcsql.com<mailto:pete at lcsql.com>> wrote:
> 
> The asterisks seem to happen when I copy and paste from LC to my mail
> system (gmail).  They don't show up in the message when I send it but
> somehow insinuate themselves somewhere out there in the great unknown
> cloud.  Maybe the NSA put them there, who knows.
> 
> Pete
> lcSQL Software <http://www.lcsql.com<http://www.lcsql.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





More information about the Use-livecode mailing list