[PD] how to emulate mouse left-click to canvas?

Ingo Stock mail at ingostock.de
Fri Jul 28 21:03:49 CEST 2017


There is a more complete collection of messages in the forum [1] (direct
link [2]).

You can send [mouse 340 135 1 0( to a visible patch window where the
first two numbers are the x and y coordinates to emulate a mouse click.
Works in Pd 0.47.1.

best wishes, ingo


[1]
https://forum.pdpatchrepo.info/topic/10813/collection-of-pd-internal-messages-dynamic-patching
[2] https://forum.pdpatchrepo.info/uploads/files/1497602807047-pd-msg.zip




On 28/07/17 16:55, Roman Haefeli wrote:
> Hey all
> 
> Is it still possible in Pd to send a message to canvas in order to
> emulate a mouse click? Some documents[1] and patches[2] on the Pure
> Data wiki suggest it was possible with earlier versions of Pd, but I
> can't get the examples to work with current Pd. 
> 
> My aim is to make a symbolatom ready for text input without clicking it
> first. 
> 
> Roman
> 
> 
> [1] https://puredata.info/community/pdwiki/PdInternalMessages
> [2] http://dh7.free.fr/pd-msg/pd-msg_05.tar.gz
> 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170728/e553f68c/attachment.sig>


More information about the Pd-list mailing list