This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var value = prompt("オブジェクトからトンボまでのオフセット値を入力してください(デフォルト8)", "8"); | |
var value = eval(value); | |
var stroke = 0.3; | |
var selObj = activeDocument.selection; | |
for (var i = 0; i < selObj.length; i++) { | |
var rect = selObj[i].geometricBounds; | |
var x1 = rect[0]; | |
var y1 = rect[1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-------------------------------------------------- | |
// スクリプト計測 | |
//-------------------------------------------------- | |
#include 'C:\\Library\\ESTK\\scriptLog.jsx'; | |
var script = $.fileName; | |
var user = $.getenv("HOMEPATH"); | |
var date = new Date(); | |
$.writeln(script + user + date); | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var filePath = decodeURI(File($.fileName)); | |
$.writeln(filePath); |