Trigger key events

is there any way to trigger key events using vvvv
i want to create interface prototypes using various physical interfaces and emulating keyboard shortcuts would be a quick and dirty way to talk to programs like photoshop or games and test out interaction techniques…

thx jakob vranz

somthink like: TogEdge (Animation) ?

nope, i want to trigger Windows Key Events like “CRTL + C” or “g” or whatever… basically I’m looking for something which does something similar to the behavior of “Cursor(System)” with its “Do left click” functionality but for the keyboard.

Any idea?

Jakob

hmmm… problem solved… somehow didn’t see the obvious
what I need is the “Keyboard Input” of the Keyboard Node … guess I should sleep more

thx anyhow

jakob

TogEdge would be only 0.02 of the solution. Note that the Keyboard (System Global) node has a little input to send keys to the frontmost application.

i remember there once was a possibilty to set the Mouse cursor as well, but i currently dont know where it went.

And there is the possibility to use HWND to get a windows handle and SendMessage to send windows messages to that window. this should basically allow to you do anything, while a little bit cyrptic. see here

with GlovePIE and PPJoy you even may submit GameController commands to external software.

thx…

i guess i won’t need to use the SendMessage stuff, the functionality provided by KeyBoard(System Global) should be enough. This just for very very fast prototyping anyway…

thx(kalle) also for the links, i might have a look at that stuff when I’m a little more advanced with my current work which currently really is only about trying things out…

Hopefully I can show some stuff someday

jakob

“i remember there once was a possibilty to set the Mouse cursor as well, but i currently dont know where it went.”

it’s the cursor node, i used it successfully on programming a bot for a game. that was quite fun ;)