amwmedia Posted February 10, 2005 Share Posted February 10, 2005 Yeah, the title says it all. Any ideas? There's a dynamic listbox that I need to cycle through. The list is of variable length. Thanks, Andrew Link to comment Share on other sites More sharing options...
this-is-me Posted February 10, 2005 Share Posted February 10, 2005 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 comment Share on other sites More sharing options...
amwmedia Posted February 10, 2005 Author Share Posted February 10, 2005 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 objectI'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 formThanks,Andrew Link to comment Share on other sites More sharing options...
this-is-me Posted February 11, 2005 Share Posted February 11, 2005 ... and once au3 gets COM support, we won't even need javascript ... Who else would I be? 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