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
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>
*/
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.
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>
Copy link to clipboard
Copied
Hi mate, is there any documentation on how to use the Placement attribute?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now