05)レイヤーを作成する

| コメント(0)
IMGレイヤーが存在するか調べ、なければ作成します。
tell application "Adobe InDesign CS2_J"
	tell active document
		if not (exists (layers whose name is "IMG")) then
			--同じ名前のレイヤーがあればエラーになるのでまず調べる
			make layer with properties {name:"IMG"}
			--なければレイヤーをつくる
		end if
	end tell
end tell

                                    
Comments are nofollow setting

コメントする

エントリー一覧

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