Ver Mensaje Individual
  #1  
Antiguo 03-05-2007
sergio_015 sergio_015 is offline
Miembro
 
Registrado: jul 2003
Ubicación: Aguascalientes, Ags.
Posts: 46
Reputación: 0
sergio_015 Va por buen camino
Como simular algunas teclas

Bueno, he leido ya varios hilos relacionado a esto, solo q no me esta funcionando al querer "mandar" las teclas "V" y "8", no necesito el numero 8 del teclado numerico, si no la tecla q esta arriba de la U y la I jeje, uso este procedimiento:

keybd_event(VK_V, 0, 0, 0);
keybd_event(VK_V, 0, KEYEVENTF_KEYUP, 0);
keybd_event(VK_8, 0, 0, 0);
keybd_event(VK_8, 0, KEYEVENTF_KEYUP, 0);

PERO NO FUNCIONA, ME MARCA ERROR PORQ NO RECONOCE EL VK_V Y VK_8, EN LA AYUDA DE DELPHI NO MANEJA ESAS OPCIONES, Y BUSQUE EN UN HILO DONDE VIENE TODAS LAS TECLAS Y PUES DEBERIA DE JALAR, ALGUIEN SABE COMO HACER QUE SE PRESIONEN ESAS TECLAS???
__________________
Sergio Esquivel Arredondo
T.S.U. Informatica
Responder Con Cita