copyKey

Klaus major-k klaus at major-k.de
Thu Jan 26 14:51:24 EST 2017


Hi Richmond,

> Am 26.01.2017 um 20:46 schrieb Richmond Mathewson via use-livecode <use-livecode at lists.runrev.com>:
> 
> I'm trying to disable copying from textFields throughout a stack and tried this in
> the stackScript:
> 
> on copyKey
>  answer "Hard Cheese, Buster; this is a Demo!"
>  pass copyKey
> end copyKey
> 
> copying of selectedText in a field still occurred . . .
> I tried it in a cardScript . . .  nix
> and I tried it in the script of the textField I was trying to copy from . . .
> [all this on Linux]
> does anybody know where I am going wrong, as I seem to be
> following the instructions in the Documentation?

just like the "pastekey" message, "copykey" is trapped by the IDE and will 
only work in a standalone or with "Suspend LiveCode UI" turned on in the 
Development menu.

> Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list