Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cg-method/84f350217c6792907defa68047a32dd3 to your computer and use it in GitHub Desktop.
Save cg-method/84f350217c6792907defa68047a32dd3 to your computer and use it in GitHub Desktop.
【ExtendScript】スクリプト計測するスクリプト(使用例)
//--------------------------------------------------
// スクリプト計測
//--------------------------------------------------
#include 'C:\\Library\\ESTK\\scriptLog.jsx';
var script = $.fileName;
var user = $.getenv("HOMEPATH");
var date = new Date();
$.writeln(script + user + date);
try {
scriptLog(script, user, date);
} catch (e) {}
//--------------------------------------------------
// 実際の処理
//--------------------------------------------------
alert("テスト!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment