ScriptomaticV2.hta学习脚本好工具

所属分类: 脚本专栏 / hta 阅读数: 774
收藏 0 赞 0 分享
复制代码 代码如下:

<html>

<!--
'********************************************************************
'*
'*  File:          Scriptomatic.hta
'*  Author:        The Scripting Guys, Microsoft Corporation
'*  Created:       August 2002
'*  Modified:      July 2003 (1.0 -> 1.1 -> 2.0)
'*                 March 2004
'*  Version:       2.0
'*
'*  Description:   Scriptomatic is a WMI Scripting learning tool
'*                 that creates example WMI scripts -- in VBScript,
'*                 JScript, or Perl -- that retrieve instances of
'*                 WMI managed resources that are described by
'*                 dynamic classes in the WMI schema (also known as
'*                 the Common Information Model or CIM).
'*
'* Dependencies:   There are two (that we're aware of anyway):
'*                 1. You must run Scriptomatic on a WMI-enabled
'*                    computer. Any Windows operating system that has
'*                    the number 2000 or higher in its name, or XP,
'*                    is a safe bet.
'*                 2. And to successfully run the scripts generated
'*                    with Scriptomatic, well, you must be
'*                    administrator. After all, these are system
'*                    administration scripts. This piece of advice is
'*                    especially important if you take advantage of
'*                    the multiple computer feature that's new to
'*                    this version of the tool.
'*
'* Copyright (C) 2003 Microsoft Corporation
'*
'********************************************************************
-->

<title>Scriptomatic Version 2.0 by The Microsoft Scripting Guys</title>

<HTA:APPLICATION 
     ID="objScriptomatic" 
     APPLICATIONNAME="Scriptomatic"
     SCROLL="no"
     SINGLEINSTANCE="yes"
     WINDOWSTATE="normal"
>
<head>

<style>
BODY
{
   background-color: buttonface;
   font-family: Helvetica;
   font-size: 8pt;
   margin-top: 2px;
   margin-left: 8px;
   margin-right: 3px;
   margin-bottom: 3px;
}

.button
{
   font-family: Helvetica;
   font-size: 8pt;
   width: 40px;
}

.wmibutton
{
   font-family: Helvetica;
   font-size: 8pt;
   width: 70px;
}
.bigger_button
{
   font-family: Helvetica;
   font-size: 8pt;
   width: 80px;
}

textarea
{
   font-family: Arial;
   font-size: 8pt;
   margin-left: 3px;
   margin-right: 3px;
}

select
{
   font-family: Arial;
   font-size: 8pt;
   width: 450px;
   margin-left: 0px;
}
</style>

'********************************************************************
'* BEGIN_SCRIPT
'********************************************************************
<script language="vbscript">                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &nb
更多精彩内容其他人还在看

适用于hta的Sleep函数

找到一个适用于 hta 的 Sleep 函数
收藏 0 赞 0 分享

hta 定时关机重启实现代码

一个用于定时重启或关闭计算机的小工具,适用于Windows 2K/XP/2003
收藏 0 赞 0 分享

从 HTA 中启动应用程序

如何从 HTA 中启动应用程序
收藏 0 赞 0 分享

ASP 辅助工具(hta版)

当我们使用asp的一些字段获取功能的时候,这个功能就非常有用了。
收藏 0 赞 0 分享

hta编写的软件管理工具0.1(IE7.0测试通过)

程序初始化是建立与本文件同名后缀为mdb的数据库
收藏 0 赞 0 分享

exe转换16进制的html保存的hta实现代码

用下面这个hta文件来转exe变成16进制的html保存了。这样也会方便一点。
收藏 0 赞 0 分享

VBS脚本的GUI界面 HTA简明教程(网络搜集整理)

HTA是HTML Application的缩写(HTML应用程序),是软件开发的新概念,直接将HTML保存成HTA的格式,就是一个独立的应用软件,双击就能运行,与VB、C++等程序语言所设计的软件没什么差别。
收藏 0 赞 0 分享

winXP下用VBS写的代码编辑器

利用VBS脚本+DHTML,主要功能由正则表达式+wmic来完成,代码需保存为HTA类型的文件,当然也可以更改为纯粹的VBS脚本,不过那样效率低多了,而且代码更复杂。
收藏 0 赞 0 分享

扣代码工具 hta版

需要用到 InternetExplorer.Application 对象,所以做成了HTA文件。代码如下:(不能直接运行,请下载附件运行其中的 “捕获者.hta”,或者将下面代码复制后保存到本地并以 hta 为扩展名)
收藏 0 赞 0 分享

用hta实现的桌面漂浮flash

用hta实现的桌面漂浮flash,效果不错,其实主要是javascript代码,大家把代码拷到网页中也一样用,ie only.
收藏 0 赞 0 分享
查看更多