Jump to content

Save As - like dialog box pauses execution


Recommended Posts

K, website I am automating has what looks like a button that when you click it, lets you upload a file. The class is #32770. Problem is, and I see this has been discussed quite a bit in the forums, execution pauses while this window is open. The best workaround I found suggested is giving the button focus then using controlsend to send the enter command. The issue I am having is the "button" does not appear to be "focusable". Not sure if this is a valid test, but I am unable to tab to the button. The info tool does not seem to recognize the button as the only thing that seems to change when I use it over the button vs other parts of the page is the contolclick coords. Anyone know of any other workarounds?

Link to comment
Share on other sites

Look at the web page's source code. Find the button and somewhere nearby should be an ID for the button. It may appear something like this:

<input type='submit' id='statusSubmitGlobal' class='ipsButton_secondary' value='Update' />

In the example above, you would refer to statusSubmitGlobal.

#include <ByteMe.au3>

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...