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

How to add custom menu in photoshop

Explorer ,
Apr 09, 2019 Apr 09, 2019

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

*/

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

Thanks for reply,

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

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

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

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

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