Is it possible in Adobe Air to manipulate a website loaded into an iFrame? Like say I want to automate filling out a repetitive form that I need to fill out on a regular basis with data that I have stored into a database. I want it to fill out the fields that I know the selectors of and make it click the submit button. Possible? If not.. what about Titanium?
A:
Sure, I believe this ought to be possible. When you load a web page into an AIR app with HTMLLoader, it gets populated with a window
property that points to the root of the Javascript DOM inside that web page, which you should be able to manipulate.
See the code snippet here, for example, which only manipulates CSS, but form elements ought to work the same way as far as I know.
fenomas
2010-08-27 04:13:20