Skip to main content
Inspiring
November 5, 2021
Answered

CEP to UXP

  • November 5, 2021
  • 2 replies
  • 1672 views

Hi,

I guess one day, when CEP is not longer supported, I will need to migrate all my CEP panle for photoshop to UXP.
Is there an easy way to migrate my extendedscript .jsx files to UXP? I guess this would be to .js?

Do all the element/methonds which exist in extendedscript exits for UXP?

I have ~2000 lines of code for each of my 6 panels and the though of rewriting everything from sratch terrifies me...

 

This topic has been closed for replies.
Correct answer erinferinferinf

Hi @danl42831687 !

 

My team is currently looking into funding some tools to help developers exactly like you migrate. What would an easy path to migration look like? Would you want VSCode plugin you could drop your CEP into and run an analysis with suggestions? Would you like a command line tool that would somehow help? A transpiler? The opposite of Babel.js? A very elegent tutorial?

 

Seriously let us know what easy would look like for you.

 

Also worth noting: Which host apps (i.e. InDesign?) do you develop for? Do you use ScriptUI? Do you have any C++ components? Do you use Vue or Node?

2 replies

Inspiring
July 30, 2022

Comming back to this post after 1 year, I can say the UXP is very much mature for any CEP migration.

Once going over some tutorials and attending this forum I found that the process of migratin is relativly simple.

What spקeds up the process is UXP flowless debugging capabilities.
I have 6 pluggins. I started with the simpliest one, which took some time but after that, the rest went relativly fast.
The process of developing a plugin with UXP is much faster using javascript, html & css. 

erinferinferinf
Adobe Employee
erinferinferinfCorrect answer
Adobe Employee
November 11, 2021

Hi @danl42831687 !

 

My team is currently looking into funding some tools to help developers exactly like you migrate. What would an easy path to migration look like? Would you want VSCode plugin you could drop your CEP into and run an analysis with suggestions? Would you like a command line tool that would somehow help? A transpiler? The opposite of Babel.js? A very elegent tutorial?

 

Seriously let us know what easy would look like for you.

 

Also worth noting: Which host apps (i.e. InDesign?) do you develop for? Do you use ScriptUI? Do you have any C++ components? Do you use Vue or Node?

Inspiring
November 11, 2021
Hi,
thanks for the heads up.
I developed several photoshop panels using VScode which heavily rely on
scriptUI and Javascript for photoshop.

You can see a short demo here:
https://www.youtube.com/watch?v=POdDkmEzT8Y&t=168s

I don't think these can be migrated by 'pressing a button' at least not for
the UI but I could do with something to migrate the actual javascipts.