Skip to content

Instantly share code, notes, and snippets.

@shspage
Last active February 10, 2024 19:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shspage/406ae1b2e133b0d8e6cb2541a4975958 to your computer and use it in GitHub Desktop.
Save shspage/406ae1b2e133b0d8e6cb2541a4975958 to your computer and use it in GitHub Desktop.
Illustrator用プラグインからzxpを作成する例

Illustrator用プラグインからzxpを作成する例

ディレクトリ構造(プラグイン名:anchorGrabber.aip の場合)

  • anchorGrabber
    • anchorGrabber.mxi
    • mac
      • anchorGrabber.aip

zxp生成コマンドはHTML拡張からzxpを作成する場合と同じ
./ZXPSignCmd-64bit -sign anchorGrabber anchorGrabber.zxp <self_signed_cert>.p12 <password>

参考:mxiファイルの仕様 https://helpx.adobe.com/extension-manager/kb/general-mxi-elements.html

作成した 〜.zxp は、Anastasiy’s Extension Manager でインストールする。 https://install.anastasiy.com/

ZXPSignCmd はここからダウンロードする。 https://github.com/Adobe-CEP/CEP-Resources/tree/master/ZXPSignCMD

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<macromedia-extension name="com.shspage.csxs.anchorGrabber" requires-restart="true" version="1.2.0.0">
<author name="shspage"/>
<description><![CDATA[anchorGrabber is a plug-in for Adobe Illustrator.]]></description>
<license-agreement><![CDATA[The author grants permission to use anchorGrabber.aip (hereafter, this plug-in) as long as the following is agreed.
The author makes no guarantee, including the accuracy and reliability of this plug-in. The author is not responsible for any damages caused by using this plug-in.
Redistribution of this plug-in on networks accessible by unspecified majority is prohibited. Redistributions by other means shall accompany the documents distributed with this plug-in.]]></license-agreement>
<products>
<product familyname="Illustrator" maxversion="" version="26.0" platform="mac"/>
</products>
<files>
<file destination="$plugin" platform="mac" products="Illustrator" source="mac/anchorGrabber.aip" maxVersion="" minVersion="26.0"/>
</files>
</macromedia-extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment