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

Direct Communication between CEP Panel UI and C++ Native Filter Plugin

Community Beginner ,
Oct 29, 2025 Oct 29, 2025

Hello everyone,

I am developing an Adobe extension where a CEP Panel acts as the UI for a C++ Native Filter/Plugin (e.g., in Photoshop or After Effects). I am currently seeking the best practice for direct communication between these two components.

The Goal: I need the CEP panel to send a specific command/data to the C++ filter when a user action occurs.

Example Scenario:

In the CEP Panel UI, the user selects an option, e.g., "Plan A".

The user clicks a "START" button on the CEP Panel.

Upon clicking "START", the CEP extension should notify the C++ filter to:

Receive the parameter "Plan A".

Initiate a data download from a local server (e.g., 127.0.0.1:8000) using the received parameter.

Current Approach (The Issue): Currently, I am only able to achieve communication by using a temporary intermediary file (e.g., the CEP panel writes the command to a JSON file, and the C++ plugin polls/reads this file). This method is inefficient and inelegant.

The Question: What is the recommended and most performant way to establish direct, real-time communication between a CEP Panel and a C++ Native Filter/Plugin?

Specifically, should I be focusing on:

a) ExternalObject (C++): Exposing C++ functions to the CEP JavaScript environment.

b) CEP Node.js Modules: Using a C++-based Node module to handle the native communication.

c) Other Adobe-specific API calls?

Any advice, code snippets, or pointers to relevant Adobe documentation would be greatly appreciated.

Thank you for your time and expertise!

TOPICS
SDK
43
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
Adobe
Advisor ,
Oct 30, 2025 Oct 30, 2025
LATEST

CEP is dead. You should switch to UXP instead.

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