This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getSettings() | |
{ | |
var settings = new Object(); | |
settings.name = "Youtube Resolver"; | |
settings.weight = 50; | |
settings.timeout = 5; | |
settings.maxResults = 5; | |
return settings; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--------------------------------------------------------- | |
// init | |
// this function will be called on startup of mscore | |
//--------------------------------------------------------- | |
function init() | |
{ | |
} | |
//------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Apply the given function to all notes in selection | |
function applyToNotesInSelection(func) | |
{ | |
var cursor = new Cursor(curScore); | |
var selectionEnd = new Cursor(curScore); | |
cursor.goToSelectionStart(); | |
selectionEnd.goToSelectionEnd(); | |
var startStaff = cursor.staff; | |
var endStaff = selectionEnd.staff; |
NewerOlder