Jump to content

Recommended Posts

Posted

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

Guest Py7|-|[]/\/
Posted

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.

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...