I've been dabbling in AppleScript for a few months to automate the mundane process of compiling learning materials for my Chinese studies. Now, I'm trying to write a script that would enable me to automatically search for example sentences of Chinese vocabs on a free Internet site.
The results are contained hierarchically within the element called with the ID searchresultWindow so that's where the first line is from. The second line was an attempt to get the entire DOM structure, in the hope of being able to search through it, but that failed too. What I got was just the Source Code of the Weppage itself.
Solutions to the problem would be appreciated. So would any prods in the right direction.