Jump to content
Sign in to follow this  
temassacro

Webbrowser control

Recommended Posts

Hi,

I want to click cancel to this program "MediaGateway.exe"

Can someone tell me what it's wrong with my code?

Run("MediaGateway.exe")

WinWait("UCI")
$handle = WinGetHandle("UCI")
Sleep(2000)
WinActivate($handle)
Sleep(1000)
$size = WinGetPos($handle)
MouseClick("primary",$size[0] + 10, $size[1] + 10, 1, 0)
$ieHandle = ControlGetHandle($handle,"","Internet Explorer_Server1")
WinActivate($handle)
ControlFocus($handle,"",$ieHandle)
;ControlClick($handle,"",$ieHandle)
Send("{TAB 7}")
Send("{ENTER}")

MediaGateway.wmv

Thanks

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