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

How can Photoshop find Java Script?

New Here ,
Feb 03, 2016 Feb 03, 2016

How can Photoshop CS6 find Java Script ?

TOPICS
Actions and scripting
951
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
Community Expert ,
Feb 03, 2016 Feb 03, 2016

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

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
Advocate ,
Feb 09, 2016 Feb 09, 2016

I didn't know that from CS5.1 the path is not anymore localized, thanks for the info!

Davide Barranca

---

http://htmlpanelsbook.com

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
Community Beginner ,
Feb 03, 2016 Feb 03, 2016

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.

Creative Cloud Extension Builder for Brackets

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
Guest
Feb 08, 2016 Feb 08, 2016

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?

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
Enthusiast ,
Feb 09, 2016 Feb 09, 2016

This runs in any version and gets the correct scripts folder:

Folder(decodeURI(Folder.appPackage) + "/Presets/Scripts")

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
Community Expert ,
Feb 09, 2016 Feb 09, 2016
LATEST

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.

JJMack
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