?? p723_logon.ws
字號:
<?xml version="1.0" standalone="yes"?>
<!--
logon.ws
This file is the monster logon script which establishes
connection of set file and printer shares, checks for current
version of antivirus SW install, synchs local system time
with a network resource, and opens browser window to
company intranet
-->
<job id="jobLogon">
<object id="objIE" progid="InternetExplorer.Application" />
<resource id="resUpgrade">
You have an old version of AntiVirusVendor Software installed.
Please install the latest version from the following Web site:
http://intranetsite/virus/
Upgrade now?
</resource>
<script language="jscript" src="\\\\someserver\\shared\\commonObj.js">
</script>
<script language="jscript"
src="\\\\someserver\\shared\\mapDriveOrPrinter.js">
</script>
<script language="jscript" src="http://intranetsite/virus/latest.js">
</script>
<script language="jscript" src="http://intranetsite/virus/antivirus.js">
</script>
<script language="jscript">
<![CDATA[
// map three network drives
// syntax: MapDrive(sharename, driveletter)
MapDrive("\\\\appserver\\apps", "Z");
MapDrive("\\\\fileserver\\files", "Y");
MapDrive("\\\\toolserver\\tools", "X");
// connect a network printer (only if OS is Windows NT)
// syntax: AddPrinter(printerpath)
AddPrinter("\\\\printserver\\share");
// synchronize computer's clock with a central time source
objShell.Run("net time \\\\timeserver /set /yes");
// is latest anti-virus software installed?
// functionality pulled in from 'latest.js' & 'antivirus.js'
CheckAntiVirusStatus();
// open a browser window onto the company intranet
// unless user chose to upgrade anti-virus SW
// then go to anti-virus site
if (6 == iVirusRet) // "yes" chosen in upgrade dialog
{
objIE.Navigate("http://supde/virus/");
}
else
{
objIE.Navigate("http://supde/");
}
objIE.Visible = true;
]]>
</script>
</job>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -