GithubHelp home page GithubHelp logo

cep-test's Introduction

CEP-Test

一个运行于Adobe Photoshop里的CEP扩展实例。

进入开发者模式

  • 首先,我们要获取自己当前机器上Adobe CEP的版是CEP几,关于Adobe不同应用的种类和版本的简称,我们可以看官方提供的对应: Applications Integrated with CEP
  • 得到当前CEP的版本后,我们可以通过下面的方法进入debug模式(记得将下列CSXS.[n]中的[n]用你目前的CEP版本替换)
    • 如果你是Windows用户,你需要:
      • 打开 regedit
      • 找到HKEY_CURRENT_USER/Software/Adobe/CSXS.[n]
      • 然后添加一个叫PlayerDebugMode的字段
      • 设置值为string类型的"1"
    • 如果你是macOS用户,你需要:
      • 打开终端输入: defaults write com.adobe.CSXS.[n] PlayerDebugMode 1
      • 你需要在终端输入ps -axu $USER|grep cfprefsd,找到cfprefsd这个进程的pid,然后用kill命令删掉它(或者你也可以直接重新启动你的机器)。

引入

执行:

yarn
yarn start

我们可以在项目目录内得到生成的CEP扩展目录:com.cep.test

为了引入CEP扩展,我们把build生成的CEP扩展的目录放到Photoshop指定的位置:

  • mac:~/Library/Application Support/Adobe/CEP/extensions/com.cep.test
  • win:{Photoshop安装路径}\Required\CEP\extensions\com.cep.test

运行

我们在Photoshop菜单栏的「窗口」-「扩展」中选择CASE,成功运行扩展。

cep-test's People

Stargazers

Jack avatar 邱国辉 avatar  avatar  avatar  avatar Hang Liang avatar

Watchers

James Cloos avatar Ewen Chen avatar

Forkers

debugspy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.