<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bulldra</author_name>
  <author_url>https://blog.hatena.ne.jp/bulldra/</author_url>
  <blog_title>太陽がまぶしかったから</blog_title>
  <blog_url>https://www.du-soleil.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>Macにおけるローカル通知の実装方法 Mac環境で通知を実行するには Apple Scriptをコマンドラインで実行する osascript コマンドを利用できる。例えば、Cursorであれば、Cursr Rulesに以下のプロンプトを記載し、コマンドを実行を Auto-run にするとコード生成完了時に通知が来るようになる。 完了時に以下をコマンド実行 osascript -e 'display notification &quot;Please check the generated code.&quot; with title &quot;Cursor&quot; subtitle &quot;✅ Code Editing Comple…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.du-soleil.com%2Fentry%2Fmac-local-notification&quot; title=&quot;Mac通知機能のApple Scriptコマンド化による実装が「聖徳太子コーディング」に不可欠となった - 太陽がまぶしかったから&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/b/bulldra/20250427/20250427131641.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-04-27 13:18:17</published>
  <title>Mac通知機能のApple Scriptコマンド化による実装が「聖徳太子コーディング」に不可欠となった</title>
  <type>rich</type>
  <url>https://www.du-soleil.com/entry/mac-local-notification</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
