Forum Replies Created

  • Luke Bolus

    November 22, 2023 at 9:28 am in reply to: “Continuous Keyframe” hotkey?

    Here’s a scriptlet that I found that Zack Lovatt made that changes the key to continuos
    I used Kbar to execute it.

    /**
     * Enables temporal continuous status on selected keyframes
     *
     * Modifiers:
     *  - Hold SHIFT to DISABLE temporal continuous
     *
     * @author Zack Lovatt <zack@lova.tt>
     * @version 0.2.2
     */
    (function toggleTemporalContinuous() {
      var enable = !ScriptUI.environment.keyboardState.shiftKey;
    
      var comp = app.project.activeItem;
    
      if (!(comp && comp instanceof CompItem)) {
        alert("Please select a composition!");
        return;
      }
    
      var layers = comp.selectedLayers;
    
      app.beginUndoGroup('Toggle Temporal Continuous');
    
      for (var ii = 0, il = layers.length; ii < il; ii++) {
        var layer = layers[ii];
        var props = layer.selectedProperties;
    
        for (var jj = 0, jl = props.length; jj < jl; jj++) {
          var prop = props[jj];
    
          if (prop instanceof PropertyGroup) {
            continue;
          }
    
          var keys = prop.selectedKeys;
    
          for (var kk = 0, kl = keys.length; kk < kl; kk++) {
            var selectedKeyIndex = keys[kk];
            prop.setTemporalContinuousAtKey(selectedKeyIndex, enable);
          }
        }
      }
    
      app.endUndoGroup();
    })();
  • Filip, you got all the answers!
    Second time in 2 weeks that you’ve solved my problem 🙂

  • Ditto, this just helped me with a comping job. Thanks

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy