wjessee Posted October 28, 2004 Share Posted October 28, 2004 I am having trouble making a function that will search a specified website for a link with a specific name and then tab over to it and launch it. Any ideas for me? -W Link to comment Share on other sites More sharing options...
Guest Py7|-|[]/\/ Posted October 28, 2004 Share Posted October 28, 2004 Look in the helpfile to begin. First look for the "Run" command, then the "Send" command, and that should do it. I would write it for you myself, but I am short on time and am doing a report. Link to comment Share on other sites More sharing options...
wjessee Posted October 28, 2004 Author Share Posted October 28, 2004 Thanks, I have already been able to load the webpage and log in and then tab over 15 times to the link and send enter, but I would like it to search for the link name and then click it. Here is the code I have so far. This one waits 2 minutes and does a refresh. I would like to avoid having to specify the number of tabs to the link and call it by name. -W Send("#r") WinWaitActive("Run") Send("iexplore.exe about:blank{Enter}") WinWaitActive("about:blank - Microsoft Internet Explorer","Done") Send("^o") WinWaitActive("Open") Send("http://www.domain.com{Enter}") WinWaitActive("domain.com - Microsoft Internet Explorer","Done") Send("{TAB 19}") Send("USERNAME") Send("{TAB}") Send("PASSWORD") Send("{TAB 2}") Send("{SPACE}") WinWaitActive("domain.com - Microsoft Internet Explorer","Done") While 1 Sleep(120000) Send("{F5}") WinWaitActive("Microsoft Internet Explorer") Send("{SPACE}") Wend Link to comment Share on other sites More sharing options...
trids Posted October 28, 2004 Share Posted October 28, 2004 There are other threads on this topic, which you might find helpful. Search these forums with some or all of the following terms: link, find, tab, firefox, msie, browser 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