{"data":{"site":{"siteMetadata":{"title":"Lime Brains","description":"We are The Software House where business questions meet software answers.","url":"https://limebrains.com"}},"markdownRemark":{"html":"<h1>Problem 😱</h1>\n<p>How to create alert in osx which could be triggered via command line?</p>\n<hr>\n<h1>Solution 🤓</h1>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">function alert() { osascript -e &#39;display notification &quot;&#39;&quot;$1&quot;&#39;&quot; with title &quot;&#39;&quot;Alert&quot;&#39;&quot;&#39; &amp;&amp; say $1; }</code></pre></div>\n<h2>Usage:</h2>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">alert &quot;Wow it&#39;s so nice 🤓&quot;</code></pre></div>\n<p><img src=\"https://i.imgur.com/cStOkYe.png\" alt=\"alert in osx\"></p>","excerpt":"Problem 😱 How to create alert in osx which could be triggered via command line? Solution 🤓 Usage:","frontmatter":{"title":"How to create alert in osx?","subtitle":"How to create alert in osx?","date":"2017-10-20 02:00","seo":{"title":"How to create alert in osx?","description":"How to create alert in osx?","noindex":false}},"fields":{"slug":"/blog/2017-10-20T02:00-alert-in-osx/"}}},"pageContext":{"slug":"/blog/2017-10-20T02:00-alert-in-osx/","indexable":false}}