Hi all,
I have a little problem with keyboard input; it only seems to work when the window containing the "key" object is selected/active. Unfortunately, upon startup of my pd patch, the windows command line window is always the active window, so the user first needs to click the patch window to have keyboard input. As my patch is meant to be used by blind users, it would be great if they didn't have to Alt-Tab to that window.
Does anyone know about a method to let a specific patch window be automatically active upon startup? Some command line option maybe?
Thanks alot, Steven Kruyswijk
Does anyone know about a method to let a specific patch window be automatically active upon startup? Some command line option maybe?
See the attached file.
The message 'vis 1' send to pd-<windowname> ('s pd-windowname' opens and selects the window. 'vis 0' closes it again. Loadbang will trigger it on load.
Cheers Soeren
#N canvas 450 563 450 300 10; #N canvas 0 0 450 300 foo 0; #X restore 22 39 pd foo; #X msg 121 60 vis 1; #X obj 116 111 s pd-foo; #X msg 188 59 vis 0; #X text 23 158 Loadbang opens and selects foo on startup; #X obj 123 24 loadbang; #X text 23 142 foo window is opened with vis 1; #X connect 1 0 2 0; #X connect 3 0 2 0; #X connect 5 0 1 0;