Example ====== Select particular Timeline ====== ^ by: | Diego LopehandĂ­a, Mar 2022 | ^ published: | here | ^ description: | selects a particular timeline\\ e.g. in conjunction with [[macros:example:opentimelinewindow|]] | {{tag>select context timeline}} ==== functions ==== * [[:macros:function:Editor.Timelines.SetContextTimeline]] ===== Code ===== Timeline Set Context UN=1 Editor.Timelines.SetContextTimeline(handle:"timelineHandleUN=1") Timeline Set Context Location 1 Editor.Timelines.SetContextTimeline("Location=Playbacks,1") Timeline Set Context Location 1 p. 1 Editor.Timelines.SetContextTimeline("Location=Playbacks,1,1") ===== Explanation ===== This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] Most likely selecting by user number is the more common way as you can easily implement your own system of user numbers. However this example shows the use of [[macros:identifier:location|]] refering to the current as well as a particular other page. Edit the macros to suit your needs regarding userNumber and location. ===== How to use it ===== - [[:macros:deploying|make this macro available]] - fire the macros to select a specific timeline ~~DISCUSSION~~