Jump to content

How to use ControlID


kpu
 Share

Recommended Posts

How do you get the :lmao: ControlClick to work. Here's what I have.

run("rundll32.exe /d shell32.dll,Control_RunDLL INETCPL.CPL","")
WinWaitActive("Internet Properties","")
ControlClick("Internet Properties","Clear &History", 1489,"","")

;---Here's the syntax
;ControlClick ( "title", "text", controlID [, button] [, clicks]] )

I just want it to launch IE and Click the "Clear History" button.

The control ID is 1489

ClassNameNN is "Buttion10"

Text is "Clear &History"

Link to comment
Share on other sites

ControlClick ( "title", "text", "classnameNN" [, button] [, clicks]] )

=>

Opt("WinTitleMatchMode", 2)

ControlClick("- Microsoft Internet Explorer", "", "Button10")

Opt("WinTitleMatchMode", 1)

My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]
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...