Skip to content

Instantly share code, notes, and snippets.

View onebitious's full-sized avatar

onebitious

View GitHub Profile
@onebitious
onebitious / creatNewArtBoard.jsx
Created January 25, 2019 00:26
creatNewArtBoard
mainScript: { //処理中断のためのラベル
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ドキュメントの有無による処理判別
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
try {
if (app.activeDocument) {
//alert("OK");
}
} catch (e) {
alert("ドキュメントが開いていません。\r\n新規ドキュメントを作成してから実行してください。");
/*
仕様
2022/11/26 記述
ダイアログを開き、処理するファイルが格納されたフォルダを選択。
「いくつおきに処理しますか?」のダイアログで何枚おきに処理するかの数値を入力します。
「おきに」とは「置きに」と書きます。
例;
「0」と入力
1、2、3、4、5、6、7、8、9、10.....
「1」と入力