How to add custom menu in photoshop

Community Beginner ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

Hi Everyone,

I'm trying to add my custom menu in Photoshop under window  menu.

From below line  i can add menu in InDesign but not in Photoshop.

<Menu Placement="'Main:&Window',600.0,'KBSCE Window menu'">Menu Name/Menu>

Please help me.

Thanks,

Yogita

TOPICS
Actions and scripting

Views

447

Likes

translate

Translate

Translate

Report

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 ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

I don't know if you can enter a menu under the window menu

but you can put it in the filter or automate menu

this script allows you to put in the filter menu

/*

<javascriptresource>

<name>Convert background to layer</name>

<menu>filter</menu>

<about>JavaScript Convert background to layer with</about>

<category>Layer</category>

<enableinfo>true</enableinfo>

</javascriptresource>

*/

Likes

translate

Translate

Translate

Report

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 ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

Thanks for reply,

I forget to mention i am creating menu in manifest.xml file. Because i am creating CEP extension for Photoshop.

Likes

translate

Translate

Translate

Report

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 ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

File manifest.xlm

Instead of

Name your extension

Enter the name of your extension

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<ExtensionManifest ExtensionBundleId="Name your extension" ExtensionBundleName="Name your extension" ExtensionBundleVersion="0.3.0" Version="4.0">

  <ExtensionList>

    <Extension Id="Name your extension" Version="0.3.0"/>

  </ExtensionList>

  <ExecutionEnvironment>

    <HostList>

         <Host Name="PHXS" Version="[14.0,19.9]" />

        <Host Name="PHSP" Version="[14.0,19.9]" />

    </HostList>

    <LocaleList>

      <Locale Code="All"/>

    </LocaleList>

    <RequiredRuntimeList>

      <RequiredRuntime Name="CSXS" Version="4.0"/>

    </RequiredRuntimeList>

  </ExecutionEnvironment>

  <DispatchInfoList>

    <Extension Id="Name your extension">

      <DispatchInfo>

        <Resources>

          <MainPath>./index.html</MainPath>

        </Resources>

        <UI>

          <Type>Panel</Type>

          <Menu>Name your extension</Menu>

          <Geometry>

<Size>

   <Height>540</Height>

<Width>280</Width>

</Size>

                    <MinSize>

                   <Height>540</Height>

<Width>280</Width>

                        </MinSize>

                        <MaxSize>

                       <Height>540</Height>

<Width>280</Width>

                        </MaxSize>

</Geometry>

         

      

        </UI>

      </DispatchInfo>

    </Extension>

  </DispatchInfoList>

</ExtensionManifest>

Likes

translate

Translate

Translate

Report

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
Contributor ,
Feb 25, 2021 Feb 25, 2021

Copy link to clipboard

Copied

Hi mate, is there any documentation on how to use the Placement attribute?

Likes

translate

Translate

Translate

Report

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