Basic Post Question
Posted: Mon Jun 27, 2011 3:11 am
Hi, I'm pretty new to Livecode and am just sussing out the trial product.
I am trying to make an app that will go to a webpage (eg. Google), enter data into a field on that webpage, press the button next to that field so that the webpage processes the data. I am trying to work out how to get the data into the field on the webpage.
I figure I need to use the Post command. What I'm confused about is how to specify both the webpage and the field in the command. The examples in the Dictionary only give you one or the other:
"
I don't want to actually launch the webpage in the app, I just want it to access the data from the page in the background.
Sorry if this is a basic, silly question, but I can't seem to find the answer anywhere.
I am trying to make an app that will go to a webpage (eg. Google), enter data into a field on that webpage, press the button next to that field so that the webpage processes the data. I am trying to work out how to get the data into the field on the webpage.
I figure I need to use the Post command. What I'm confused about is how to specify both the webpage and the field in the command. The examples in the Dictionary only give you one or the other:
Code: Select all
post myData to URL "URLhttp"
post field "Return Values" to URL field "Current Page
I don't want to actually launch the webpage in the app, I just want it to access the data from the page in the background.
Sorry if this is a basic, silly question, but I can't seem to find the answer anywhere.