Jump to content
Sign in to follow this  
mrjoli021

web form

Recommended Posts

mrjoli021

I have autoit open a webpage, but I would like to fill out certain fields. One of the fields is a dropdown list and the other is a text field.

how would I go about doing this?

Share this post


Link to post
Share on other sites
Mechaflash

Look at the family of _IE functions. You can find them in your AutoIt help file.


Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, mrjoli021. Can you please post the code you have thus far, or at least the URL you're trying to manipulate? It will be much easier to assist if we can see what you're trying to accomplish :)

  • Like 1

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
mrjoli021

it is an internal site, but basically it is a form and what I am doing is calculating the number of tabs and filling it that way, but just wondering if there was an easier way to do this?

Share this post


Link to post
Share on other sites
mrjoli021

ShellExecute ("iexplore", "[url="http://www.google.com"]http://www.google.com[/url]")
Send("+{TAB 24}")
Send("{ENTER}")
Send("+{TAB 55}")
Send("hello there")

I would like to input "hello there" after having the browser tab 24 times then hit enter and then tab again 55 times. I have counted the tabs and they are fine, but nothing gets printed in the text field. Again I the website is internal so I cant post it.

Share this post


Link to post
Share on other sites
Mechaflash

EWWWWWWWWWWWWWWW

:puke: :puke: :puke: :puke: :puke: :puke: :puke: :puke: :puke:

You did NOT just send 55 tabs...

Please... I beg of you... look at the _IE functions.... PLEASE! :(


Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites
mrjoli021

thx used the IE Property function and it worked.

Thx

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.