import QtQuick 2.0 import MuseScore 1.0 MuseScore { menuPath: "Plugins.noteCrash" onRun: { var note = newElement(Element.NOTE); note.pitch = 60; Qt.quit() } }