From 9194a1eb9422b9f859a968243c02659eb50d07a2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 6 Oct 2011 21:22:15 +0000 Subject: added bang methods for simulating clicks on links svn path=/trunk/externals/pddp/; revision=15534 --- helplink-help.pd | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'helplink-help.pd') diff --git a/helplink-help.pd b/helplink-help.pd index 3ec1d63..ea0de47 100644 --- a/helplink-help.pd +++ b/helplink-help.pd @@ -1,4 +1,5 @@ -#N canvas 275 101 468 415 12; +#N canvas 280 108 468 497 12; +#X declare -stdpath extra/Gem; #X text 20 10 [helplink] makes a clickable link to a help patch based on the object name. It is useful for providing links to help patches in other patches.; @@ -9,3 +10,11 @@ in other patches.; #X text 29 234 If the help patch or object does not exist \, [helplink] will not output an error until someone clicks on the link.; #X obj 55 339 helplink Gem/scale; +#X obj 250 308 helplink gemwin; +#X obj 239 153 declare -stdpath extra/Gem; +#X text 33 384 helplink also has a hidden inlet. You can send a bang +to simulate clicking a helplink:; +#X obj 54 447 helplink select; +#X obj 54 425 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X connect 11 0 10 0; -- cgit v1.2.1