![Scripting Photoshop](assets/Scripting Photoshop Logo.png) # Adobe Photoshop Scripts Testing Adobe Photoshop support of JavaScript. ## convertPathtoShape After editing a shape, it becomes a path, so it loses its proprieties; how to turn it back into a shape? This script (allegedly) does just that: it gathers the path and opens a new layer with the reconstructed shape. Let's hope it works. (See ["In Photoshop, is there a script or method to directly convert path to shape layer?"](https://community.adobe.com/t5/photoshop-ecosystem-discussions/in-photoshop-is-there-a-script-or-method-to-directly-convert-path-to-shape-layer/m-p/11740860#M502466))