OM Wiki

Technical Artist Wiki

ユーザ用ツール

サイト用ツール


adobe:adobe_extendscript

**文書の過去の版を表示しています。**

Adobe ExtendScript

このページでは、Adobe ExtendScriptについての情報を掲載します。 Adobe ExtendScriptは、Adobe Adobe PhotoshopをはじめとしたAdobe製品上で実行できるJavascriptベースのスクリプトです。ソフトウェアの自動操作、アクションでは難しい複雑な処理を実行できます。

*Build HTML5-based extensions for Photoshop, more

XMPの操作

//load XMP Library
var XMPload = Boolean(false);
if (ExternalObject.AdobeXMPScript == undefined){
    try {ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript'); XMPload = true;}
    catch(ex) {alert("Unable to load the AdobeXMPScript library!");}
}

if(XMPload){
    var myFile = File(app.selection[0].graphics[0].itemLink.filePath);
    xmpFile = new XMPFile(myFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_READ);
    xmp = xmpFile.getXMP();
    var myXmp = xmp.serialize();
    xmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
}

Script UI作成

  • Rapid ScriptUI: 開発、サポート終了。UI作成支援ソフトウェア。開発は終了しているが、Pro版(有償)の購入は2017年6月現在もする事ができる。
  • ominoDialogMaker.jsx: 高機能なUIを簡単に構築する為のライブラリ。
adobe/adobe_extendscript.1530140723.txt.gz · 最終更新: 2018/06/28 08:05 by 163.49.200.195

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki