Question
CEP Extension: Modifier Keys Not Detected in After Effects latest versions!
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:
✅ Tracking Alt key state globally with keydown/keyup
✅ Using `e.altKey`, `e.shiftKey` in click events
✅ Tried Shift+Alt combination instead of just Alt
✅ Updated manifest.xml CEP version from 10.0 to 11.0
✅ Added visual debug indicator (doesn't show in AE 2025)
Result:
AE 2023: Works perfectly ✅
AE 2025: Keys never detected ❌
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!
