Jump to content

Enumerating and HTML pulldown listbox


Recommended Posts

1: You cannot "read" text from a webpage.

2: You cannot ControlSend to a webpage.

3: That means that you can only Send() things like a tab and hope you get the right number of tabs to go to the right item.

4: If the listbox items are listed in the sourcecode, then you can do an InetGet to download the source and parse it.

Who else would I be?
Link to post
Share on other sites

1: You cannot "read" text from a webpage.

2: You cannot ControlSend to a webpage.

3: That means that you can only Send() things like a tab and hope you get the right number of tabs to go to the right item.

4: If the listbox items are listed in the sourcecode, then you can do an InetGet to download the source and parse it.

<{POST_SNAPBACK}>

interesting idea about downloading the source and parsing. Maybe I'll try it.

Just as an FYI, there's a much easier way to get to a form object on a website. You can

Send("{!d}");gets you to the address 
Send("javascript:form.formobject.focus()+{enter}");uses Javascript to focas on the form object

I've used this many times and it's great. You can also do things like

Send("javascript:form.formbutton.click()+{enter}");clicks the form button
Send("javascript:form.submit()+{enter}");submits the form

Thanks,

Andrew

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...