Skip to content

Add Cue.applescript

antoniondc edited this page Oct 29, 2025 · 1 revision

description: Creates specific cue types in QLab and assigns targets intelligently. Can be called via global configuration. Appends target info if desired, creating cues directly in specified list by changing current cue list, avoiding move operations. author: Antonio Nunes version: "3.6" source: testedqlab: "4.7" testedmacos: 10.15.7 separateprocess: "true"

Overview

Cria qualquer tipo de cue (audio, video, fade, devamp)


Usage

How to Run

  1. Script Library:
    Add this script to ~/Library/Script Libraries/QLab and call it from QLab as:
set theScript to load script "/QLab/path/to/Script Name.scpt"
run theScript

Sempre use o path completo! paths repativos (~) não são aceitos dentro do qlab

  1. Script Cue:
    Paste the script contents into a Script Cue in your QLab project.

Parameters / User Variables

Variable Type Default Description
APPEND_TARGET_TO_NAME buleano false Renomeia o cue com o nome do target
USE_DIRECT_SELECTION_TARGET buleano false usa o target do cue selecionado, não o cue como target
TARGET_LIST_NAME string "" Define a lista onde o cue deve ser criado
AUTO_CUE_TYPE string "fade" Define o tipo de cue padrão ao executar o script.
  • Where and how to set these (via Memo Cues, global variable, etc). AUTO_CUE_TYPE group, audio, mic, video, camera, text, light, fade, network, midi, midi file, timecode, start, stop, pause, load, reset, devamp, goto, target, arm, disarm, wait, memo, script

Example

Show a short code example (or screenshot if relevant) demonstrating how to use the script, including any required variables.


What It Does

  • List out the steps the script takes or the operations performed.

  • Point out any QLab features used (e.g., "Modifies all selected cues", "Creates a fade cue with specified parameters", etc).

  • Mention any limitations or known issues.


Required QLab / macOS Version

  • QLab: 4.0+ (or specify version)

  • Requer Applescript Utilities library script


Related Scripts


Credits

If adapted, credit the source/original author here.

#todo

  • add funcionalidade de colorir o cue criado. usar todas as cores disponivel (videos no meu youtube salvo + scripts que estao na pasta analizar)
  • add lista e cue cart no script como possibilidade, ambos tem as mesmas propiedades "basic" que um cue tem. somente auto follow que não é permitido (auto continuos)
  • APPEND_TARGET_TO_NAME nao esta tão bom, pensar em uma forma de melhorar
  • SKIP_IF_LIST_EXISTS nao está funcionando como o esperado, se for false a lista não deveria ser criada, deve exibir uma nortificação avisando que a lista precisa ser criada. Seria isso mesmo? precisa dessa opição?
  • ADD_CUE_POPUP deveria mostrar um popup do tipo de cue criado.
  • [BUG] o setlevel não é aplicado quando há um TARGET_LIST_NAME configurado.
  • Seria interessante juntar os "Fade Curvas" dentro do template para criar um tipo de fade via variavel

description: Creates a fade cue in QLab using Add Cue logic, user prompts, and advanced fade options. Uses Level utility for dB/column/relative. author: Antonio Nunes version: "2.1" source: testedqlab: "4.7" testedmacos: 10.15.7 separateprocess: "true"

Overview

Garantir que os seguintes tipos: selected Group, Audio, Mic, Video or Fade Cue possam ser criados


Usage

How to Run

  1. Script Library:
    Add this script to ~/Library/Script Libraries/QLab and call it from QLab as:
set theScript to load script "/QLab/path/to/Script Name.scpt"
run theScript

Sempre use o path completo! paths repativos (~) não são aceitos dentro do qlab

  1. Script Cue:
    Paste the script contents into a Script Cue in your QLab project.

Parameters / User Variables

Variable Type Default Description
PROMPT_FADE_DURATION boleano false exibe uma caixa de dialogo para colocar configurar o FADE_DURATION
FADE_DURATION number 6 Duração em segundos
FADE_MODE string "absolute" "relative", "absolute"
FADE_STOP_TARGET boleano true
TARGET_LIST_NAME string Cue list onde o fade vai ser criado
USE_DIRECT_SELECTION_TARGET boleano false Target do cue selecionado ou do target que o atual cue esta apontado
APPEND_TARGET_TO_NAME boleano false Renomear a partir do target
LEVEL_PROMPT_DELTA boleano false exibe uma caixa de dialogo para colocar configurar o LEVEL_DB
LEVEL_DB number 0 volume do fade
LEVEL_RELATIVE boleano false Soma o valor atual ou set um valor fixo
LEVEL_MATRIX_LIST matriz {{0, 0}} Define a posição onde o level deve atuar, coluna e linha. Master
  • Where and how to set these (via Memo Cues, global variable, etc).

Example

Show a short code example (or screenshot if relevant) demonstrating how to use the script, including any required variables.


What It Does

  • Cria um fade cue utilizando os scripts: Add Cue.applescript e Set Level.applescript

  • Point out any QLab features used (e.g., "Modifies all selected cues", "Creates a fade cue with specified parameters", etc).

  • Mention any limitations or known issues.


Required QLab / macOS Version

  • QLab: 4.0+ (or specify version)

  • macOS: (list if relevant)


Related Scripts


Credits

If adapted, credit the source/original author here.

Menu

=================== < Back To Repo > ===================

Clone this wiki locally