Skip to content

Instantly share code, notes, and snippets.

@kanemu
Created July 19, 2011 04:08
Show Gist options
  • Save kanemu/1091289 to your computer and use it in GitHub Desktop.
Save kanemu/1091289 to your computer and use it in GitHub Desktop.
[indesign]選択オブジェクトのパスのポイント位置を確認。
/*選択オブジェクトのパスのポイント位置を確認。*/
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