I've got a dilemma.
I'm working on a script for work and I'm kind of at a turning point where I need to decide wether to use a .hta file as a GUI or create an instance of the "InternetExplorer.Application".
untill last year these were simple scripts that would simply execute commands and write the output to a text file. nowadays I write a GUI to get the input for the script instead of using the clipboard.
they both have there pro's and con's
with the hta I can do stuff like "myfile.hta?go=ok&name=marco" and write the page out dynamicaly like lets say php.
with IEobj I would have to return feedback to the main Script, close the IEobj, process the request and relaunch a new instance of te IEobj to display the output.
sending arguments over the window.location is not possible because there is no filename (everything is created at runtime)
either way, there is no issue in security stuff... I can perfevtly access the Scripting.FileSystemObject from the .js as I can with the .hta
I was thinking of writing them both and see what works best, but that would be a total waste of time as they would need to be written in a different way.