Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Scripting #404

Open
maxjoehnk opened this issue Nov 12, 2023 · 0 comments
Open

Application Scripting #404

maxjoehnk opened this issue Nov 12, 2023 · 0 comments
Labels
enhancement New feature or request p3-low
Milestone

Comments

@maxjoehnk
Copy link
Owner

Support python to script repeated workflows.

Example could be creating a sequence with all color presets for a given group which could look like this:

def main():
  group = mizer.ui.select_group()
  sequence = mizer.sequencer.new_sequence(f'Colors - {group.name}')
  for color in mizer.presets.colors():
    cue = sequence.new_cue(color.name)
    cue.add_selection(group, color)

The API surface exposed should be idiomatic python.
It should be able to control the ui from the script.

@maxjoehnk maxjoehnk added enhancement New feature or request p3-low labels Nov 12, 2023
@maxjoehnk maxjoehnk added this to the Scripting milestone Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p3-low
Projects
None yet
Development

No branches or pull requests

1 participant