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

Do not show my script menu in File > Scripts in photoshop

New Here ,
Jan 22, 2016 Jan 22, 2016

I have lot of files under Photoshop/Presets/Scripts/myplugin.


Here myplugin has a main.jsx file and other helping files. I do not want to list down all the files on 'File > Scripts > ....', instead I just want to show only File > Scripts > myplugin

How can I do that? Is there any way using <javascriptresource> tag?

TOPICS
Actions and scripting
790
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
Contributor ,
Jan 22, 2016 Jan 22, 2016

You can give the helping scripts the extension jsxinc, or you can put a "~" as suffix for the scripts you don't want to be shown. Also you can create a category with the <javascriptresource> tag so all your scripts that are shown in the File>Scripts menu will be delimited from other scripts:

/*

<javascriptresource>

  <name>name the menu</name>

  <category>MyCategory</category>

</javascriptresource>

*/

Also if you like you can take a look at this script I've done, maybe it will suit you to access the scripts you have done faster with shortcuts:

buliarca's scripts BCM_ExtendShortcuts UI

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
Engaged ,
Jan 22, 2016 Jan 22, 2016
LATEST

You can also add the scripts that you don't want to show in the menu into another folder called Photoshop/Presets/Scripts/myplugin/my plugin Scripts Only.  JSX files inside folders that end in "Scripts Only" will not list the Photoshop scripts menu.  The folder can be named anything in front of the Scripts Only part.  I have been using this method for years with no issues.

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