FYI, I figured this out eventually. The syntax is just very specific....although the web site example really doesn't work. Here are a few tips for anybody who finds this post in the future:
1) Framed HTA programs require one and only one .hta file, for the main <framset> or <iframe> file, with an <APPLICATION: HTA> at the start of the code. Use the application=yes attribute in your <frame> or <iframe> tags as often as needed.
2) WinXP (etc.) increased its scripting security in the "localhost" / "My Computer" environment around the time of Service Pack 2, although various individual Hotfixes or Security Updates can have the same effect. Here, we're not running SP2, but a mix of individual updates, so some user settings are mysteriously missing. (I don't use Windows at home, and was none the wiser until I found docs on the changes.) More info is available at http://www.phdcc.com/xpsp2.htm , including info on achieving similar results with an HTML "Mark of the Web".
3) I'm not 100% certain, but it seems best to place any code performing cross-frame actions in the <frameset> document itself, instead of in another frame, and then trying to reach "up and around" into the frame to be read or modified.
4) When traditional ways of accessing Javascript objects fails, always try the "DOM2" (or equivalent) methods, in this case "document.all". I found some useful examples in the "Web Rover" code at http://www.irt.org/articles/js191/index.htm .
Todd
|