Results 1 to 5 of 5

Thread: Sendkey function

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Ontario, Canada
    Posts
    61
    What is the send key function for hitting ALT + a

    also what is the send key for the right arrow on the key board

    thanks
    ---~^ Absalom ^~---

    There is nobody in the world who knows everything there is no one his/her workforce who knows everything what really makes the person smart is that he/she is not affraid to ask for help.

  2. #2
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    258
    Hey ,

    To specify that any combination of SHIFT, CTRL, and ALT should be held down while several other keys are pressed, enclose the code for those keys in parentheses. For example, to specify to hold down SHIFT while E and C are pressed, use "+(EC)". To specify to hold down SHIFT while E is pressed, followed by C without SHIFT, use "+EC".


    BTW RIGHT ARROW = {RIGHT}

    []P
    Visual Basic 6 SP4 on win98se

    QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!

  3. #3
    Guest
    Whoa PRIVATE1, don't confuse the guy .

    Code:
    'Alt + a
    SendKeys "%a", True
    
    'Right arrow
    SendKeys "{RIGHT}", True

  4. #4

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Ontario, Canada
    Posts
    61
    what is the send key for the enter button
    ---~^ Absalom ^~---

    There is nobody in the world who knows everything there is no one his/her workforce who knows everything what really makes the person smart is that he/she is not affraid to ask for help.

  5. #5
    Guest
    SendKeys "{ENTER}", True

    For more, it's all listed under the SendKeys statement in your VB Help file or MSDN Library.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width