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

Can't Run / Debug CEP Panel in Photoshop CC 2018

Community Beginner ,
Nov 05, 2018 Nov 05, 2018

Copy link to clipboard

Copied

I'm really at a loss. I've been researching all day... Got the SDK setup and working, wrote my first filter. Had a ton of trouble figuring out how on earth the UI hooks were working in the C++ SDK. Then when I realized I needed to use CEP to create my UI modal, I started down that rabbit hole.

What I've done:

- I tried the Eclipse path, but it was so out-of-date, I just started trying to write my own extension by copying one of the samples.

- Then I learned about the brackets extension, and I installed brackets and the Extension Builder plugin

- Created an extension project for Photoshop with my desired bundle id

- Turned on debugging

- triple-checked the registry, looks good

- restarted computer 3 times

- Tried opening photoshop, my extension is not in Window/Extensions

- Since debugging wasn't working, tried signing and installing the extension.

     - signed successfully

     - installed successfully

     - still doesn't appear in window/extensions

Details:
Windows 10 (I've noticed most of the guides are for Mac... I wonder if Windows is less tested?)
Photoshop CC 2018

XML:

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

<ExtensionManifest Version="8.0" ExtensionBundleId="studio.moonsicle.ColorSwapperUI" ExtensionBundleVersion="1.0.0"

ExtensionBundleName="ColorSwapperUI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

     <ExtensionList>

          <Extension Id="studio.moonsicle.ColorSwapperUI" Version="1.0" />

     </ExtensionList>

     <ExecutionEnvironment>

          <HostList>

               <!-- Photoshop - I don't need to support anything below 2018, and I don't want my extension to fail next year -->

               <Host Name="PHXS" Version="[19.0,99.0]" />

               <Host Name="PHSP" Version="[19.0,99.0]" />

          </HostList>

          <LocaleList>

               <Locale Code="All" />

          </LocaleList>

          <RequiredRuntimeList>

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

          </RequiredRuntimeList>

     </ExecutionEnvironment>

     <DispatchInfoList>

          <Extension Id="studio.moonsicle.ColorSwapperUI">

               <DispatchInfo >

                    <Resources>

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

                         <ScriptPath>./jsx/hostscript.jsx</ScriptPath>

                    </Resources>

                    <Lifecycle>

                         <AutoVisible>true</AutoVisible>

                    </Lifecycle>

                    <UI>

                         <Type>Panel</Type>

                         <Menu>ColorSwapperUI</Menu>

                         <Geometry>

                              <Size>

                                   <Height>300</Height>

                                   <Width>300</Width>

                              </Size>

                         </Geometry>

                         <Icons>

                              <Icon Type="Normal">./icons/iconNormal.png</Icon>

                              <Icon Type="RollOver">./icons/iconRollover.png</Icon>

                              <Icon Type="Disabled">./icons/iconDisabled.png</Icon>

                              <Icon Type="DarkNormal">./icons/iconDarkNormal.png</Icon>

                              <Icon Type="DarkRollOver">./icons/iconDarkRollover.png</Icon>

                         </Icons>

                    </UI>

               </DispatchInfo>

          </Extension>

     </DispatchInfoList>

</ExtensionManifest>

TOPICS
Actions and scripting

Views

1.6K

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

correct answers 1 Correct answer

Advocate , Nov 06, 2018 Nov 06, 2018

try with this

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

<ExtensionManifest ExtensionBundleId="studio.moonsicle.ColorSwapperUI" ExtensionBundleName="studio.moonsicle.ColorSwapperUI" ExtensionBundleVersion="0.3.0" Version="4.0">

  <ExtensionList>

    <Extension Id="studio.moonsicle.ColorSwapperUI" Version="0.3.0"/>

  </ExtensionList>

  <ExecutionEnvironment>

    <HostList>

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

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

    </HostList>

 

...

Votes

Translate

Translate
Adobe
Guest
Nov 06, 2018 Nov 06, 2018

Copy link to clipboard

Copied

Votes

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
LEGEND ,
Nov 06, 2018 Nov 06, 2018

Copy link to clipboard

Copied

Votes

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 ,
Nov 06, 2018 Nov 06, 2018

Copy link to clipboard

Copied

See if so resolve

replace

this

  1. <Host Name="PHXS" Version="[19.0,99.0]" /> 
  2. <Host Name="PHSP" Version="[19.0,99.0]" /> 

with this

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

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

Votes

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 ,
Nov 06, 2018 Nov 06, 2018

Copy link to clipboard

Copied

I should have included that in my question. I have tried:

14.0,99.0 (what the simpledissolve sample uses)

19.0,19.9

14.0,19.9

14.0,99.0

Additionally, my project directory is currently located in the brackets default directory for CEP projects:

C:/Users/[me]/AppData/Roaming/Adobe/CEP/extensions

However I have also tried

C:/Program Files/Common Files/Adobe/CEP/extensions

C:/Program Files (x86)/Common Files/Adobe/CEP/extensions

Votes

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 ,
Nov 06, 2018 Nov 06, 2018

Copy link to clipboard

Copied

try with this

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

<ExtensionManifest ExtensionBundleId="studio.moonsicle.ColorSwapperUI" ExtensionBundleName="studio.moonsicle.ColorSwapperUI" ExtensionBundleVersion="0.3.0" Version="4.0">

  <ExtensionList>

    <Extension Id="studio.moonsicle.ColorSwapperUI" 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="studio.moonsicle.ColorSwapperUI">

      <DispatchInfo>

       <Resources> 

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

           <ScriptPath>./jsx/hostscript.jsx</ScriptPath> 

           </Resources> 

           <Lifecycle> 

              <AutoVisible>true</AutoVisible> 

          </Lifecycle> 

        <UI>

        <Type>Panel</Type> 

                         <Menu>ColorSwapperUI</Menu> 

                         <Geometry> 

                              <Size> 

                                   <Height>300</Height> 

                                   <Width>300</Width> 

                              </Size> 

                         </Geometry> 

          <Icons> 

                              <Icon Type="Normal">./icons/iconNormal.png</Icon> 

                              <Icon Type="RollOver">./icons/iconRollover.png</Icon> 

                              <Icon Type="Disabled">./icons/iconDisabled.png</Icon> 

                              <Icon Type="DarkNormal">./icons/iconDarkNormal.png</Icon> 

                              <Icon Type="DarkRollOver">./icons/iconDarkRollover.png</Icon> 

                         </Icons> 

      

        </UI>

      </DispatchInfo>

    </Extension>

  </DispatchInfoList>

</ExtensionManifest>

 

Votes

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 ,
Nov 06, 2018 Nov 06, 2018

Copy link to clipboard

Copied

That works! I'm going to accept your answer, but... why didn't CSXS version 8.0 work for CC 2018?

NOTE:
- I didn't need to change photoshop version to [14.0,19.9] I left it at [19.0,99.0]

- All I changed was the ExtensionManifest and RequiredRuntime to 4.0

Votes

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 ,
Nov 09, 2018 Nov 09, 2018

Copy link to clipboard

Copied

@geppettol66959005
Please see my question above. CC2018 should support CEP 8.0, which I believe is CSCX 8.0?

Votes

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 ,
Nov 10, 2018 Nov 10, 2018

Copy link to clipboard

Copied

LATEST

I could not tell you

I only know that in the past I had a problem similar to yours

and I solved this way.

Votes

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