Skip to content

Renumber select cues.applescript

antoniondc edited this page Oct 29, 2025 · 1 revision

description: Create sequencia de números ou letras author: Antonio Nunes version: source: testedqlab: "4.7" testedmacos: 10.15.7 separateprocess: "true"

Deprecado para versões QLab > 5.0

Change Log

Version Date Author Description
1.1
1.0 yyyy-mm-dd YourName Initial version

Overview

Cria uma sequencia de números ou letras dentro do "cue number" or "Cue name".

Shortcut

Sugested

  • Option + R -> (⌥R) Native
  • Command + R -> (⌘R)

Usage

How to Run

  1. Script Library:
    Add this script at ~/Library/Script Libraries/QLab/Tools and call it from QLab as:

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

-- Example configuration for Renumber select cues
set DEFAULT_INCREMENT to 1
set PREFIX_POPUP to true
set SUFFIX_POPUP to false
set APPLY_TO to "q number"
set INCREMENT_POPUP to false
set USE_GROUP_SUFFIX to true



set utils to getScriptFromLibrary("Applescript Utilities.scpt")
utils's initGlobals()
run getScriptFromLibrary("Tools:Cues in Sequence.scpt")

on getScriptFromLibrary(relativeSubPath)
	return load script file ((path to library folder from user domain as text) & "Script Libraries:Qlab:" & relativeSubPath)
end getScriptFromLibrary

Parameters / User Variables

Variable Type Default Description
DEFAULT_START_NUMBER number 1 Valor default para incrementos
PREFIX_POPUP bolean false popup para add um prefix na sequencia
SUFFIX_POPUP bolean false popup para add um suffix na sequencia
APPLY_TO String q number "q number" or "q name" onde a sequencia será aplicada
INCREMENT_POPUP bolean false valor de incremento da sequencia, 1 = 1,2,3...
2 = 1,3,5...
USE_GROUP_SUFFIX bolean true habilitar imcremento de grupos: 1.1, 1.2, 1.3....

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).

  • Groups cues não estão sendo renumerados corretamente


Credits

If adapted, credit the source/original author here.

se tiver um grupo o esperado é: AMB001 AMB001.1 AMB001.2 AMB001.3 Uma funcionalidade seria boa ter é habilitar a numeração do grupo ou nao. True or false.

Atalho padrao do Qlab de renumerar os cues: CMD + R atalho sugerido para renomeacao avançada control+R or shift + R obs: CMD + D ---> Remove todos os "numbers"

Menu

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

Clone this wiki locally