Jump to content
Sign in to follow this  
toxicvn

help me :click to pop up of IE

Recommended Posts

toxicvn

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

Share this post


Link to post
Share on other sites
Manjish

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

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  

×