<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uske_S</author_name>
  <author_url>https://blog.hatena.ne.jp/uske_S/</author_url>
  <blog_title>DTPab</blog_title>
  <blog_url>https://uske-s.hatenablog.com/</blog_url>
  <categories>
    <anon>ExtendScript</anon>
    <anon>InDesign</anon>
  </categories>
  <description>はじめに 使い方 使い途は？ コード全文 はじめに InDesignのサンプルスクリプトの中に、MakeGridという便利なスクリプトがあります。カレンダーを作ろうと久しぶりに使ってみたものの、このスクリプトには以下のような難点がありました。 ポイント指定しかできない Undoでスクリプト実行前に戻れない 英語UI ダイアログの設定が都度リセットされる 元のサンプルスクリプトをいじってもよかったのですが、上記を全部解決しようとしたらゼロから開発したほうが楽だと思ったので、今回AIの力をほとんど借りずにフルスクラッチで開発しました。 コードはいつものように、記事末尾に掲載しています。Buy Me…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuske-s.hatenablog.com%2Fentry%2F2026%2F07%2F29%2F231335&quot; title=&quot;【InDesign】サンプルスクリプトのMakeGridをリバース・エンジニアリングしました - DTPab&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/u/uske_S/20260729/20260729225700.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-07-29 23:13:35</published>
  <title>【InDesign】サンプルスクリプトのMakeGridをリバース・エンジニアリングしました</title>
  <type>rich</type>
  <url>https://uske-s.hatenablog.com/entry/2026/07/29/231335</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
