Jump to content
Sign in to follow this  
momotan

IE not clicking when Invisible

Recommended Posts

Newb alert!

Here's the situation, this code works great when the browser is visible. It clicks a flash button on the site it browses to. However, as soon as the invisible option is used, no clicky.

$oIE = _IECreate ($link, 0, 0, 1, 1)

$oForm = _IEGetObjById ($oIE, "hotzoneDiv_asset2")

$clicker = MouseClick("left")

$oclick = _IEAction($oForm, $clicker)

I used every other clickable option i can think of but they either don't work at all in either visible or invisible, like _ieaction ($xx, "click").

Any ideas?

Share this post


Link to post
Share on other sites

Hi and Welcome to the forums!

MouseClick() returns 1 or 0, where is that listed as a valid action for _IEAction()? Did you realllllly use the helpfile while writing this? :)

Share this post


Link to post
Share on other sites

Thanks for the responses guys. Yes, I stand corrected, i am talking about the hidden window. When the window is not hidden, the click happens, returns a value of 1. When the window is hidden i get return value of 0, and script pauses. So, I am looking for a means of having the click happen in the hidden window.

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...