Copy link to clipboard
Copied
How can Photoshop CS6 find Java Script ?
Copy link to clipboard
Copied
In older versions of Photoshop the path is depend on your on language (e.g. german):
…\Adobe Photoshop CS2\Vorgaben\Skripten
…\Adobe Photoshop CS3\Vorgaben\Skripten
In newer versions the path is e.g.
…\Adobe Photoshop CS5.1\Presets\Scripts
C:\Program Files\Adobe\Adobe Photoshop CC 2015\Presets\Scripts
Have fun
Copy link to clipboard
Copied
I didn't know that from CS5.1 the path is not anymore localized, thanks for the info!
Davide Barranca
---
Copy link to clipboard
Copied
I use the editing software "brackets". It also has an Extension Builder, that nicely sets up several files, that are needed to write scripts Photoshop.
I use it for Photoshop CC, writing HTML 5/javascript panels. I am not sure if it also works with CS6. The editor "Brackets" is really good.
Copy link to clipboard
Copied
What do you mean find JS? Where can PS find the JS? You mean the testing brush tool (hm.. it`s CSS, so probable no).. But what?
Copy link to clipboard
Copied
This runs in any version and gets the correct scripts folder:
Folder(decodeURI(Folder.appPackage) + "/Presets/Scripts")
Copy link to clipboard
Copied
Every version of Photoshop has the own Scripts folder and copies of all Adobe Scripts. With all the incompatibilities between photoshop versions its a real pain in the a** to and waste of disk space, to have to copy the scripts one add to Photoshop into every Photoshop version's install tree. So I do not. Instead, I have created my own Photoshop Scripts tree. I install Scripts I add to Photoshop into my Photoshop Scripts Tree and I link all installed Photoshop version's presets\scripts to my tree. All version of Photoshop version uses the same copy of the scripts I add to Photoshop. The are a few scripts that have code to specifically code around bugs in some Photoshop version's scripting bugs. There is one exception. The Image Processor Pro plug-in script I install into each version of photoshop install tree. For it has code to find its path which it assumes is in Photoshop version presets\scripts and uses that path to relatively address other files.
Photoshop menu File>Scripts>Script Name is also a pain to use when you have a large number of scripts and plug-in scripts installed. Adobe only scrolls the list of script name one line at a time. Accessing scripts can be painful. I create shortcuts or actions to access frequently used scripts. I will also use Windows File Explorer to browse my Script tree and drag and drop a script on Photoshop's window to run a script.
Additionally, I have installed a Photoshop extension JSX Launcher to be able to launch script I'm working one or testing easily in Photoshop.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now