Forum Moderators: open
I'm working on a game written in Javascript (using HTA's) and I have a separate HTA which is used as a sort of development console, which reads log files outputted by the main game HTA, and displays them. The problem is that oftentimes the console HTA will try to read the logfile when it is being written to and result in a read error, etc. and it's just plain slow. Is there any other way to pass variables between HTAs which doesn't involve external files?
Thanks,
adni18
Also, you can forego using an HTA for the logging window. Open up a regular instance of IE - because it's being opened by an HTA, you'll also be allowed some leeway as far as the chrome is concerned, too.
Information can be passed back and forth using the window.opener object.
Opening up a modalDialog window might work as well but I've never tried it.