manuscript language

Download ManuScript Language

Post on 29-Nov-2015

3 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

ManuScript Language

TRANSCRIPT

  • Using the ManuScript language

  • 2Edition 6.1August 2009

    Written by Jonathan Finn, James Larcombe, Yasir Assam, Simon Whiteside, Mike Copperwhite, Paul Walmsley, Graham Westlakeand Michael Eastwood, with contributions from Andrew Davis and Daniel Spreadbury.

    Copyright Avid Technology, Inc. 19972009.

  • 3ContentsIntroduction................................................................................................................................................................................................ 5

    Tutorial 7Edit Plug-ins................................................................................................................................................................................................ 8Loops .........................................................................................................................................................................................................12Objects ....................................................................................................................................................................................................... 14Representation of a score ......................................................................................................................................................................... 16The for each loop................................................................................................................................................................................... 18Indirection, sparse arrays and user properties....................................................................................................................................... 20Dialog editor.............................................................................................................................................................................................. 24Debugging your plug-ins.......................................................................................................................................................................... 26Storing and retrieving preferences ..........................................................................................................................................................27

    Reference 33Syntax ........................................................................................................................................................................................................ 34Expressions ............................................................................................................................................................................................... 36Operators...................................................................................................................................................................................................38

    Object Reference 39Hierarchy of objects.................................................................................................................................................................................. 40All objects ..................................................................................................................................................................................................41Bar.............................................................................................................................................................................................................. 43Barline ....................................................................................................................................................................................................... 49Barlines...................................................................................................................................................................................................... 50BarObject...................................................................................................................................................................................................51BarRest ...................................................................................................................................................................................................... 54Bracket....................................................................................................................................................................................................... 55BracketsAndBraces................................................................................................................................................................................... 56Clef ............................................................................................................................................................................................................. 57Comment...................................................................................................................................................................................................58ComponentList ......................................................................................................................................................................................... 59Component................................................................................................................................................................................................ 60DateTime...................................................................................................................................................................................................61Dictionary..................................................................................................................................................................................................62DocumentSetup ........................................................................................................................................................................................ 63DynamicPartCollection ............................................................................................................................................................................ 65DynamicPart .............................................................................................................................................................................................66EngravingRules ......................................................................................................................................................................................... 67File.............................................................................................................................................................................................................. 69Folder.........................................................................................................................................................................................................70GuitarFrame.............................................................................................................................................................................................. 71GuitarScaleDiagram ................................................................................................................................................................................. 74HitPointList............................................................................................................................................................................................... 75HitPoint ..................................................................................................................................................................................................... 76InstrumentChange....................................................................................................................................................................................77InstrumentTypeList.................................................................................................................................................................................. 78

  • 4InstrumentType........................................................................................................................................................................................ 79KeySignature .............................................................................................................................................................................................81Line ............................................................................................................................................................................................................ 82LyricItem ...................................................................................................................................................................................................83NoteRest ....................................................................................................................................................................................................84Note............................................................................................................................................................................................................ 87PageNumberChange........................................................................................................................................