cep打包发布、兼容性测试

afcfzf 2021年02月02日 143次浏览

debug

<?xml version="1.0" encoding="UTF-8"?>
<ExtensionList>
    <Extension Id="com.afcfzf.fe">
        <HostList>
           <Host Name="PHXS" Port="8181"/>
       </HostList>
    </Extension>
</ExtensionList>

不错的文章:

http://www.coolketang.com/tutorials/menu2lesson1.php

问题:

  • 如何发布插件

  • 如何打包bin文件

  • 注意要用纯大小写

    1. 先下载adobe打包工具
    2. 生成自签名证书:
      ./ZXPSignCmd-64bit -selfSignedCert CN BeiJing org.jsplayer markJia psd2editor.p12
    3. 用证书打包:
      ./ZXPSignCmd-64bit -sign "../plugin/psd2editor" "../plugin/psd2editor.zxp" psd2editor.p12
  • 安装目录: /Library/Application Support/Adobe/CEP/extensions/

参考资料:
https://javascript-tools-guide.readthedocs.io/vscode-debugger/vscode-extension-features.html#jsxbin-from-vs-code

兼容性

ps 历史版本

https://helpx.adobe.com/cn/photoshop/kb/legacy-version-updates.html

Adobe Photoshop CC 2021 v22.1.1.138 (x64) with  [Latest]
Adobe Photoshop CC 21.1.0.106 - Photoshop CC Full Download Free Download
Adobe Photoshop CC 2020  v21.0.1.47 Multilingual Pre-Activated
Adobe Photoshop CC 2020 21.2 Full Version Pre-cracked Free Download | Download Pirate
Adobe Photoshop CC 21.1.2  Licence Key Full 2020 Free Download
Adobe Photoshop CC 2021  v21.2.3.308 Serial + Keygen {Win/Mac}
Adobe Photoshop CC 2020 v21.2.4  FREE Download – Mac Software Download
Adobe Photoshop CC 2019 v20.0.7  FREE Download – Mac Software Download
Adobe Photoshop CC 2021  Latest Version 22.0.0.35 x64 Full Free Download
 Adobe Photoshop CC 2021 22.1.0.94  With Product Number Free
Adobe Photoshop CC 2020 Download v21.1.3.190 [New]
Adobe Photoshop CC 2019 20.0.4 Full  - Az Free Share Everything
Adobe Photoshop CC 2021 v22.0.1.73  (x64)"

Photoshop 2020(2019 年 10 月)

Photoshop 2020 的最新更新为 21.2.4

ps2020 21.0.2 不支持font

适用于 Photoshop 的 Adobe Camera Raw 的最新更新为 13.1
Photoshop CC 2019(2018 年 10 月)

Photoshop CC 2019 的最新更新为 20.0.10
适用于 Photoshop CC 的 Adobe Camera Raw 的最新更新为 12.4
Photoshop CC 2018(2017 年 11 月)


结论:10.15不支持x32 app


Photoshop CC 2018 的最新更新为 19.1.9
适用于 Photoshop CC 的 Adobe Camera Raw 的最新更新为 12.4
Photoshop CC 2017(2016 年 11 月)

Photoshop CC 2017 的最新更新为 2017.1.6
适用于 Photoshop CC 的 Adobe Camera Raw 的最新更新为 12.4
Photoshop CC 2015.5(2016 年 6 月)

Photoshop CC 2015.5 的最新更新为 2015.5.1
适用于 Photoshop CC 的 Adobe Camera Raw 的最新更新为 10.5
Photoshop CC 2015(2015 年 6 月)

Photoshop CC 2015.5 的最新更新为 2015.1.2
适用于 Photoshop CC 的 Adobe Camera Raw 的最新更新为 10.5
Photoshop CC 2014(2014 年 6 月)

Photoshop CC 2014 的最新更新为 2014.2.4
适用于 Photoshop CC 的 Adobe Camera Raw 的最新更新为 10.5

image.png

image.png

ps: 是因为拉伸过,所以取不到字号了

参考资料:

# xtools
https://sourceforge.net/projects/ps-scripts/

# 52pj
https://www.52pojie.cn/thread-865136-1-1.html

# export path
https://medium.com/@andrew.rapo/using-adobes-javascript-based-extendscript-jsx-to-automate-photoshop-workflow-tasks-f3b6690650d9

# 论坛不错
https://www.ps-scripts.com/viewtopic.php?t=7736

# lib
https://github.com/TomRuark/JavaScripts

# export layer
https://community.adobe.com/t5/photoshop/how-do-i-quickly-export-a-layer-as-a-png-file-in-photoshop-with-extendscript/td-p/9917597

# 博客更新了
http://blog.nullice.com/%E6%8A%80%E6%9C%AF/CEP-%E5%BC%80%E5%8F%91%E6%95%99%E7%A8%8B/%E6%8A%80%E6%9C%AF-CEP-%E5%BC%80%E5%8F%91%E6%95%99%E7%A8%8B-Adobe-CEP-%E6%89%A9%E5%B1%95%E5%BC%80%E5%8F%91%E6%95%99%E7%A8%8B-%E3%80%8C-3-%E3%80%8DAPI-%E7%9A%84%E4%BD%BF%E7%94%A8/

# uber tools
https://github.com/nvkzNemo

# layers count
https://gist.github.com/nvkzNemo/c5d05795b2b0ed22a7a5

# cookbook
https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_9.x/Documentation/CEP%209.0%20HTML%20Extension%20Cookbook.md

# cep 插件调研
https://github.com/Kuaizi-co/cep-awesome

# cep 文档
https://theiviaxx.github.io/photoshop-docs/cep.html

# cep 安装包构建
https://kuaizi-co.github.io/blog/post/adobe-cep-get-started.html#%E6%8F%92%E4%BB%B6%E7%9A%84%E5%AE%89%E8%A3%85%E5%8C%85%E6%9E%84%E5%BB%BA

# cef-client 
https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_7.x/cefclient_mac.zip

https://code.google.com/archive/p/chromiumembedded/

# cep sample
https://github.com/Adobe-CEP/Samples

# 
https://stackoverflow.com/questions/11211323/photoshop-scripting-update-progress-bar-in-a-window

# 
https://www.davidebarranca.com/2012/10/scriptui-window-in-photoshop-palette-vs-dialog/


# sample
http://www.weststreetconsulting.com/WSC_ExtendScriptSamples.htm

# 不错的文档:
https://theiviaxx.github.io/photoshop-docs/Photoshop/Application/bringToFront.html