Created
July 19, 2011 04:08
-
-
Save kanemu/1091289 to your computer and use it in GitHub Desktop.
[indesign]選択オブジェクトのパスのポイント位置を確認。
This file contains hidden or 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 obj=app.activeDocument.selection[0]; | |
if(obj.hasOwnProperty('paths')){ | |
var path = obj.paths.firstItem().entirePath; | |
for(var i=0,len=path.length;i<len;i++){ | |
$.writeln(uneval(path[i])); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment