在IE客户端调用windows系统资源
发布日期:2021-06-30 19:06:38
浏览次数:2
分类:技术文章
本文共 1794 字,大约阅读时间需要 5 分钟。
<HTML>
<HEAD><TITLE>Start Page</TITLE><OBJECT ID="oShell"
CLASSID="clsid:13709620-C279-11CE-A49E-444553540000"></OBJECT><STYLE>
INPUT {width: 200} </STYLE><SCRIPT LANGUAGE="VBScript">
<!-- function fnStart(sMethod) select case sMethod case 0 'Minimizes all windows on the desktop oShell.MinimizeAll case 1 'Displays the Run dialog box oShell.FileRun case 2 'Displays the Shut Down Windows dialog box oShell.ShutdownWindows case 3 'Displays the Find dialog box oShell.FindFiles case 4 'Displays the Date/Time dialog box oShell.SetTime case 5 'Displays the Internet Properties dialog box oShell.ControlPanelItem "INETCPL.cpl" case 6 'Explores the My Documents folder oShell.Explore "C:/My Documents" case 7 'Enables user to select folder from Program Files oShell.BrowseForFolder 0, "My Programs", 0, "C:/Program Files" case 8 'Opens the Favorites folder oShell.Open "C:/WINDOWS/Favorites" case 9 'Displays the Taskbar Properties dialog box oShell.TrayProperties end select end function --></SCRIPT></HEAD>
<BODY>
<H1>Start...</H1>
<INPUT type="button" value="Edit Taskbar Properties" οnclick="fnStart(9)"><br><INPUT type="button" value="Open Favorites Folder" οnclick="fnStart(8)"><br><INPUT type="button" value="Browse Program Files" οnclick="fnStart(7)"><br><INPUT type="button" value="Explore My Documents" οnclick="fnStart(6)"><br><INPUT type="button" value="Modify Internet Properties" οnclick="fnStart(5)"><br><INPUT type="button" value="Set System Time" οnclick="fnStart(4)"><br><INPUT type="button" value="Find a File or Folder" οnclick="fnStart(3)"><br><INPUT type="button" value="Shut Down Windows" οnclick="fnStart(2)"><br><INPUT type="button" value="Run" οnclick="fnStart(1)"><br> <INPUT type="button" value="Minimize All Windows" οnclick="fnStart(0)"> </BODY></HTML>转载地址:https://linuxstyle.blog.csdn.net/article/details/1535770 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
表示我来过!
[***.240.166.169]2024年04月05日 13时24分11秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
PRM概率路线图
2019-04-30
ROS(六)——订阅者Subscriber的编程实现(C++ & Python)
2019-04-30
ROS(七)——话题消息的定义与使用
2019-04-30
yolov3入门实战
2019-04-30
B树 & B+树
2019-04-30
Node-Red(一)——简介与安装
2019-04-30
representation learning 表示学习/表征学习
2019-04-30
Haar特征
2019-04-30
Python 之 histogram直方图
2019-04-30
Python 之 Scatter散点图
2019-04-30
Python实现决策树 Desision Tree & 可视化
2019-04-30
决策树 Decision tree
2019-04-30
nominal和ordinal & 数据处理中四种基本数据类型
2019-04-30
Python 实现 Cross-validation
2019-04-30
Grid SearchCV(网格搜索)& Python实现
2019-04-30
ROS相关知识
2019-04-30