Batch2PdfInit.js 642 B

12345678910111213
  1. function init(basePath) {
  2. var action = new RGuiAction(qsTranslate("Batch2Pdf", "&Batch2Pdf visible layout blocks"), RMainWindowQt.getMainWindow());
  3. action.setRequiresDocument(true);
  4. action.setScriptFile(basePath + "/Batch2Pdf.js");
  5. action.setIcon(basePath + "/Batch2Pdf.svg");
  6. action.setStatusTip(qsTranslate("Batch2Pdf", "&Batch2Pdf visible layout blocks"));
  7. action.setDefaultShortcut(new QKeySequence("2,P,F"));
  8. action.setDefaultCommands(["batch2pdf", "b2pdf"]);
  9. action.setGroupSortOrder(52100);
  10. action.setSortOrder(500);
  11. action.setWidgetNames(["MiscIOMenu", "MiscIOToolBar", "MiscIOToolsPanel"]);
  12. }