ID:153176
 
Hey, I've been gone for awhile... switched to C++, but I'm doomed to confusion in that, so I'm coming back to ask a question here, in hopes that what I need can be acomplished by DM, though I doubt it.

I understard how to get DM to respond to macros (keyboard keys in my case), but is it possible to get DM to replicate that for other programs? I mean, can it call the "key macro" to other programs in anyway? Or am I stuck with C on that one? :/ Any help appreciated.
No, you can't send keypress events to other applications. That'd be a rather nasty security hole. =) Imagine:

*sent to whichever bit of Windows usually processes keystrokes* Ctrl-Esc [start menu], R [Run]

*sent to Run window* format C: /y

*users computers starts formatting itself*

Not a very good example, but you get the idea.

There are other ways to communicate with outside programs, though; via HTTP (world.Export()) and via Javascript (browse()) are the two I can think of right now.