No internet connection
  1. Home
  2. Packages
  3. Kitch's Command Template Collection

Event: Quantize - Error when attempting to quantize with a different Note Value than previously used

System Information

  • SoundFlow 5.10.4
  • ProductName: mcOS
  • ProductVersion: 15.2
  • Pro Tools 2024.10.2

Steps to Reproduce

  • Duplicate Default Preset of the "Event: Quantize" command
  • Change "Enable 'Note Value & Type" prop to "Enable"
  • Attempt to run this preset with the Quantize Grid value in the Event Operations window being different than the Note Value on the preset, so that the script is forced to change it.

Expected Result
The Quantize Value in the Event Operations window should change and quantize should be applied.

Actual Result
The Quantize Value changes but an error happens immediately after.

TypeError: Cannot read property 'elementClick' of undefined
(Event: Quantize line 206)

The line with the error is trying to elementClick on the Apply button.

Workaround
N/A

Other Notes

  • Logging in behalf of a peer that loves this package!
  • Seems to be an async issue requiring a waitFor when selecting a new Quantize Grid value before attempting to elementClick on the Apply button.
  • Other errors stemming from the same issue happen, such as having "Enable Tuple" set to "Ignore" will throw a different error regarding that checkbox immediately after trying to set the new Quantize Grid value.
  • 3 replies
  1. Kitch Membery @Kitch2025-05-07 01:00:17.876Z

    Thanks @raphaelsepulveda!

    I'll take a look at this this week. Hopefully I can sort it.

    And I agree... "Seems to be an async issue requiring a waitFor".

    1. S
      SoundFlow Bot @soundflowbot
        2025-05-07 01:00:30.793Z

        This issue is now tracked internally by SoundFlow as SF-1759