Sign in to follow this  
Followers 0
Disturbed

to click on Download Now(text link)

2 posts in this topic

Hi all, I am trying to download a file from certain site.. What i am able to do is that i can directly move to the page which has the download now option which requires authentication.. But now i have to click on the textDownload Now. the code to perform above is shown below but it would be great if some hits are available for clicking the download now text...

ShellExecute("IEXPLORE.EXE","mysite.com")

Sleep(3000)

WinWaitActive ( "title", " ")

Sleep(2000)

Send('username')

Send('{TAB}')

Send('password')

Sleep(2000)

Send('{ENTER}')

How should i proceed to click on a particular text now...

thank u.

Share this post


Link to post
Share on other sites



Hi all, I am trying to download a file from certain site.. What i am able to do is that i can directly move to the page which has the download now option which requires authentication.. But now i have to click on the textDownload Now. the code to perform above is shown below but it would be great if some hits are available for clicking the download now text...

ShellExecute("IEXPLORE.EXE","mysite.com")

Sleep(3000)

WinWaitActive ( "title", " ")

Sleep(2000)

Send('username')

Send('{TAB}')

Send('password')

Sleep(2000)

Send('{ENTER}')

How should i proceed to click on a particular text now...

thank u.

You need to check out the _IE* functions in the help file. Look at the several example scripts there under _IEFormElementSetValue().

^_^


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0