Skip to main content
Participating Frequently
April 9, 2019
Question

How to add custom menu in photoshop

  • April 9, 2019
  • 2 replies
  • 1142 views

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

This topic has been closed for replies.

2 replies

dbDavideBoscolo
Legend
February 25, 2021

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

Geppetto Luis
Legend
April 9, 2019

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>

*/

Participating Frequently
April 9, 2019

Thanks for reply,

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

Geppetto Luis
Legend
April 9, 2019

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>