Sibelius 6.2 脚本中的所有函数、方法和属性


[注:粗体是分类或对象、不带括号的是对象的属性]


全局函数
AddToPluginsMenu()
Asc()
CharAt()
Chr()
CreateArray()
CreateDictionary()
CreateHash()
CreateSparseArray()
ExitPlugin()
GetValidationError()
IsObject()
IsValid()
JoinStrings()
Length()
Round()
RoundDown()
RoundUp()
SplitString()
StopPlugin()
Substring()
trace()
Trace()
ValidationChecking()


Array
NumChildren
WriteToString()
ConvertToSparseArray()


Bar
BarNumber
BarObjectCount
BreakType
ExternalBarNumber
ExternalBarNumberString
InMultirest
Length
MusicRestartsOnPage
NthBarInSystem
NumBlankPages
NumBlankPagesBefore
OnHiddenStave
OnNthPage
OnNthPageExternal
OnNthSystem
ParentStaff
SectionEnd
Selected
SpecialPageBreakType
SplitMultirest
Time
Bar[n]
AddBarNumber()
AddChordSymbolFromPitches()
AddClef()
AddComment()
AddCommentWithName()
AddGraphic()
AddGraphicToBlankPage()
AddGuitarFrame()
AddInstrumentChange()
AddKeySignature()
AddKeySignatureFromText()
AddLine()
AddLiveTempoTapPoint()
AddLyric()
AddNote()
AddPageNumber()
AddRehearsalMark()
AddSpecialBarline()
AddSymbol()
AddText()
AddTextToBlankPage()
AddTimeSignature()
AddTimeSignatureReturnObject()
AddTuplet()
Clear()
ClearNotesAndModifiers()
Delete()
DeletePageNumber()
GetClefAt()
GetInstrumentTypeAt()
GetKeySignatureAt()
GetPageNumber()
InsertBarRest()
NthBarObject()
RemoveLiveTempoTapPoint()
ResetSpaceAroundBar()
Respace()


Barline
BottomStave
BottomStaveNum
TopStave
TopStaveNum


Barlines
NumChildren
AddBarline()
ClearAll()
DeleteNthBarline()


BarNumber


BarObject
CanBeInMultipleVoices
Color
ColorBlue
ColorGreen
ColorRed
CueSize
CurrentTempo
DrawOrder
Dx
Dy
HasCustomDrawOrder
Hidden
IsALine
OnNthBlankPage
ParentBar
Position
Selected
Time
Type
UsesMagneticLayout
UsesMagneticLayoutSettingOverridden
VoiceNumber
Voices
Delete()
Deselect()
FreezeMagneticLayoutPositions()
GetIsInVoice()
GetPlayedOnNthPass()
NextItem()
PreviousItem()
RemoveVoice()
ResetDesign()
ResetPosition()
Select()
SetAllVoices()
SetPlayedOnNthPass()
SetVoice()
ShowInAll()
ShowInParts()
ShowInScore()


BarRest
PauseType
RestType


Bracket
BottomStave
BottomStaveNum
BracketType
TopStave
TopStaveNum


BracketsAndBraces
NumChildren
AddBracket()
ClearAll()
DeleteNthBracket()


Clef
ClefStyle
ConcertClefStyle
ConcertClefStyleId
StyleId
TransposingClefStyle
TransposingClefStyleId


Comment
Maximized
Text
TextWithFormatting
TextWithFormattingAsString
TimeStamp
UserName


Component
Name


ComponentList
NumChildren


DateTime
DayOfMonth
Hours
LongDate
LongDateAndTime
Minutes
Month
NthDayOfWeek
NthDayOfYear
Seconds
ShortDate
ShortDateAndTime
TimeWithoutSeconds
TimeWithSeconds
Year


Dictionary
CallMethod()
GetMethodNames()
GetPropertyNames()
MethodExists()
PropertyExists()
SetMethod()


DocumentSetup
AboveTopStaveGap
AboveTopStaveGapAfterFirstPage
BelowBottomStaveGap
BelowBottomStaveGapAfterFirstPage
FirstPageHasUniqueVerticalStaveMargins
MarginType
Orientation
PageBottomMargin
PageHeight
PageLeftMargin
PageRightMargin
PageSize
PageTopMargin
PageWidth
RightPageLeftMargin
RightPageRightMargin
StaffLeftMarginFullNames
StaffLeftMarginNoNames
StaffLeftMarginShortNames
StaffSize
Units
UnitsInDocumentSetupDialog


DynamicPart
IsFullScore
IsSelectedInPartsWindow
ParentScore
StaveCount
AddStaffToPart()
DeleteStaffFromPart()
IncludesStaff()


DynamicPartCollection
NumChildren
CreateDefaultParts()
CreatePartFromStaff()
DeletePart()


