how to work with Send Keys

Hi,

I have similar query on sendkeys.

I am having one application in which ,

I Need to make on the scrolllock key.

Actually a third party application runs parallely which recognizes it and convert the key strokes if the scrolllock is on ( Font character conversion. transliteration).( in that, an option like other windows application is present which is disabled)

When Physically i hit the scrolllock key it works.( in my appln)

when I use it programmatically

sendkeys.sendwait(skeys). the application just hangs.

but the normal tab is working programmatically.

some where It has been caught.

Please Reply.

Mohan Raj




Answer this question

how to work with Send Keys

  • LuckLess

    It works Exactly. Thanx,Thanx,Thanx

    (few lines modified , the status is not shows properly. just commented.)

    If I have two successive fields which has to be toggled on, i written in gotfocus and lostfocus of the fields to toggle on and off on the series of fields.

    when I come from first field to second sucessive field, the scrolllock should be on. but the status does not updates. but i commented to use set lock forcibly.

    Thanks & Regards

    Mohan Raj K.



  • Vance Chen

    Hi,

    Please go through the below link. Hope this helps...please mark it as answered, if this answers your post.
    Link: http://www.a1vbcode.com/snippet-3541.asp

    Regards,
    Bhanu.



  • how to work with Send Keys