OK. Does this help? It catches pasting, but not typing.
on textChanged if the commandKey is down then beep end textChanged > On Mar 11, 2022, at 10:52 AM, Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> 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@lists.runrev.com> 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@lists.runrev.com> wrote: >>>> >>>> works with fields whose nam >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode