I have VBS file with the only line
CreateObject("Wscript.Shell").Run "cmd /c start mshta.exe %cd%/app.hta",0,True
When I click this VBS file, there is a delay before the HTA file is opened, so I need to display some message during that time and hide it when HTA file is opened. It will be better if I would be able to stylize the window with the message.
How can I do it?
Popup
method, but that's just based on a timer, so it won't react to whether the HTA is started or not. But why do you need the VBScript in the first place? You could just launch the HTA directly. – Ansgar Wiechers