Skip to content

Commit

Permalink
build: site update
Browse files Browse the repository at this point in the history
  • Loading branch information
sayzlim committed Nov 23, 2022
1 parent 970f6f5 commit 9729fc0
Show file tree
Hide file tree
Showing 230 changed files with 232 additions and 232 deletions.
2 changes: 1 addition & 1 deletion 1password-pro-users-tips/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 6-basic-alfred-app-extensions/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion alfred-app-vs-spotlight/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion alfred-full-fuzzy-match/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion alfred-script-filter-read-csv/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
<span class="n">result</span><span class="p">[</span><span class="s">"items"</span><span class="p">].</span><span class="n">append</span><span class="p">(</span><span class="n">row_item</span><span class="p">)</span>
</code></pre></div></div><p>The advantage of using Script Filter is that we can tell Alfred which value to use for the workflow. Here are some things that you want to consider modifying:</p><ul><li>Define the value that you want to pass in <code class="language-plaintext highlighter-rouge">arg</code>.<li>Pass multiple values into the <code class="language-plaintext highlighter-rouge">match</code> key to expand what Alfred can search. In the following example, we combine row title and platform values.<li>Define the text result you receive from copying <code class="language-plaintext highlighter-rouge">Command-C</code> and displaying large type with <code class="language-plaintext highlighter-rouge">Command-L</code> in the <code class="language-plaintext highlighter-rouge">text</code> key.</ul><p>Once the items are populated, you can convert them into JSON using <code class="language-plaintext highlighter-rouge">json.dumps(result)</code> and print the result for Alfred to pick up.</p><div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">output</span> <span class="o">=</span> <span class="n">json</span><span class="p">.</span><span class="n">dumps</span><span class="p">(</span><span class="n">result</span><span class="p">)</span>
<span class="k">print</span><span class="p">(</span><span class="n">output</span><span class="p">)</span>
</code></pre></div></div><h2 id="example-use-case">Example Use Case</h2><p><img src="https://images.sayzlim.net/2022/08/alfred-script-filter-workflow.webp" alt="" title="Alfred Script Filter Result" /></p><p>Once you have the Script Filter input configured, you can chain them with actions based on the argument you’ve defined. For example, I have a CSV file containing the list of sites in the ad network. I can pass the site ID as the argument and open the dashboard URL to check the site performance.</p><p>If you use CRM like HubSpot, you can also export the list of customers you manage and store them on your machine. Instead of using HubSpot search, you can filter the result right from Alfred. You can be creative with the modifiers:</p><ul><li>Create an action to accept customer ID to take you to the HubSpot contact page.<li>Set the <code class="language-plaintext highlighter-rouge">text</code> key to the contact email address so you can copy it from the search result.<li>Display the company name as the subtitle of the search result.</ul><p>The advantage of Script Filter input is the flexibility to modify the value of the search result. It’s possible to build a fancier workflow with API, however, I see that processing CSV as the most practical use case for most people.</p></article></section><aside class="related-posts"><h5>Related Posts</h5><div class="related-box"><div class="related-card"><div class="related-date">Jun 04, 2022</div><a href="/better-quit-all/"><div class="related-title">Better "Quit All" with Keyboard Maestro</div><div class="related-desc">Combine Alfred and Keyboard Maestro to create a shortcut that quits all applications and choose which apps to keep active in the Dock.</div></a><ul class="excerpt-tags"><li><a href="/tag/alfred">Alfred</a><li><a href="/tag/keyboard-maestro">Keyboard Maestro</a></ul></div><div class="related-card"><div class="related-date">Nov 19, 2014</div><a href="/non-conflicting-shortcuts/"><div class="related-title">Non-Conflicting Shortcuts</div><div class="related-desc">How often you have to reassign a global shortcut because it interferes with the built-in shortcuts? How to install more macros and workflows without adding complexity to your setup?</div></a><ul class="excerpt-tags"><li><a href="/tag/keyboard-maestro">Keyboard Maestro</a><li><a href="/tag/alfred">Alfred</a><li><a href="/tag/bettertouchtool">BetterTouchTool</a></ul></div><div class="related-card"><div class="related-date">Sep 24, 2014</div><a href="/keyboard-maestro-alfred/"><div class="related-title">Trigger Keyboard Maestro Macros with Alfred</div><div class="related-desc">Key Clue is an workflow that lets you run menu bar item and Keyboard Maestro macros from Alfred for Mac.</div></a><ul class="excerpt-tags"><li><a href="/tag/alfred">Alfred</a><li><a href="/tag/keyboard-maestro">Keyboard Maestro</a></ul></div><div class="related-card"><div class="related-date">Aug 29, 2014</div><a href="/terminology-mac/"><div class="related-title">Terminology for Mac</div><div class="related-desc">Bring Terminology — a dictionary, a thesaurus, and a reference tool — to your Mac with the combination of Fluid and Alfred.</div></a><ul class="excerpt-tags"><li><a href="/tag/writing">Writing</a><li><a href="/tag/terminology">Terminology</a><li><a href="/tag/fluid">Fluid</a><li><a href="/tag/alfred">Alfred</a></ul></div></div></aside></main><aside class="sidebar"><div class="sticky-box"><div class="sidebar-promo form"><p><strong>Support my first digital product!</strong><br> A bundle of Keyboard Maestro macros to supercharge your workspace and get things done faster.<br><a href="/lab/tyro/">Get Tyro</a></p></div><div class="carbon-box"> <script async src="//cdn.carbonads.com/carbon.js?serve=CKYIC2JI" id="_carbonads_js"></script></div></div></aside><aside class="hello flow"><p> 👋 <strong>Thanks for visiting this site!</strong> Would you mind if I tell you more about what I create?</p><button onclick="toggleElement('.overlay');dismissElement('.hello')";>Sure</button> <button onclick="dismissElement('.hello')">Maybe next time</button></aside><aside class="overlay"><section class="flow"> <button id="close" onclick="dismissElement('.overlay')"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></button><p> My life has changed since I started using Keyboard Maestro eight years ago. It introduced me to the concept of automation while I was working on a data entry job. It helped me create more time to pick up new skills.</p><p> I want to show you that you don't have to be a programmer to build useful <em>programs</em> that can solve your day-to-day problems. You can delegate your jobs to your computer. You can rest while your computer works.</p><p>Enter your email address below to receive Keyboard Maestro tips every week.</p><form class="form" action="https://app.convertkit.com/forms/2056450/subscriptions" method="post" data-sv-form="2056450" data-uid="c249fe0755" data-options='{"settings":{"after_subscribe":{"action": "redirect","redirect_url": "https://sayzlim.net/welcome/"}}}' > <label for="name">First Name</label> <input type="text" value="" name="fields[first_name]" placeholder="First Name" id="name" required /> <label for="email">Email</label> <input type="email" value="" name="email_address" placeholder="Email Address" id="email" required /> <button class="subscribe">Subscribe</button> </form></section></aside><footer class="footer"> &copy; 2010–2022 Sayz Lim | Powered by <a href="https://jekyllrb.com" title="Jekyll">Jekyll</a> and <a href="https://pages.github.com" title="GitHub Pages">GitHub Pages</a></footer></div>
</code></pre></div></div><h2 id="example-use-case">Example Use Case</h2><p><img src="https://images.sayzlim.net/2022/08/alfred-script-filter-workflow.webp" alt="" title="Alfred Script Filter Result" /></p><p>Once you have the Script Filter input configured, you can chain them with actions based on the argument you’ve defined. For example, I have a CSV file containing the list of sites in the ad network. I can pass the site ID as the argument and open the dashboard URL to check the site performance.</p><p>If you use CRM like HubSpot, you can also export the list of customers you manage and store them on your machine. Instead of using HubSpot search, you can filter the result right from Alfred. You can be creative with the modifiers:</p><ul><li>Create an action to accept customer ID to take you to the HubSpot contact page.<li>Set the <code class="language-plaintext highlighter-rouge">text</code> key to the contact email address so you can copy it from the search result.<li>Display the company name as the subtitle of the search result.</ul><p>The advantage of Script Filter input is the flexibility to modify the value of the search result. It’s possible to build a fancier workflow with API, however, I see that processing CSV as the most practical use case for most people.</p></article></section><aside class="related-posts"><h5>Related Posts</h5><div class="related-box"><div class="related-card"><div class="related-date">Jun 04, 2022</div><a href="/better-quit-all/"><div class="related-title">Better "Quit All" with Keyboard Maestro</div><div class="related-desc">Combine Alfred and Keyboard Maestro to create a shortcut that quits all applications and choose which apps to keep active in the Dock.</div></a><ul class="excerpt-tags"><li><a href="/tag/alfred">Alfred</a><li><a href="/tag/keyboard-maestro">Keyboard Maestro</a></ul></div><div class="related-card"><div class="related-date">Nov 19, 2014</div><a href="/non-conflicting-shortcuts/"><div class="related-title">Non-Conflicting Shortcuts</div><div class="related-desc">How often you have to reassign a global shortcut because it interferes with the built-in shortcuts? How to install more macros and workflows without adding complexity to your setup?</div></a><ul class="excerpt-tags"><li><a href="/tag/keyboard-maestro">Keyboard Maestro</a><li><a href="/tag/alfred">Alfred</a><li><a href="/tag/bettertouchtool">BetterTouchTool</a></ul></div><div class="related-card"><div class="related-date">Sep 24, 2014</div><a href="/keyboard-maestro-alfred/"><div class="related-title">Trigger Keyboard Maestro Macros with Alfred</div><div class="related-desc">Key Clue is an workflow that lets you run menu bar item and Keyboard Maestro macros from Alfred for Mac.</div></a><ul class="excerpt-tags"><li><a href="/tag/alfred">Alfred</a><li><a href="/tag/keyboard-maestro">Keyboard Maestro</a></ul></div><div class="related-card"><div class="related-date">Aug 29, 2014</div><a href="/terminology-mac/"><div class="related-title">Terminology for Mac</div><div class="related-desc">Bring Terminology — a dictionary, a thesaurus, and a reference tool — to your Mac with the combination of Fluid and Alfred.</div></a><ul class="excerpt-tags"><li><a href="/tag/writing">Writing</a><li><a href="/tag/terminology">Terminology</a><li><a href="/tag/fluid">Fluid</a><li><a href="/tag/alfred">Alfred</a></ul></div></div></aside></main><aside class="sidebar"><div class="sticky-box"><div class="sidebar-promo form"><p><strong>Support my first digital product!</strong><br> A bundle of Keyboard Maestro macros to supercharge your workspace and get things done faster.<br><a href="/lab/tyro/">Get Tyro</a></p></div><div class="carbon-box"> <script async src="//cdn.carbonads.com/carbon.js?serve=CKYIC2JI" id="_carbonads_js"></script></div></div></aside><aside class="hello flow"><p> 👋 <strong>Thanks for visiting this site!</strong> Would you mind if I tell you more about what I create?</p><button onclick="toggleElement('.overlay');dismissElement('.hello')";>Sure</button> <button onclick="dismissElement('.hello')">Maybe next time</button></aside><aside class="overlay"><section class="flow"> <button id="close" onclick="dismissElement('.overlay')"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></button><p> I want to show you that you don't have to be a programmer to build useful <em>programs</em> that can solve your day-to-day problems. You can delegate your jobs to your computer. You can rest while your computer works.</p><p>Enter your email address below to receive Keyboard Maestro tips every week.</p><form class="form" action="https://app.convertkit.com/forms/2056450/subscriptions" method="post" data-sv-form="2056450" data-uid="c249fe0755" data-options='{"settings":{"after_subscribe":{"action": "redirect","redirect_url": "https://sayzlim.net/welcome/"}}}' > <label for="name">First Name</label> <input type="text" value="" name="fields[first_name]" placeholder="First Name" id="name" required /> <label for="email">Email</label> <input type="email" value="" name="email_address" placeholder="Email Address" id="email" required /> <button class="subscribe">Subscribe</button> </form></section></aside><footer class="footer"> &copy; 2010–2022 Sayz Lim | Powered by <a href="https://jekyllrb.com" title="Jekyll">Jekyll</a> and <a href="https://pages.github.com" title="GitHub Pages">GitHub Pages</a></footer></div>
2 changes: 1 addition & 1 deletion atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title><![CDATA[Sayz Lim]]></title>
<link href="https://sayzlim.net/atom.xml" rel="self"/>
<link href="https://sayzlim.net/"/>
<updated>2022-08-26T11:25:11+07:00</updated>
<updated>2022-11-24T01:29:57+07:00</updated>
<id>https://sayzlim.net/</id>
<author>
<name><![CDATA[Sayz Lim]]></name>
Expand Down
2 changes: 1 addition & 1 deletion back-in-2014/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 9729fc0

Please sign in to comment.