EngravingRules
AdjustTranspositionIfKeySigWraps
BarlineWidth
BeamThickness
CautionaryNaturalsInKeySignatures
CueNoteScale
DashedBarlineWidth
DoubleBarlineSeparation
DoubleBarlineWidth
DoubleTremoloStyle
ExtraSpaceBetweenGroupsOfStaves
ExtraSpacesAboveForSystemObjectPositions
ExtraSpacesBelowVocalStaves
FinalBarlineSeparation
FinalBarlineWidth
GraceNoteScale
InstrumentNamesFirstSystem
InstrumentNamesNewSections
InstrumentNamesSubsequentSystems
JustifyGrandStaveInstruments
JustifyMultiStaveInstruments
LegerLineThickness
RespellRemoteKeysInTransposingScore
ShowNameOfPrevailingInstrumentChangeAtStartOfSystems
SlurMiddleThickness
SlurOutlineWidth
SmallStaffSizeScale
SpacesBetweenStaves
SpacesBetweenSystems
StaffJustificationPercentage
StaffLineWidth
StemThickness
TieMiddleThickness
TieOutlineWidth


File
CreationDate
CreationDateAndTime
ModificationDate
Name
NameNoPath
NameWithExt
Path
Type
Delete()
Rename()


Folder
FileCount
Name
Type
FileCount()


Graphic


GuitarFrame
BassAsString
ChordNameAsPlainText
ChromaticBass
ChromaticRoot
DiatonicBass
DiatonicRoot
Fingerings
FrameIsVisibleum
Horizontal
LowestVisibleFret
NumBarresInChord
NumberOfFrets
NumberOfStrings
NumPitchesInClosePosition
Recognized
RootAsString
ScaleFactor
ShowFingerings
Suffixes
SuffixText
TextIsVisible
TransposingBassAsString
TransposingChromaticBass
TransposingChromaticRoot
TransposingDiatonicBass
TransposingDiatonicRoot
TransposingRootAsString
VisibleComponents
GetChromaticPitchesOfChordInClosePosition()
GetEndStringForNthBarre()
GetPitchOfNthString()
GetPositionOfFingerForNthBarre()
GetPositionOfFingerOnNthString()
GetStartStringForNthBarre()
IsNthStringPartOfBarre()
NthStringHasClosedMarkingAtNut()
NthStringHasOpenMarkingAtNut()


GuitarScaleDiagram
Fingerings
Horizontal
LowestVisibleFret
NumberOfFrets
NumberOfStrings
Root
ScaleFactor
ScaleType
ShowFingerings
GetDotFingeringsOnNthString()
GetDotSymbolsOnNthString()
GetPitchesOfDotsOnNthString()
GetPitchOfNthString()


Hash
NumChildren
WriteToString()
ConvertToDictionary()


HighLight


HitPoint
Bar
Label
Position
Time


HitPointList
NumChildren
Clear()
CreateHitPoint()
Remove()
ShiftTimes()


InstrumentChange
StyleId
TextLabel


InstrumentType
Balance
Category
ChromaticTransposition
ChromaticTranspositionInScore
ComfortableRangeHigh
ComfortableRangeLow
ConcertClefStyleId
DefaultSoundId
DialogName
DiatonicTransposition
DiatonicTranspositionInScore
FullName
HasBracket
HasKeySignatureOrTuning
IsVocal
NumStaveLines
NumStrings
OtherClefStyleId
Pan
ProfessionalRangeHigh
ProfessionalRangeLow
ShortName
StyleId
TransposingClefStyleId
Clone()
PitchOfNthString()
InstrumentTypeList NumChildren

KeySignature
AsText
IsOneStaffOnly
Major
Sharps


Line
Duration
EndBarNumber
EndPosition
RhDx
RhDy
StyleAsText
StyleId


LyricItem
Duration
NumNotes
StyleAsText
StyleId
SyllableType
Text


Note
Accidental
AccidentalStyle
Bracketed
DiatonicPitch
Name
NoteStyle
NoteStyleName
OriginalDeltaSr
OriginalDuration
OriginalVelocity
ParentNoteRest
Pitch
Slide
StringNum
Tied
UseOriginalDeltaSrForPlayback
UseOriginalDurationForPlayback
UseOriginalVelocityForPlayback
WrittenAccidental
WrittenDiatonicPitch
WrittenName
WrittenPitch
Delete()
Transpose()


