HTA - 基础

 

 HTA - HTML Application

APPLICATION

Indicates whether the content of the object is an HTML Application (HTA), which is exempt from the security model.

applicationName

Sets or gets the name of the HTML Application (HTA).

border

Sets or gets the type of window border for the HTML Application (HTA).

 - thick 指定窗口为粗边框 (default)
 - dialog window 指定窗口为对话框 
 - none 指定窗口无边框 
 - thin 指定窗口为窄边框(固定窗口大小)

borderStyle

Sets or gets the style set for the content border in the HTML Application (HTA) window.

 - normal 普通边框 (default)
 - complex 凹凸格式组合边框 
 - raised 凸出的3D边框 
 - static 3D边框 
 - sunken 凹进的3D边框

caption

Sets or gets a Boolean value that indicates whether the window is set to display a title bar or a caption, for the HTML Application (HTA).

设置窗口是否显示标题栏或标题,默认值为 yes

commandLine

Gets the argument used to launch the HTML Application (HTA).

contextMenu

Sets or gets a string value that indicates whether the context menu is displayed when the right mouse button is clicked.

设置是否在窗口中显示文本菜单,默认值为 yes

icon

Sets or gets the name and location of the icon specified in the HTML Application (HTA).

设置应用程序在标题栏、任务栏的图标

innerBorder

Sets or gets a string value that indicates whether the inside 3-D border is displayed.

maximizeButton

Sets or gets a Boolean value that indicates whether a Maximize button is displayed in the title bar of the HTML Application (HTA) window.

设置是否在窗口中显示最大化按钮,默认值为 yes

minimizeButton

Sets or gets a Boolean value that indicates whether a Minimize button is displayed in the title bar of the HTML Application (HTA) window.

设置是否在窗口中显示最小化按钮,默认值为 yes

navigable

Sets or gets a string value that indicates whether linked documents are loaded in the main HTA window or in a new browser window.

scroll

Sets or gets a string value that indicates whether the scroll bars are displayed.

设置滚动条,默认值为 yes

scrollFlat

Sets or gets a string value that indicates whether the scroll bar is 3-D or flat.

selection

Sets or gets a string value that indicates whether the content can be selected with the mouse or keyboard.

设置是否在窗口中选择,默认值为 yes

showInTaskBar

Sets or gets a value that indicates whether the HTML Application (HTA) is displayed in the Windows taskbar.

设置是否在任务栏中显示此应用程序,默认值为 yes

singleInstance

Sets or gets a value that indicates whether only one instance of the specified HTML Application (HTA) can run at a time.

sysMenu

Sets or gets a Boolean value that indicates whether a system menu is displayed in the HTML Application (HTA).

设置是否在窗口中显示系统菜单,默认值为 yes

version

Sets or gets the version number of the HTML Application (HTA).

设置应用程序的版本,默认值为空

windowState

Sets or gets the initial size of the HTA window.

- normal 默认大小  (default)
- minmize 最小化 
- maximize 最大化

 

 

 

HTA - HTML Applications

HTA info

https://msdn.microsoft.com/en-us/library/ms536496(v=vs.85).aspx

HTML Applications Reference

http://www.robvanderwoude.com/htaexamples.php

HTA & WSC Examples

https://599cd.com/tips/hta/?key=

posted @ 2018-09-28 08:11  Reboost  阅读(1363)  评论(0编辑  收藏  举报