InDesign MY-NOTEBOOK

Saturday, January 14, 2012

jsx-howto RegExp HOWTO


var myString = 'The quick brown fox jumps over the lazy dog.';

var re = new RegExp(/o/);
var result = re.exec(myString);
while( result ){
	alert(result);
	myString = myString.substring(re.lastIndex);
	var result = re.exec(myString);
}

続きを読む

Saturday, January 14, 2012

jsx-howto Get graphic-frame-bounds in a page

I will get all graphic frame bounds in an InDesign document and paint them in outside.

続きを読む

Saturday, January 14, 2012

jsx-howto How to get a current page numbre ?

I have a problem to solve numbre.

  • A Catalog that made in InDesign has many indd files.
  • From all indd files , I have to make preview images.
  • And these image-files must have the unique file name.

Is there a simple solution ?

続きを読む

Saturday, January 14, 2012

jsx-howto Create Paragraph Style

How to create InDesign paragraph style from extendscript ?

続きを読む

« NEWER POSTS | OLDER POSTS »

© 2011,2012 Tomoaki Oshima