手机
当前位置:查字典教程网 >脚本专栏 >hta >hta 定时关机重启实现代码
hta 定时关机重启实现代码
摘要:复制代码代码如下:一个用于定时重启或关闭计算机的小工具,适用于Windows2K/XP/2003设定时间:分钟秒钟功能选择:重启关机作者:黑...

复制代码 代码如下:

<html>

<head>

<meta http-equiv="content-type" content="text/html;charset=gb2312">

<title>一个用于定时重启或关闭计算机的小工具,适用于Windows 2K/XP/2003 </title>

<hta:application

id="WTimer"

maximizebutton="No"

minimizebutton="Yes"

singleinstance="Yes"

contextmenu="Yes"

sysmenu="Yes"

version="1.0"

innerborder="No"

caption="Yes"

showintaskbar="Yes"

border="Normal"

borderstyle="Normal"

applicationname="Windows Timer"

icon="TimerIco.ico"

/>

<Style type="text/css">

<>

</Style>

<Script Language="JavaScript">

<>

</Script>

</head>

<body>

<fieldset>

<table width="100%" border="1" cellpadding="4" cellspacing="3">

<form name="form1">

<tr>

<td width="25%">设定时间:</td>

<td width="75%"><input type="text" name="time" size="20" value="" onkeypress="ResponseKeyPress()" />

<select name="mod_time">

<option value="mod_minute">分钟</option>

<option value="mod_second">秒钟</option>

</select>

</td>

</tr>

<tr>

<td>功能选择:</td>

<td>

<input type="radio" name="operation" value="rWin" checked="checked" />重启

<input type="radio" name="operation" value="cWin" />关机

</td>

</tr>

<tr>

<td colspan="2">

<input type="button" name="StartButton" value=" 应用 " />

<input type="button" name="StopButton" value=" 取消 " />

<input type="button" name="ExitButton" value=" 退出 " />

</td>

</tr>

</form>

</table>

</fieldset>

<div id="footerinfo">

<div id="left"></div>

<div id="right">

作者:黑虾

</div>

</div>

</body>

</html>

如果保存后发现不能运行一般是编码的问题,可以用记事本保存,也可以直接从本站下载

http://www.jb51.net/softs/11618.html

【hta 定时关机重启实现代码】相关文章:

HTA编辑HOST文件的脚本

用hta实现的远程桌面连接脚本

hta实现的定时关机小程序

用hta与ajax实现的五笔字型编码查询工具

个人学习之作 hta 原创

用hta实现的桌面漂浮flash

做一个困难重重的hta下载者

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

hta文件介绍(编写小程序的好东东)

A notepad made in HTA(hta实现的记事本)

精品推荐
分类导航