NoteRest
ArpeggioBottomDy
ArpeggioDx
ArpeggioHidden
ArpeggioTopDy
ArpeggioType
Articulations
Beam
DoubleTremolos
Duration
FallDx
FallType
FeatheredBeamType
GraceNote
HasStemlet
Highest
IsAcciaccatura
IsAppoggiatura
Lowest
NoteCount
ParentTupletIfAny
PositionInTuplet
RestPosition
ScoopDx
ScoopType
SingleTremolos
StemFlipped
StemletType
NoteRest[n]
AddAcciaccaturaBefore()
AddAppoggiaturaBefore()
AddNote()
Delete()
FlipStem()
GetArticulation()
RemoveNote()
SetArticulation()
Transpose()


PageNumberChange
HideOrShow
PageNumber
PageNumberAsString
PageNumberBlankPageOffset
PageNumberFormat
SetFormatChangeOnly()
SetHideOrShow()
SetPageNumber()
SetPageNumberFormat()


Plugin
File
Name
DataExists()
DialogExists()
MethodExists()


PluginList
NumChildren
Contains()


RehearsalMark
Mark
MarkAsText


Score
Arranger
Artist
Barlines
BracketsAndBraces
Composer
ComposerDates
Copyist
Copyright
CurrentDynamicPart
CurrentPlaybackPosBar
CurrentPlaybackPosSr
Dedication
DocumentSetup
DynamicParts
EnableScorchPrinting
EngravingRules
FileName
FocusOnStaves
HitPoints
InstrumentChanges
InstrumentTypes
IsDynamicPart
LiveMode
Lyricist
MagneticLayoutEnabled
MainMusicFontName
MainTextFontName
MusicTextFontName
NumberOfPrintCopies
OpusNumber
OriginalProgramVersion
OtherInformation
PageCount
PartName
PlayLiveTempo
Publisher
Redraw
ScoreDuration
ScoreEndTime
ScoreHeight
ScoreStartTime
ScoreWidth
Selection
ShowMultiRests
StaffCount
StaffHeight
Subtitle
SystemCount
SystemObjectPositions
SystemStaff
Title
TransposingScore
ViewLiveTempo
YearOfComposition
Score[n]
AddBars()
ApplyStyle()
ClefStyleId()
CreateInstrument()
CreateInstrumentAtBottom()
CreateInstrumentAtBottomReturnStave()
CreateInstrumentAtTop()
CreateInstrumentAtTopReturnStave()
CreateInstrumentReturnStave()
ExtractParts()
FreezeMagneticLayoutPositions()
GetLocationTime()
GetVersions()
InsertBars()
InternalPageNumToExternalPageNum()
LineStyleId()
NoteStyleIndex()
NthStaff()
OptimizeStaffSpacing()
RemoveAllHighlights()
RenameTextStyle()
Save()
SaveAs()
SaveAsAudio()
SaveAsSibelius2()
SaveAsSibelius3()
SaveAsSibelius4()
SaveAsSibelius5()
SaveCopyAs()
SetPlaybackPos()
SymbolExists()
SymbolIndex()
SystemCount()
TextStyleId()


Selection
BottomStaff
FirstBarNumber
FirstBarNumberString
FirstBarSr
IsPassage
IsSystemPassage
LastBarNumber
LastBarNumberString
LastBarSr
TopStaff
Clear()
ClipboardContainsData()
Copy()
Delete()
ExcludeStaff()
IncludeStaff()
Paste()
PasteToPosition()
RestoreSelection()
SelectPassage()
SelectSystemPassage()
StoreCurrentSelection()
Transpose()


Sibelius
ActiveScore
ApplicationLanguage
ApplicationLanguageIsoString
CurrentDate
CurrentDateLong
CurrentDateShort
CurrentTime
HouseStyles
LocalizedApplicationLanguage
ManuscriptPapers
OSVersionString
PathSeparator
Plugins
ProgramVersion
ScoreCount
ViewHighlights
ViewNoteColors
ViewNoteVelocities
AppendLineToFile()
AppendLineToRTFFile()
AppendTextFile()
CalculateDegree()
CalculateInterval()
Close()
CreateFolder()
CreateProgressDialog()
CreateRTFFile()
CreateTextFile()
DestroyProgressDialog()
EnableControlById()
EnableNthControl()
FileExists()
FolderExists()
GetDocumentsFolder()
GetElapsedCentiSeconds()
GetElapsedMilliSeconds()
GetElapsedSeconds()
GetFile()
GetFolder()
GetNotesForChord()
GetNotesForGuitarChord()
GetScoresFolder()
GetSyllabifier()
GetUserApplicationDataFolder()
GetPluginsFolder()
GoToEnd()
GoToStart()
IsDynamicPartOpen()
LiveTempoTap()
MakeSafeFileName()
MessageBox()
MoveActiveViewToBar()
MoveActiveViewToSelection()
New()
NthScore()
Open()
Play()
PlayFromSelection()
PlayFromStart()
Print()
PrintAllDynamicParts()
RandomNumber()
RandomSeed()
RandomSeedTime()
ReadTextFile()
RefreshDialog()
ResetStopWatch()
SelectFileToOpen()
SelectFileToSave()
SelectFolder()
SetCurrentScoreViewType()
ShowDialog()
ShowDynamicPart()
StartLiveTempoRecording()
Stop()
StopLiveTempoRecording()
UpdateProgressDialog()
YesNoMessageBox()


