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

I don't know where to begin with CEP development.

New Here ,
Jan 06, 2025 Jan 06, 2025

    I've searched for information for a long time, but I really don't know how to solve the problem.

    I followed the project Getting-Started-guides and completed steps 1 to 5, but then I don't understand how to do step 6 at all, 'Window > Extensions > My First Panel.' I don't understand how it suddenly jumps to this step. I have no idea where the project files from steps 1-5 should be placed or how to use them.
    I have two entries in my registry, CSXS.11 and CSXS.12. I don't know why there are two. I don't know if this is because I installed Photoshop and Illustrator, so two appear. I also don't know which one I should choose, and I don't know which version of CSInterface.js I should use in the client folder.
   I don't understand why a hidden .debug file is needed, and that the operation requires specific software such as Sublime Text to create it. In fact, the ones I create with Sublime and VS Code are not hidden. I also tried using 'copy con .debug' and 'Ctrl+Z', but the command line seems to freeze or not freeze, I don't understand. Although I created .debug, I have no idea if the created .debug is correct.
  I filled in the .debug file created using the above method according to the Getting-Started-guides and modified the ID, but it didn't work. I still can't access anything with 'http://localhost:8088/'. So many questions and unknowns make it impossible for me to troubleshoot where the problem is.
 
TOPICS
ExtendScript , ExtendScript Debugger
406
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

correct answers 1 Correct answer

Adobe Employee , Jan 06, 2025 Jan 06, 2025

Hopefully you're talking about this particular CEP Getting Started Guide?

 

    I followed the project Getting-Started-guides and completed steps 1 to 5, but then I don't understand how to do step 6 at all, 'Window > Extensions > My First Panel.' I don't understand how it suddenly jumps to this step. I have no idea where the project files from steps 1-5 should be placed or how to use them.
 
In Step 1, Steve writes "You will need to decide where to save your extension code first. Your extens
...
Translate
Adobe Employee ,
Jan 06, 2025 Jan 06, 2025

Hopefully you're talking about this particular CEP Getting Started Guide?

 

    I followed the project Getting-Started-guides and completed steps 1 to 5, but then I don't understand how to do step 6 at all, 'Window > Extensions > My First Panel.' I don't understand how it suddenly jumps to this step. I have no idea where the project files from steps 1-5 should be placed or how to use them.
 
In Step 1, Steve writes "You will need to decide where to save your extension code first. Your extension can be saved either at the root level or at the user level, depending on who’s allowed to use the extension (refer to CEP 8 HTML Extension Cookbook for the actual paths)."
 
Admittedly, this could be more clear, and CEP 8 has since been updated to CEP 12, here's the CEP 12 link: https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_12.x/Documentation/CEP%2012%20HTML%20Exte... 
 
So in steps 1-5 Steve is telling you how to create the files pictured in the image in Step 1.
 
    I have two entries in my registry, CSXS.11 and CSXS.12. I don't know why there are two. I don't know if this is because I installed Photoshop and Illustrator, so two appear. I also don't know which one I should choose, and I don't know which version of CSInterface.js I should use in the client folder.
 
 
CSXS just means CEP. At this time not every desktop app has CEP 12 yet, so you need to look at this chart and decide which verions of apps you're targeting: https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_12.x/Documentation/CEP%2012%20HTML%20Exte... 
 
   I don't understand why a hidden .debug file is needed...
 
You need the debug file for 'http://localhost:8088/' to work.
 
and that the operation requires specific software such as Sublime Text to create it. In fact, the ones I create with Sublime and VS Code are not hidden. I also tried using 'copy con .debug' and 'Ctrl+Z', but the command line seems to freeze or not freeze, I don't understand.
 
You likely don't need a special text app or even VS Code to create it... I'm not confident it needs to be invisible. I don't know why your command line is freezing. 
 
  I filled in the .debug file created using the above method according to the Getting-Started-guides and modified the ID, but it didn't work. I still can't access anything with 'http://localhost:8088/'. So many questions and unknowns make it impossible for me to troubleshoot where the problem is.
 
 
Although I created .debug, I have no idea if the created .debug is correct. 
 
If you see your panel in localhost the debug is working. Also, you can share the contents of the file here.
 
The bigger underlying question is "Why are you creating a Photoshop CEP plugin in 2024?" Photoshop is slowly dropping support for CEP, it doesn't work on M1 (and up) Macs. Presumably, you want to make something that will work with both Photoshop and Illustrator.
 
Photoshop has moved on to UXP, but there is currently no timeline for Illustrator to release UXP, so admittedly, you are in a difficult spot.
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
New Here ,
Jan 06, 2025 Jan 06, 2025

我通过其他地方的博客发现,项目文件需要放在目录“C:\Program Files\Common Files\Adobe\CEP\extensions”下才能工作。

然而,“入门指南”似乎忽略了这一点,只提到“窗口 > 扩展 > 我的第一个面板”。

我完成了第二部分,它仍然没有提到需要将项目文件放在“C:\Program Files\Common Files\Adobe\CEP\extensions”中,也没有提到需要打开 Photoshop 才能正确访问“ http://localhost:8088/ ”。

我可能错过了一些基本文档,我不确定。CEP
已经停产多年了,但 UXP 仍然不支持 Illustrator。做人真的很难;我只想做一只猫,整天睡觉。

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 Employee ,
Jan 29, 2025 Jan 29, 2025
LATEST

You might consider starting with the BOLT CEP framework. It takes the voodoo out of setting up a project and lets you get straight to coding. 

https://github.com/hyperbrew/bolt-cep

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