Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CEP Extension: Modifier Keys Not Detected in After Effects latest versions!

Community Beginner ,
Dec 03, 2025 Dec 03, 2025
I have a CEP extension panel where Alt+Click and Shift+Alt+Click detect correctly in AE 2023,2024 but not in AE2025.


```javascript
// Global key tracking
var isAltPressed = false;

document.addEventListener('keydown', function(e) {
  if (e.key === 'Alt' || e.keyCode === 18) {
    isAltPressed = true;
  }
});

// Button event
document.getElementById('applyBtn').addEventListener('click', function(e) {
  const useCustomValues = isAltPressed; // Always false in AE 2025
  // ... rest of code
});
```

I've Tried:
:white_heavy_check_mark: Tracking Alt key state globally with keydown/keyup  
:white_heavy_check_mark: Using `e.altKey`, `e.shiftKey` in click events  
:white_heavy_check_mark: Tried Shift+Alt combination instead of just Alt  
:white_heavy_check_mark: Updated manifest.xml CEP version from 10.0 to 11.0  
:white_heavy_check_mark: Added visual debug indicator (doesn't show in AE 2025)  

Result:
AE 2023: Works perfectly :white_heavy_check_mark:
AE 2025: Keys never detected :cross_mark:

manifest.xml
```xml
<RequiredRuntime Name="CSXS" Version="11.0"/>
```
Is there a known issue with keyboard event capture in AE 2025 CEP panels? Has Adobe changed how modifier keys are intercepted?

Any workarounds or solutions would be greatly appreciated!


TOPICS
Error or problem , Scripting , User interface or workspaces
38
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation