kpu Posted January 21, 2005 Share Posted January 21, 2005 How do you get the 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" http://www.kpunderground.com Link to comment Share on other sites More sharing options...
the_lord_mephy Posted January 21, 2005 Share Posted January 21, 2005 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 More sharing options...
kpu Posted January 21, 2005 Author Share Posted January 21, 2005 Thanks!I'm still looking the help file and banging my head. Did you copy the Syntax out of the help file? Your Syntax:ControlClick ( "title", "text", "classnameNN" [, button] [, clicks]] )My Syntax:ControlClick ( "title", "text", controlID [, button] [, clicks]] ) http://www.kpunderground.com Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now