SparseArray
Length
ValidIndices
Concat()
Join()
Pop()
Push()
Reverse()
Slice()


SpecialBarline
BarlineInternalType
BarlineType


Staff
BankHigh
BankLow
BarCount
Channel
Distance
FullInstrumentName
FullInstrumentNameWithFormatting
InitialClefStyle
InitialClefStyleId
InitialInstrumentType
InitialKeySignature
InitialStyleId
InstrumentName
IsSystemStaff
IsVocalStaff
MuteMode
NumStavesInSameInstrument
Pan
ParentScore
ShortInstrumentName
ShortInstrumentNameWithFormatting
ShowInFocusOnStaves
Small
Solo
SoundIdOverrideIfAny
StaffNum
Volume
Staff[n]
AddClef()
AddLine()
AddNote()
AddStaffAbove()
AddStaffBelow()
AddSymbol()
CurrentKeySignature()
NthBar()
ResetSpaceAroundStaff()
SetSound()
SetSoundId()


Syllabifier
AbbreviateUsingApostrophe
AvailableLanguageIds
AvailableLanguages
NumberOfSyllables
SyllabifiedString
AbbreviateUsingApostrophe()
GetNthSyllable()
NthSyllableEndsWord()
Syllabify()


SymbolItem
Index
Name
Size


SystemObjectPositions
NumStavesShowingSystemObjects
ShowSystemObjectsBelowBottomStaff
Clear()
GetNthStaffShowsSystemObjects()
SetNthStaffShowsSystemObjects()


SystemStaff
BarCount
InitialKeySignature
IsSystemStaff
SystemStaff[n]
CurrentKeySignature()
CurrentTimeSignature()
NthBar()


SystemSymbolItem
Index
Name
Size


SystemTextItem
StyleAsText
StyleId
Text
TextWithFormatting
TextWithFormattingAsString


Text
StyleAsText
StyleId
Text
TextWithFormatting
TextWithFormattingAsString


TimeSignature
AllowCautionary
Denominator
Numerator
Text


Tuplet
Bracket
FullDuration
Left
ParentTupletIfAny
PlayedDuration
PositionInTuplet
Right
Style
Text
Unit


Version
EndDate
IsOpen
Name
NumComments
StartDate
AddComment()
Close()
DeleteNthComment()
GetNthComment()
OpenAndReturnScore()


VersionComment
Text
TimeStamp
UserName


VersionHistory
NumChildren
AddVersion()
DeleteNthVersion()
GetNthVersion()


utils 库函数
AddNestedTuplet()
AddNote()
AbsoluteValue()
AddFractions()
BinaryString()
bwAND()
bwOR()
bwXOR()
CapableOfDeletion()
CaseInsensitiveComparison()
CastToBool()
CastToInt()
CastToStr()
CombineArraysOfBool()
CombineArraysOfInt()
CombineArraysOfString()
CopyTextFile()
CreateArrayBlanket()
DeleteStaff()
DenaryValue()
DivideFractions()
ExactFileName()
Fmt()
Format()
FormatTime()
FractionAsDecimal()
FractionDenominator()
FractionNumerator()
GetAppDir()
GetArrayIndex()
GetBits()
GetGlobalApplicationDataDir()
GetLocationTime()
GetMillisecondsFromTime()
GetMinutesFromTime()
GetObjectTime()
GetPluginId()
GetSecondsFromTime()
GetSibeliusPluginsFolder()
GetSibMajorVersion()
GreatestCommonDivisor()
Increment()
IsInArray()
IsMac()
IsNumeric()
IsQuote()
LowerCase()
MakeFraction()
MakeNDigitNumber()
max()
min()
MultiplyFractions()
PatternCount()
Pos()
PosReverse()
Power()
Replace()
ReverseArrayOfBool()
ReverseArrayOfInt()
ReverseArrayOfStr()
RoundToNDecimalPlaces()
SetDefaultIfNotInArray()
shl()
shr()
SortArray()
SortArrayCustom()
SortArrayNumeric()
SplitTuplet()
StringLess()
SubtractFractions()
UpperCase()


以上函数、方法、属性本来是作为书中附录速查表的,为节约版面,就取消了页码放在这里了。

posted on 2010-10-28 21:03  宋老师  阅读(630)  评论(0编辑  收藏  举报

导航