Dostosowanie Acrobat Readera do własnych potrzeb - plik glob.js i config.js:
app.alert("aaaaaaaaaaaaaaaa");
app.hideToolbarButton("Hand");
app.addSubMenu({cName: "JSHelp",cUser: "JavaScript Help",cParent: "Help",nPos: 3});
app.addMenuItem({cName: "JSGuide",cUser: "JavaScript Guide",cParent:"JSHelp",nPos:0,cEnable:"event.rc=(!(this.documentFileName=='AcroJSGuide.pdf'));",cExec:"app.openDoc('/d/Program Files/Adobe/Acrobat 6.0/Help/ENU/AcroJSGuide.pdf');",});
app.addMenuItem({cName: "JSRef",cUser: "JavaScript Reference",cParent:"JSHelp",nPos:1,cEnable:"event.rc=(!(this.documentFileName=='AcroJS.pdf'));",cExec:"app.openDoc('/d/Program Files/Adobe/Acrobat 6.0/Help/ENU/AcroJS.pdf');"});
Brak komentarzy:
Prześlij komentarz