Hi Bob, > Am 11.03.2022 um 17:30 schrieb Craig Newman via use-livecode > <[email protected]>: > > 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 >> <[email protected]> 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 >>> <[email protected]> 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 >>>>> <[email protected]> wrote: >>>>> works with fields whose nam Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass [email protected] _______________________________________________ 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
