Jump to content

Can I send the enter key with _WD_ElementAction?


AI123
 Share

Recommended Posts

Now I use this:

;for loop
_WD_ElementAction($sSession,$sButton_TAGS,'value', $string_split[$z] & ' ')
;Send(" ") -> doesn't work properly for me here
Sleep(200)
Send("{ENTER}")

But the problem is: if I forget to activate the browser the enter key is pressed otherwhere.

Sometimes my AutoIt code window was activated and was changed by enter keys.

So I want to isolate the script so it only works in the browser.

Is there a way to send the enter and other control keys with _WD_ElementAction or other _WD function

instead of use Send?

Edited by AI123
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...