killer89 Posted February 16, 2011 Share Posted February 16, 2011 Hello, I have so many links(url) in the webpage. I wanted to open a particular url. How can i open that link using autoit. Basically it has javascript like <a href="javascript:" onclick="arInvokeForm('somedomain.com', 'SOFTWARE:CASE:CP:CaseProcessing', 'search')"> <a href="javascript:" onkeydown="appListJumpOut(true)" onclick="arInvokeForm('someotherdomain.com', 'SOFTWARE:CASE:QC:Quick Case', 'new')"> Like above there are so many links. I just wanted to select only one of them. plsease help!! Thanks in advance. Link to comment Share on other sites More sharing options...
killer89 Posted February 16, 2011 Author Share Posted February 16, 2011 one more point i would like to add to above problem. The browser is embedded in the softare. So i can not use $oIE = _IECreate ("https://somedomain.com/") _IELinkClickByText($oIE, "Open the link") Is there any other way to click a link in the browser which is embedded in some software? Thanks in advance Link to comment Share on other sites More sharing options...
Xenobiologist Posted February 16, 2011 Share Posted February 16, 2011 Do have have access to the brwoser object? Is the link static? Could you just use _IENavigate? Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
killer89 Posted February 17, 2011 Author Share Posted February 17, 2011 hello Xenobiologist, I dont have much knowledge about browser objects. But the link is a static link. Basically when i open that software, in the left hand side a scroll down html page comes. It has the link which i want to open. I can view the source of the page. It contains Javascript. I dont even know which browser it is. Thanks for the help! Link to comment Share on other sites More sharing options...
Xenobiologist Posted February 17, 2011 Share Posted February 17, 2011 It is difficult, if I cannot test it on my own. Sorry! What about another idea you can try. Try to click into the browser, Send CTRL+F search for your link Send Enter Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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