kpu 1 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 Share this post Link to post Share on other sites
the_lord_mephy 0 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] Share this post Link to post Share on other sites
kpu 1 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 Share this post Link to post Share on other sites