婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁(yè) > 知識(shí)庫(kù) > 利用vbs腳本實(shí)現(xiàn)設(shè)置IE的打印頁(yè)眉頁(yè)腳信息

利用vbs腳本實(shí)現(xiàn)設(shè)置IE的打印頁(yè)眉頁(yè)腳信息

熱門標(biāo)簽:外呼系統(tǒng)免費(fèi)招代理 廣州ai電銷機(jī)器人一般多少錢 外呼系統(tǒng)telrobot 合肥高德地圖標(biāo)注 外呼線路中繼線是什么 怎么看地圖標(biāo)注 深圳外呼系統(tǒng)收費(fèi) 拉薩外呼系統(tǒng)業(yè)務(wù) 百度地圖標(biāo)注是什么意思
將下面的內(nèi)容保存成.vbs文件,然后雙擊執(zhí)行,在打開ie頁(yè)面,在頁(yè)面中點(diǎn)擊右鍵,看看菜單中多了個(gè)什么!!:) 


    
復(fù)制代碼 代碼如下:

option explicit 

    dim hkey_root,hkey_path,hkey_key,filepath 
    dim fs,fso,regwsh 

    hkey_root="hkey_current_user" 
    hkey_path="\software\microsoft\internet explorer" 

    //先創(chuàng)建文件 
    set fs=wscript.createobject("scripting.filesystemobject") 
    filepath="c:\pagesetup_default.htm" 
    set fso=fs.createtextfile(filepath,true) 
    fso.write("script language=""vbscript"">"+vbcrlf _ 
            +"dim hkey_root,hkey_path,hkey_key,filepath,regwsh" +vbcrlf _ 
            +"hkey_root=""hkey_current_user""" +vbcrlf _ 
            +"hkey_path=""\software\microsoft\internet explorer""" +vbcrlf _ 
            +"filepath=""c:\pagesetup_null.htm""" +vbcrlf _ 
            +"http://設(shè)置網(wǎng)頁(yè)打印的頁(yè)眉頁(yè)腳為默認(rèn)值"+vbcrlf  _ 
            +"set regwsh = createobject(""wscript.shell"")" +vbcrlf _ 
            +"hkey_key=""\pagesetup\header""" +vbcrlf _ 
            +"regwsh.regwrite hkey_root+hkey_path+hkey_key,""wb頁(yè)碼:p/p""" +vbcrlf _ 
            +"hkey_key=""\pagesetup\footer""" +vbcrlf _ 
            +"regwsh.regwrite hkey_root+hkey_path+hkey_key,""ubd""" +vbcrlf _ 
            +"http://設(shè)置右鍵菜單上的顯示文字" +vbcrlf _ 
            +"http://首先刪除原來(lái)的項(xiàng),然后再設(shè)置新的項(xiàng)"+vbcrlf  _ 
            +"on error resume next" +vbcrlf _ 
            +"hkey_key=hkey_root+hkey_path+""\menuext\打印時(shí)恢復(fù)頁(yè)眉頁(yè)腳\""" +vbcrlf _ 
            +"regwsh.regdelete hkey_key" +vbcrlf _ 
            +"hkey_key=hkey_root+hkey_path+""\menuext\打印時(shí)去掉頁(yè)眉頁(yè)腳\""" +vbcrlf _ 
            +"regwsh.regwrite hkey_key,filepath" +vbcrlf _ 
            +"http://關(guān)閉regwsh" +vbcrlf _ 
            +"set regwsh=nothing"+vbcrlf  _ 
        +"/script>") 
    fso.close 

    filepath="c:\pagesetup_null.htm" 
    set fso=fs.createtextfile(filepath,true) 
    fso.write("script language=""vbscript"">" +vbcrlf _ 
            +"dim hkey_root,hkey_path,hkey_key,filepath,regwsh" +vbcrlf _ 
            +"hkey_root=""hkey_current_user""" +vbcrlf _ 
            +"hkey_path=""\software\microsoft\internet explorer""" +vbcrlf _ 
            +"filepath=""c:\pagesetup_default.htm""" +vbcrlf _ 
            +"http://設(shè)置網(wǎng)頁(yè)打印的頁(yè)眉頁(yè)腳為空" +vbcrlf _ 
            +"set regwsh =createobject(""wscript.shell"")" +vbcrlf _ 
            +"hkey_key=""\pagesetup\header""" +vbcrlf _ 
            +"regwsh.regwrite hkey_root+hkey_path+hkey_key,""""" +vbcrlf _ 
            +"hkey_key=""\pagesetup\footer""" +vbcrlf _ 
            +"regwsh.regwrite hkey_root+hkey_path+hkey_key,""""" +vbcrlf _ 
            +"http://設(shè)置右鍵菜單上的顯示文字" +vbcrlf _ 
            +"http://首先刪除原來(lái)的項(xiàng),然后再設(shè)置新的項(xiàng)" +vbcrlf _ 
            +"on error resume next"+vbcrlf  _ 
            +"hkey_key=hkey_root+hkey_path+""\menuext\打印時(shí)去掉頁(yè)眉頁(yè)腳\""" +vbcrlf _ 
            +"regwsh.regdelete hkey_key"+vbcrlf  _ 
            +"hkey_key=hkey_root+hkey_path+""\menuext\打印時(shí)恢復(fù)頁(yè)眉頁(yè)腳\""" +vbcrlf _ 
            +"regwsh.regwrite hkey_key,filepath" +vbcrlf _ 
            +"http://關(guān)閉regwsh" +vbcrlf _ 
            +"set regwsh=nothing"+vbcrlf  _ 
        +"/script>") 
    fso.close 

    set regwsh=wscript.createobject("wscript.shell") 
    hkey_key=hkey_root+hkey_path+"\menuext\打印時(shí)去掉頁(yè)眉頁(yè)腳\" 
    regwsh.regwrite hkey_key,"c:\pagesetup_null.htm" 

以上信息與文章正文是不可分割的一部分,如果您要轉(zhuǎn)載本文章,請(qǐng)保留以上信息,謝謝! 
您可能感興趣的文章:
  • 添加網(wǎng)站到安全站點(diǎn).設(shè)置安全站點(diǎn)打開ActiveX時(shí)提示.去頁(yè)眉頁(yè)腳的vbs代碼
  • IE瀏覽器打印的頁(yè)眉頁(yè)腳設(shè)置解決方法
  • js實(shí)現(xiàn)頁(yè)面打印功能實(shí)例代碼(附去頁(yè)眉頁(yè)腳功能代碼)
  • JS調(diào)用打印方法設(shè)置頁(yè)眉頁(yè)腳的實(shí)例
  • javascript仿php的print_r函數(shù)輸出json數(shù)據(jù)
  • javascript實(shí)現(xiàn)window.print()去除頁(yè)眉頁(yè)腳

標(biāo)簽:玉林 廣安 臺(tái)灣 延安 周口 六安 漳州 嘉興

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《利用vbs腳本實(shí)現(xiàn)設(shè)置IE的打印頁(yè)眉頁(yè)腳信息》,本文關(guān)鍵詞  利用,vbs,腳本,實(shí)現(xiàn),設(shè)置,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《利用vbs腳本實(shí)現(xiàn)設(shè)置IE的打印頁(yè)眉頁(yè)腳信息》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于利用vbs腳本實(shí)現(xiàn)設(shè)置IE的打印頁(yè)眉頁(yè)腳信息的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 平陆县| 靖宇县| 临漳县| 日照市| 鹤山市| 尚志市| 慈利县| 平舆县| 随州市| 寿宁县| 乳源| 北安市| 威宁| 密山市| 兴宁市| 广平县| 西乌珠穆沁旗| 宜都市| 宜丰县| 思茅市| 博野县| 万载县| 密山市| 达日县| 民权县| 郁南县| 绥滨县| 蛟河市| 迭部县| 出国| 桐城市| 隆子县| 喀喇| 乌兰浩特市| 江安县| 长岭县| 平和县| 铅山县| 佛山市| 鄄城县| 舞阳县|