Jump to content

sendkeys to all app

- - - - -

  • Please log in to reply
2 replies to this topic

#1
lol33d

lol33d

    Programmer

  • Members
  • PipPipPipPip
  • 149 posts
Hello

i need a simple code for sendkeys to all application

i cant get application title :(

i need a mini keyboard

code using vb.net

thank you.

#2
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 765 posts
If I am not mistaken, you are trying to simulate keyboard events by sending corresponding windows messages? If so, it's not necessary to send those messages to all application. You just need to send to the currently active window. Check out Windows API GetForegroundWindow for a way to get window handle of the currently active window.

On getting application title, you may want to use windows message WM_GETTEXT to get the text/title of a window.

#3
lol33d

lol33d

    Programmer

  • Members
  • PipPipPipPip
  • 149 posts
y, but my keys is accept in all keylogger

i want send keys in vb.net without accept in keylogger




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users