Jump to content

Recommended Posts

Posted

Hello,

So basically, I'm on a page on a site where frameset is composed of .js and .swf. I was able to simulate a tab using the Send("{TAB}") function however, using Send("{ENTER}") function does not work and as an alternative I'm about to try and use a mouse click function though there's nothing on the page that I can use as it is a Flash based site. Any of you got an issue same as this one? 

Here's my code at the moment:

#include <IE.au3>

Local $oIE = _IECreate("basic")
Local $oFrames = _IEFrameGetCollection($oIE, 0)

_IEImgClick($oFrames, "directlinktoimage")

WinActivate($oIE)
Sleep(5500)
Send("{TAB 16}") ; => Hit tab 16 times to get to the element to be clicked
Send("{ENTER}") ; => Not workinig

The url to site is not available as it is only internal.

Posted
2 hours ago, junkew said:

see faq 31. If IE.au3 cannot help you most likely have to fallback to iuiautomation and try what simplespy is giving you.

Will look into it. Thanks!

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
  • Recently Browsing   0 members

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