01)Document

| コメント(0) | トラックバック(0)

作成する(ミリ単位で指定できる。)

tell application "Adobe InDesign CS2_J"
	make document with properties {page height:297, page width:210}
end tell

作成する2プロパティも同時設定

tell application "Adobe InDesign CS2_J"
	set myDocument to make document
	--ドキュメントを作成(作成されたドキュメントは変数myDocumentに入る)
	set properties of document preferences of myDocument to ¬
		{pages per document:10, pages per spread:1, ¬
		page width:"210 mm", page height:"297 mm"}
	--プロパティの設定。document preferencesを使う。
	--pages per document	ドキュメントのページ数
	--pages per spread			スプレッド当たりのページ数(2なら見開き)
end tell

保存せずに閉じる(Illustratorと同じ)

tell application "Adobe InDesign CS2_J"
	close document 1 saving no
end tell

保存する

set Fpath to "macintosh HD:test.indd"
tell application "Adobe InDesign CS2_J"
	save document 1 to Fpath
end tell

トラックバック(0)

トラックバックURL: http://www.adg7.com/mt/mt-tb.cgi/81

Comments are nofollow setting

コメントする

エントリー一覧

OpenID対応しています OpenIDについて
Powered by Movable Type 7.902.0
漢字イラストロジック-脳トレ京
FREE ONLINE SUDOKU