<div dir="ltr"><div>Thanks, that's a nice idea. I think it doesn't work in windows (I don't get any output from key combinations), but it might work on other systems.<br><br></div>jmmmp<br><div class="gmail_extra"><br><div class="gmail_quote">2018-02-18 21:31 GMT+01:00 Ingo Stock <span dir="ltr"><<a href="mailto:mail@ingostock.de" target="_blank">mail@ingostock.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jmmmp,<br>
<br>
i think it can be done with a message. On my system 22 is the key up<br>
code for control + v. When this code is output by [keyup], a [editmode<br>
0( message sent to the canvas ends edit mode. See demo patch attached.<br>
<br>
best wishes, ingo<br>
<div><div class="h5"><br>
<br>
On 02/18/2018 08:05 PM, João Pais wrote:<br>
> Hello list,<br>
><br>
> I had a question for any tcl-plugin programmer out there: is it possible<br>
> (and easy) to make a GUI plugin that would avoid Pd going into edit mode<br>
> when the paste key combination is pressed? The reason is, while using a<br>
> patch with [flatgui/entry], the patch is always going into edit mode.<br>
><br>
> I would imagine it could work in one of these ways, but I can't judge<br>
> which is the easiest:<br>
> - remove the key binding that makes ctrl+v go into edit mode<br>
> or<br>
> - keep the key binding, but after opening edit mode, it closes it again<br>
><br>
> I tried IO's kiosk plugin, but it didn't help with this particular case.<br>
><br>
> Best regards,<br>
><br>
> Jmmmp<br>
</div></div>> <<a href="https://www.facebook.com/jmmmpais" rel="noreferrer" target="_blank">https://www.facebook.com/<wbr>jmmmpais</a>><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
><br>
</blockquote></div></div></div>