mikes99 Posted March 22, 2018 Share Posted March 22, 2018 I need to know how I can click on a button/link that is embedded into a webpage which opens up a link for a downloaded app on my PC. Below is the code from the webpage for the button I need to click on. <a id="navLink" class="link" data-href-alt="./dist/portal/composerlaunchpad.exe" href="clp://launchurl=https://acmhsraiisa1mpls.noblehosted.com/NobleWebAgent11.1.3.4/Default.aspx" style="margin: 0 auto;">Click Here To Begin</a> When you click on the link this box will appear, then i can script something to click on that. This is the code from AutoIt for the area where that button "click here to begin" is. >>>> Window <<<< Title: Noble Composer (Portal Install) - Google Chrome Class: Chrome_WidgetWin_1 Position: 10, 10 Size: 1339, 937 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x001503A6 >>>> Control <<<< Class: Chrome_RenderWidgetHostHWND Instance: 2 ClassnameNN: Chrome_RenderWidgetHostHWND2 Name: Advanced (Class): [CLASS:Chrome_RenderWidgetHostHWND; INSTANCE:2] ID: 260414112 Text: Chrome Legacy Window Position: 5, 81 Size: 1329, 851 ControlClick Coords: 381, 501 Style: 0x56300000 ExStyle: 0x00000020 Handle: 0x00140022 >>>> Mouse <<<< Position: 396, 592 Cursor ID: 0 Color: 0x84CFEF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Chrome Legacy Window Chrome Legacy Window >>>> Hidden Text <<<< Any suggestions? Thanks! Link to comment Share on other sites More sharing options...
Developers Jos Posted March 22, 2018 Developers Share Posted March 22, 2018 @mikes99, Moved to the appropriate forum, as the DEV forum very clearly states: {Do not create AutoIt-related topics here, use AutoIt General Help and Support} Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Earthshine Posted March 22, 2018 Share Posted March 22, 2018 (edited) Chrome UDF or IUIAutomation, FAQ 31 also Webdriver stuff posted on this forum Edited March 22, 2018 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Earthshine Posted March 22, 2018 Share Posted March 22, 2018 Give that a try first My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Earthshine Posted March 23, 2018 Share Posted March 23, 2018 found the WebDriver UDF My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
mikes99 Posted March 26, 2018 Author Share Posted March 26, 2018 I need to know how I can click on a button/link that is embedded into a webpage which opens up a link for a downloaded app on my PC. I'm a newbie on Autoit so I'm still figuring things out here. I have tried the Chrome UDF, however newer versions of Chrome reject the file since it is not from the Chrome store, so I can't go that route. Below is the code from the webpage for the button I need to click on. <a id="navLink" class="link" data-href-alt="./dist/portal/composerlaunchpad.exe" href="clp://launchurl=https://acmhsraiisa1mpls.noblehosted.com/NobleWebAgent11.1.3.4/Default.aspx" style="margin: 0 auto;">Click Here To Begin</a> When you click on the link this box will appear, then i can script something to click on that. This is the code from AutoIt for the area where that button "click here to begin" is. >>>> Window <<<< Title: Noble Composer (Portal Install) - Google Chrome Class: Chrome_WidgetWin_1 Position: 10, 10 Size: 1339, 937 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x001503A6 >>>> Control <<<< Class: Chrome_RenderWidgetHostHWND Instance: 2 ClassnameNN: Chrome_RenderWidgetHostHWND2 Name: Advanced (Class): [CLASS:Chrome_RenderWidgetHostHWND; INSTANCE:2] ID: 260414112 Text: Chrome Legacy Window Position: 5, 81 Size: 1329, 851 ControlClick Coords: 381, 501 Style: 0x56300000 ExStyle: 0x00000020 Handle: 0x00140022 >>>> Mouse <<<< Position: 396, 592 Cursor ID: 0 Color: 0x84CFEF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Chrome Legacy Window Chrome Legacy Window >>>> Hidden Text <<<< Any suggestions? Thanks! Quote Edit Link to comment Share on other sites More sharing options...
Earthshine Posted March 26, 2018 Share Posted March 26, 2018 (edited) See FAQ 31, IUIAutomation post, also check out the WebDriver UDF posted in these forums Edited March 26, 2018 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Developers Jos Posted March 26, 2018 Developers Share Posted March 26, 2018 @mikes99, Why are you creating a second thread on the same topic? Please stick to one! Jos Earthshine 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Earthshine Posted March 26, 2018 Share Posted March 26, 2018 (edited) lol, so i answered the same way twice. I am consistent... lol looks like the OP doesn't want to do the work necessary to complete his goals by ignoring my answers completely and starting a new thread, hoping for different answers... hahahaha OP, here are your choices again, although you may not like it WebDriver UDF Chrome UDF IUIAutomation (this and webdriver are my favorite now) Goodbye and happy programming. Edited March 26, 2018 by Earthshine My resources are limited. You must ask the right questions 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