Search code examples
htmlcsshta

How can I open an .hta file automatic in fullscreen?


I have an .hta file but everytime I run it open in a small screen. Can I run it in fullscreen like any other nav?


Solution

  • If you want the HTA to always open maximized, add an hta:application section with wimdowstate=maximize. If you want the user to be able to maximize the HTA window, remove options from that section that are suppressing the caption and/or maximize button. See the official documentation for more details.