Paste no closeField

Klaus major-k klaus at
Fri Mar 11 11:48:21 EST 2022

Hi Bob,

> Am 11.03.2022 um 17:30 schrieb Craig Newman via use-livecode <use-livecode at>:
> OK.
> Does this help? It catches pasting, but not typing.
> on textChanged
> if the commandKey is down then beep
> end textChanged

you could also catch "on pastekey", but that will only work in a standalone,
the IDE will catch and not pass it.

>> On Mar 11, 2022, at 10:52 AM, Bob Sneidar via use-livecode <use-livecode at> wrote:
>> Because I don’t want to trigger it every time someone types a character, but that would be one way to do it. I clean up anything I drag or type into fields, stripping all but printable ascii because OCR PDF files contain a lot of crap that wreaks havoc with databases. 
>> Sent from my iPhone
>>> On Mar 11, 2022, at 05:56, Craig Newman via use-livecode <use-livecode at> wrote:
>>> Hi.
>>> Why not use the “textChanged” message? That one would always fire if pasting text.
>>> Craig
>>>>> On Mar 10, 2022, at 5:57 PM, Bob Sneidar via use-livecode <use-livecode at> wrote:
>>>>> works with fields whose nam



Klaus Major
klaus at

More information about the use-livecode mailing list