[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(DTPtechNote:1105) [AS_InDesign CS] secrion_delete



1ページ目以外のセクションをすべて削除します。

tell application "InDesign CS_J"
	tell document 1
		set cnt_section to count every section
		if cnt_section > 1 then
			repeat with i from cnt_section to 2 by -1
				delete section i
			end repeat
		end if
	end tell
end tell