// Create a new workbook Workbook workbook = new Workbook(); // Open a GanttSheet SJS file. workbook.open(getResourcePath("sjs/GanttSheet.sjs")); // Save to a .sjs file workbook.save("GanttSheet.sjs");