How to Return data by using Sendkeys

lakshman
lakshman Member Posts: 44
Hi All,

Iam using one codeunit, in onrun trigger i wrote the following code

Message('Text0001');
WSSCRIPT.SENDKEYS('{ENTER}');

My Requirements is How can i find ,when the ENTER key is pressed.
Best Regards,
Lakshman Routu
http://lakshman-routu.blogspot.in/

Comments

  • garak
    garak Member Posts: 3,263
    edited 2008-08-13
    When (Time) :?: or where :?:

    I don't understand you question. Could you give us more informations .....
    Do you make it right, it works too!
  • Savatage
    Savatage Member Posts: 7,142
    lakshman wrote:
    Hi All,
    Iam using one codeunit, in onrun trigger i wrote the following code
    Message('Text0001');
    WSSCRIPT.SENDKEYS('{ENTER}');
    My Requirements is How can i find ,when the ENTER key is pressed.

    by reading your post I can guess that it is virtually pressed on the onrun trigger of your codeunit right after a message appears for an instant.

    I'm sure that's not what your looking for so perhaps you can explain your problem with more detail and the purposes for doing it.