HTAS, have you heard?
HTAS is an abbreviation of HTML Applications, which means that HTML and Dynamic HTML (DHTML) are used to develop applications. It is much simpler than the object-oriented language (such as C ). We can use scripting languages (such as JavaScript) and CSS to develop applications. Simply put, HTAS includes all Internet Explorer's things - its model, expression, translation power, protocol support, and channel download technology - no strict security models and user interfaces of browsers. However, it can still be trusted. It can display menu, icon, toolbar, and web developer title information. Let us learn it together. Look at the code below.
We have saved the suffix name after the editor of Notepad.
HTA
File, then double-click to open it (Figure). How, the effects and other applications are almost!
HTA
Although used
HTML
To write, but he also has
HTML
Different places, it has some objects and properties.
Object
:
HTA: Application
. The necessary tag, it indicates this
HTML
Documentation is
HTA
Apply object model.
Attributes
:
APPLICATION:
It tells the browser its content is
HTA
, Eliminate the security model of the browser.
ApplicationName
:this
HTA
The name of the application.
Border
:
HTA
The boundary value of the application, don't go border "
None
".
BorderStyle:
this
HTA
The boundaries of the application,
Normal
, Complex, Raised, Static, Sunken Value, the default is
Normal.
CAPTION
: HTA
Whether the title bar of the application is displayed,
YES
"with"
NO
"Two values, default is
YES
.
CommandLine
: Retrieving the self-variable
HTA
Application is generally not available.
ContextMenu
: When right is right, do you display the right-click menu, there is "
YES
"with"
NO
"Two values, default is
YES
.
Icon
: Set the icon path to the title bar.
Innerborder
: Whether it is displayed
3D
Border, there is "
YES
"with"
NO
"Two values, default is
YES
.
Scroll
: Is there a scroll bar,
Have"
YES
"with"
NO
""
Auto
"Three values, the default is
Auto
.
Scrollflat
: Is the scroll bar is
3D
form.
Have"
YES
"with"
NO
"Two values, default is
YES
SELECTION
:
HTA
Whether the content in the application can be selected with a mouse or keyboard. Have"
YES
"with"
NO
"Two values, default is
YES
.
Showintaskbar
:
HTA
application
Whether it is displayed in the taskbar at runtime.
Have"
YES
"with"
NO
"Two values, default is
YES
.
SingleInstance
: Is it possible to open two at the same time?
HTA
application.
Have"
YES
"with"
NO
"Two values, default is
NO
.
Sysmenu
: Whether to display the system menu:
Have"
YES
"with"
NO
"Two values, default is
YES
.
Version
:
HTA
application
The version number.
WindowState
: Set the initialization size of the program,
MaximizeButton
(maximize),
MinimizeButton
(minimize),
Navigable
(Default recovery size).
HTA
The attribute is only these, but its attribute needs to be written.
with
hEAD>
Between, if you
HTML
More familiar, you can easily develop an app and colorful. You may wish to try it!