Jump to content

help me :click to pop up of IE


toxicvn
 Share

Recommended Posts

hey

i want click to control on popup of ie as under image

i tryed ControlClick( ) and .. but it not working

this is a example:

CODE
if WinExists("Internet Explorer","") Then

MsgBox(0,"","no day roi")

WinWaitActive("[TITLE:Internet Explorer; CLASS:#32770; INSTANCE:1]", "")

ControlClick("Internet Explorer","","[CLASS:Button; INSTANCE:1]")

;ControlClick("Internet Explorer", "&No", "[iD:7]");ControlClick("Internet Explorer", "&No", "[iD:7]")

;$send = ControlSend("Internet Explorer", "", "&No", "!n")

;Sleep(100)

;$send = ControlClick("Internet Explorer", "", "[CLASS:Button; TEXT:&No; INSTANCE:2]")

;$handle = ControlGetHandle("[CLASS:Button1]", "", "[CLASS:Button; INSTANCE:1]")

MsgBox(0,"",$handle)

pop_up.bmp

Edited by toxicvn
Link to comment
Share on other sites

hey

i want click to control on popup of ie as under image

i tryed ControlClick( ) and .. but it not working

this is a example:

CODE
if WinExists("Internet Explorer","") Then

MsgBox(0,"","no day roi")

WinWaitActive("[TITLE:Internet Explorer; CLASS:#32770; INSTANCE:1]", "")

ControlClick("Internet Explorer","","[CLASS:Button; INSTANCE:1]")

;ControlClick("Internet Explorer", "&No", "[iD:7]");ControlClick("Internet Explorer", "&No", "[iD:7]")

;$send = ControlSend("Internet Explorer", "", "&No", "!n")

;Sleep(100)

;$send = ControlClick("Internet Explorer", "", "[CLASS:Button; TEXT:&No; INSTANCE:2]")

;$handle = ControlGetHandle("[CLASS:Button1]", "", "[CLASS:Button; INSTANCE:1]")

MsgBox(0,"",$handle)

U have to give controlclick co-ordinates, won't work without it.. :)

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
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...