What is the best way to go about implementing a function like 'send keys'? Need a double click (from my other abstraction) to send 'Backspace'. Live can only respond to backspace to delete current clip (afaik)
Cheers
-
Send Keys
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
-
@image_engine Yes key presses can be sent to the os. You might need to experiment to find the key number to send....... it can depend on your language and keyboard of course.......
input_event.zip
Put all of the contents of the extracted zip into your pd/extra/extra folder........ and you DO NOT need to copy the dll to windows system32 to register it............([{Just remembered for anyone that just peeked at this post that I had added it to my Pd extended myself........ doh}])
Some instruction is in French (for the mouse) and if you then open [pd virtual-key] within the help file then you will find a list of key numbers as discovered on the original computer.
Strangely, as if you had put in an order many moons ago, "backspace" is at the top of the list!!I use it for talking with FL studio....... I will have to look up the patch. You might have some problems with window focus and need to click on the LIVE window (from your patch) before sending the backspace, and then have a delayed click (on your patch) to bring back the focus........
Sorry, I can't remember and unfortunately it really is bedtime....... again!
David.
PS... I cant find it...... must be on another laptop....... here is a patch that works in the background once Premiere is open......... and takes osc commands (from my phone) and converts them to key presses.receive_mariat.pd so as to launch tracks using the "alt" menus....... and even press a screen button that has no shortcut (using mouse co-ordinates).
Anything is possible in Pd. -
Will check it out. I was actually using the autoit active x...you can access the window handle and send without having focus...even send presses to the individual controls on a window (as long as you have the id)...being interesting to see how it compares.
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
-
@image_engine The day you find yourself bored, and you look down and your thumbs are twiddling (English expression) you could compile an "external" of autoit for Pd?
David. -
hehe...running a masonry factory...6 children, 13 grandchildren...music when I can...programming BIM etc etc...It would be a very worthwhile project though...its a brilliant framework. I ended up programming the sequencing for our batch plants with it using some cheap win8 tabs...If I can get a faster on PD I might be able to get some time...
Alles Klar2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it