手机
当前位置:查字典教程网 >脚本专栏 >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 原创

hta(vbs)列目录树代码

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

tweakomatic hta 下载

从 HTA 中启动应用程序

hta编写的常用工具箱(常用工具快捷方式等)

hta实现的定时重启或关闭计算机的小工具

hta实现的定时关机小程序

hta实现涂鸦效果代码

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

精品推荐
分类导航