PIYiPad

function init(){/* print("test script init");*/}
function run()
{
var name = curScore.name;
var filename = QFileDialog.getSaveFileName(this, "MuseScore: Save PIY", "/Users/mikhail/dev/piy/stuff/Content/4ipad_final/*", "");
var fmt = curScore.pageFormat;
var mydpi = 1024 * 25.4 / fmt.width;
curScore.save(filename,"png",false,true,mydpi,false);
curScore.save(filename,"xml");
mb = new QMessageBox();
mb.setWindowTitle("MuseScore: Export plugin.");
mb.text = "Hello MuseScore!";
mb.exec();
}
var mscorePlugin = {
majorVersion: 1,
minorVersion: 1,
menu: 'Plugins.piyPad',
init: init,
run: run
};
mscorePlugin;

Issue Tracker

API compatibility
1.x
Plugin categories
Export
Convertor