Nope
2010年02月13日、名古屋で開催された「DTPの勉強部屋 第16回勉強会」で話させていただいた際の前半部、字体・字形関連の話の流れを要約し、関連する当ブログ内へのリンクを……*1。 - ●配付資料→ 名古屋100213_配布資料.pdf (アイコンをクリックするのがベター) ●オマケ→ 名古屋100213_01.pdf (アイコンをクリックするのがベター) ※当頁の配置画像などの元 ※Google docs での表示は粗いですが、ダウンロードしていただくと鮮明です。 - まず、色々な意味で問題になりそうな文字群を例示し、その文字群に普段使っているスクリプトを利用して字形置換テーブルを適用するデモ。 表外漢字を正字に変換するテーブルを適用結果*2 次に人名漢字を旧字体に変換した結果 最後に常用漢字をも旧字体に変換した結果 何故、このようなアホなことをしているのかという理由および「いわゆる
何をするスクリプトか? 選択したテキスト部分を変形(長体・平体)させて、指定ライン数以内に収めます。 簡単な使い方はこちらをご覧ください。 同梱ファイル2Files README.txt このファイルです。とにかく最初によんでください。 shorten_line_selection.jsx スクリプト本体です。 動作環境 このスクリプトが正常に動作する環境は以下の通りです。Windows環境でも動作する可能性がありますが、動作確認はしていません。 MacOS X10.6.2 InDesign CS4_J(6.0.4) ダウンロード http://www.seuzo.jp/st/scripts_InDesignCS4/index.html#shorten_line_selection インストール スクリプト本体(shorten_line_selection.jsx)を ~/Library/
変形シリーズなんだけど、こちらはおうち遣い用。とりあえず動いているくさい。 「この段落スタイルは1行で収めたいんだよねー」なんて時に使います。特定の段落スタイル部分を検索して変形(長体or平体)させて、指定ライン数(not段落行数)以内に収めます。 おかしな所をみつけたら、そっと教えてください^^ /* shorten_line_paragraphStyle.jsx 特定の段落スタイル部分を検索して、変形(長体or 平体)させて、指定ライン数(not段落行数)以内に収めます。 2010-02-10 ver.0.1 とりあえず。段落スタイルグループには未対応。 */ //////////////////////////////////////////// 設定★適度に変えてください var my_scale_limit = 70;//文字変形の限界値(%) var my_line_limit
政治的な発言ばかりしていると嫌われそうなので、たまにはスクリプト^^ 選択しているテキスト部分を変形(長体または平体)させて、指定ライン数(not段落行数)以内に収めます。自分遣いではもうちょっと拡張する予定ですが、これはこれで使い勝手があるかもしれないのでアップします。これくらいのものは、みなさまご自分で書かれているでしょうけれど... /* shorten_line.jsx 選択しているテキスト部分を変形(長体または平体)させて、指定ライン数(not段落行数)以内に収めます。 2010-02-10 ver.0.1 とりあえず */ //////////////////////////////////////////// 設定 var my_scale_limit = 70;//文字変形の限界値(%) var my_line_limit = 1;//何行以内に収めるか /////////
[JavaScript] var frame = app.activeDocument.selection[0]; frame.label = "画像枠"; [VBScript] Set app = CreateObject("InDesign.Application") Set frame = app.activeDocument.selection(1) frame.label = "画像枠" ※参考 スクリプトラベルが設定されているフレームを選択する
過去、表に関して調べたjavascriptのいろいろ。 ひょっとして動作しないのもあるかも……。 参考程度に書きとめておきます。 //新規にドキュメントを作成する pageObj = app.documents.add(); pageObj.documentPreferences.pageWidth="210mm"; pageObj.documentPreferences.pageHeight="297mm"; //テーブルを作成する txtObj = pageObj.textFrames.add(); txtObj.visibleBounds = ["10mm","10mm","100mm","100mm"]; tblObj = txtObj.tables.add(); //表の行列(マス)を決める tblObj.columnCount = 10; //よこ tblObj.bodyRow
Javascriptによる自動ページ番号の挿入 - InD-Board のつづき。 特殊文字のコードを一覧表にしてみました。削除線のついているものは、有効ではありません*1。 メニュー名fromCharCode(n)SpecialCharactersdecimal Value 変数24TEXT_VARIABLE1397781622 記号-ビュレット8226BULLET_CHARACTER1396862068 記号-中点12539 記号-著作権記号169COPYRIGHT_SYMBOL1396929140 記号-省略記号8230ELLIPSIS_CHARACTER1397518451 記号-段落記号182PARAGRAPH_SYMBOL1397776754 記号-登録商標記号174REGISTERED_TRADEMARK1397904493 記号-セクション記号167SECTION_SYMB
イラストレーターで作成された表を、 インデザインに変換できないか挑戦中です。 少し前回よりも成長したので、 再度同じタイトルで紹介させていただきます。 操作方法は、 イラストレーターの表を選択 イラストレーターでスクリプト実行 基本的にはこの手順です。 が、今のところインデザインに切り替わったあとに、 表の生成処理ができないことが…。 ちょっとさわったところ、 インデザイン上で、 #include を使用してみることで、 その後は正常に処理されるっぽい(?)ので、 「調整用.jsx」というそれだけのスクリプトを用意しておきました。 これはWindows XP SP3、Illustrator CS3、InDesign CS3で動作確認しています。 Macで処理する場合は、 「Illustrator表変換ai.jsx」「Illustrator表変換indd.jsx」双方とも、 var file
DTPを楽にするために、Illustrator、InDesignなどのフリーウェアを中心にJavaScriptやAppleScriptでコントロールする方法を公開しています。 ほとんど更新していませんがスクリプトは今でも書いています。 InDesignCS3,CS4で開いているページにフォルダ内の画像を 比率を指定して配置していきます。 おそらく他のバージョンのInDesignでも動くと思います。 ■■■使い方■■■ スクリプトパレットの「画像配置.jsx」をダブルクリックします。 ダイアログが出てきますので設定し、OKボタンをクリックすると配置したい 画像が入ったフォルダを聞いてきますので選択してください。 ダイアログ 全ファイル配置:フォルダ内の全ファイルを配置します。 ファイルを少しずつ配置したい場合 ファイルがあまりにも多いと配置するのも大変ですので配置スタート・終了ファイル番号に
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く