hta window

October 5, 2009 at 07:48:55
Specs: Windows Vista
I have an .hta file and at some stage I added a window.close().
Then the window closed prematurely (I probably didn't understand the command correctly).
Now whenever I run the hta, it doesn't popup. It runs "invisibly".
Problem is.. I need to select stuff and submit from the hta before it will execute the next command, but because it doesn't popup I can't do my selections.

Let me know if I need to attach the file.
Thanx in advance!

See More: hta window

Report •

October 6, 2009 at 05:24:31
Can you edit out the window.close()?

Helping others achieve escape felicity


Report •

October 6, 2009 at 10:03:01
A few things you can try:
- Since HTA's are rendered by IE, make sure all instances of iexplore.exe and mshta.exe are terminated. This is especially important if you have some popup blocker installed.
- Use JScript/VBScript to resize and reposition the window
- Make sure the WINDOWSTATE property isn't MINIMIZE

If those don't do it, I'd need to see what your script was doing.

Report •

Related Solutions

Ask Question