<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Alfred on Guillaume Barrette</title>
    <link>https://guillaumebarrette.com/project/alfred/</link>
    <description>Recent content in Alfred on Guillaume Barrette</description>
    <generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator>
    <language>en-us</language>
    <copyright>&amp;copy; {year}, Guillaume Barrette</copyright>
    <lastBuildDate>Fri, 19 Jul 2019 00:00:00 +0000</lastBuildDate>
    
	    <atom:link href="https://guillaumebarrette.com/project/alfred/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Appearance</title>
      <link>https://guillaumebarrette.com/project/alfred/appearance/</link>
      <pubDate>Mon, 24 Jun 2019 00:00:00 +0100</pubDate>
      
      <guid>https://guillaumebarrette.com/project/alfred/appearance/</guid>
      <description>

&lt;p&gt;Here is my Alfred Appearance Theme:&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;alfred-appearance.png&#34; alt=&#34;Alfred Appearance&#34; /&gt;&lt;/p&gt;

&lt;!-- 





&lt;figure&gt;

&lt;img src=&#34;https://guillaumebarrette.com/img/project/alfred/alfred-appearance.png&#34; &gt;


&lt;/figure&gt;
 --&gt;

&lt;p&gt;It is a modified version based on the &lt;a href=&#34;http://www.alfredforum.com/topic/9965-elegant-v5-dark-light/&#34; target=&#34;_blank&#34;&gt;&lt;code&gt;Elegant Dark v5&lt;/code&gt;&lt;/a&gt; theme by &lt;a href=&#34;https://www.alfredforum.com/profile/518-jovotrox/&#34; target=&#34;_blank&#34;&gt;@jovotrox&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&#34;links&#34;&gt;Links&lt;/h2&gt;

&lt;p&gt;&lt;a class=&#39;btn
	btn-primary
	btn-sm&#39;
  href=&#39;https://d.pr/f/jSrHh3&#39; role=&#34;button&#34; &gt;
  
  &lt;i class=&#39;fas fa-download&#39;&gt;&lt;/i&gt; 
  Download
&lt;/a&gt;

&lt;!-- - [Theme Download Link](https://d.pr/f/n4qtbD) --&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Command Line Interface (CLI)</title>
      <link>https://guillaumebarrette.com/project/alfred/cli/</link>
      <pubDate>Mon, 24 Jun 2019 00:00:00 +0100</pubDate>
      
      <guid>https://guillaumebarrette.com/project/alfred/cli/</guid>
      <description>

&lt;p&gt;Alfred Command Line Interface (CLI)&lt;/p&gt;

&lt;h2 id=&#34;search&#34;&gt;Search&lt;/h2&gt;

&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;#!/usr/bin/env bash

# Guillaume Barrette
# 2019-06-25

# Alfred Search Function
alfs() {
    if [ $# -eq 0 ]; then   # If nothing is put as arguments open Alfred at the working directory so it list the content
        osascript -e &amp;quot;tell application id \&amp;quot;com.runningwithcrayons.Alfred\&amp;quot; to browse \&amp;quot;$(pwd)\&amp;quot;&amp;quot;
    elif [ $# -eq 1 ]; then # If only one argument is set
        if [[ -d $1 ]]; then   # if it looks like a path or file, then make sure we send a full path to Alfred
            osascript -e &amp;quot;tell application id \&amp;quot;com.runningwithcrayons.Alfred\&amp;quot; to browse \&amp;quot;$(realpath -s &amp;quot;$1&amp;quot;)/\&amp;quot;&amp;quot;
        elif [[ -f $1 ]]; then
            osascript -e &amp;quot;tell application id \&amp;quot;com.runningwithcrayons.Alfred\&amp;quot; to browse \&amp;quot;$(realpath -s &amp;quot;$1&amp;quot;)\&amp;quot;&amp;quot;
        else    # Any other words that are not a path would be sent to Alfred as is  (ex: alfs snip  -&amp;gt;  would open Alfred with &amp;quot;snip&amp;quot;)
            osascript -e &amp;quot;tell application id \&amp;quot;com.runningwithcrayons.Alfred\&amp;quot; to search \&amp;quot;$*\&amp;quot;&amp;quot;
        fi
    else   # If multiple arguments are set, then they are sent to Alfred as is. (ex: alfs define allo  -&amp;gt;  would pop Alfred with &amp;quot;define allo&amp;quot;)
        osascript -e &amp;quot;tell application id \&amp;quot;com.runningwithcrayons.Alfred\&amp;quot; to search \&amp;quot;$*\&amp;quot;&amp;quot;
    fi
}
&lt;/code&gt;&lt;/pre&gt;

&lt;!-- --- --&gt;

&lt;h2 id=&#34;file-action&#34;&gt;File Action&lt;/h2&gt;

&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;#!/usr/bin/env bash

# Guillaume Barrette
# 2019-06-25

# Alfred Action Function (pop the Alfred Action Window)
alfa() {
    if [ $# -eq 0 ]; then    # If no arguments, pop Alfred Action Window in the working directory
        osascript -e &amp;quot;tell application id \&amp;quot;com.runningwithcrayons.Alfred\&amp;quot; to action \&amp;quot;$(pwd)\&amp;quot;&amp;quot;
    else
        args=&amp;quot;&amp;quot;
        argsAreAllPaths=true
        for arg in &amp;quot;$@&amp;quot; ; do
            filePath=$(realpath -s &amp;quot;$arg&amp;quot;)
            if [[ -d $filePath ]] || [[ -f $filePath ]]; then    # if the arg is a file of folder, append the path to the args string to build a list for the osascript command
                args+=&amp;quot;\&amp;quot;$filePath\&amp;quot;,&amp;quot;
            else
                argsAreAllPaths=false   # if one argument is not a folder or file path, then pop Alfred with the standard search and try to access Alfred Action Window. This also makes it clear there&#39;s a problem with one of the passed paths
                break
            fi
        done
        if [ &amp;quot;$argsAreAllPaths&amp;quot; = true ] ; then    # If all arguments are files or directories, open Alfred Action Window with the list
            args=${args%?} # remove the trailing comma
            osascript -e &amp;quot;tell application id \&amp;quot;com.runningwithcrayons.Alfred\&amp;quot; to action { $args }&amp;quot;
        else  # If not all arguments are files or directories, search as is and try to access the Alfred Action Window. The Action Window should pop if it&#39;s possible, or the standard Alfred Search would be shown (ex: alfa activity monitor  -&amp;gt;  Would open the file action window of the Activity Monitor)
            actionKey=&amp;quot;keystroke (ASCII character 29)&amp;quot;  # (meaning: right arrow) Put your prefered action key (Alfred -&amp;gt; File Search -&amp;gt; Actions -&amp;gt; Show Actions) as applescript command for keystroke or key code (ex: &amp;quot;key code 98&amp;quot;)
            delayBetweenEvents=0.1    # Play with the number if the action doesn&#39;t work correctly
            osascript -e &amp;quot;tell application id \&amp;quot;com.runningwithcrayons.Alfred\&amp;quot; to search \&amp;quot;$*\&amp;quot;&amp;quot; -e &amp;quot;delay $delayBetweenEvents&amp;quot; -e &amp;quot;tell application \&amp;quot;System Events\&amp;quot; to $actionKey&amp;quot;
        fi
    fi
}
&lt;/code&gt;&lt;/pre&gt;

&lt;h2 id=&#34;links&#34;&gt;Links&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://d.pr/f/rQTPtu&#34; target=&#34;_blank&#34;&gt;CLI Download Link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.alfredforum.com/topic/10917-cardhop-workflow/&#34; target=&#34;_blank&#34;&gt;Alfred Forum - Discussion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/guibarrette&#34; target=&#34;_blank&#34;&gt;Source Code&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Email</title>
      <link>https://guillaumebarrette.com/project/alfred/email/</link>
      <pubDate>Mon, 24 Jun 2019 00:00:00 +0100</pubDate>
      
      <guid>https://guillaumebarrette.com/project/alfred/email/</guid>
      <description>

&lt;p&gt;&lt;img src=&#34;spark-icon.png&#34; class=&#34;header_img&#34;&gt;&lt;/p&gt;

&lt;h2 id=&#34;spark&#34;&gt;Spark&lt;/h2&gt;

&lt;!-- &lt;img src=&#34;spark-icon.png&#34; style=&#34;display:none;&#34;&gt; --&gt;

&lt;!-- &lt;a class=&#34;btn btn-primary&#34; href=&#34;https://d.pr/f/jSrHh3&#34; role=&#34;button&#34; &gt;Download&lt;/a&gt; --&gt;

&lt;p&gt;&lt;a class=&#39;btn
	btn-primary
	btn-sm&#39;
  href=&#39;https://www.alfredforum.com/topic/8821-default-email-client-when-sending-files/?do=findComment&amp;amp;comment=58125&#39; role=&#34;button&#34; &gt;
  
  &lt;i class=&#39;fas fa-comments&#39;&gt;&lt;/i&gt; 
  Discussion
&lt;/a&gt;

&lt;a class=&#39;btn
	btn-primary
	btn-sm&#39;
  href=&#39;https://d.pr/f/jSrHh3&#39; role=&#34;button&#34; &gt;
  
  &lt;i class=&#39;fas fa-download&#39;&gt;&lt;/i&gt; 
  Download
&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;Here is a little plugin to use Spark from Alfred.&lt;/p&gt;

&lt;p&gt;Download the file/plugin and put it into the folder at &lt;code&gt;~/Library/Application Support/Alfred/Plugins/Email/&lt;/code&gt;&lt;/p&gt;

&lt;!-- &amp;emsp;&lt;i class=&#34;fas fa-download&#34;&gt;&lt;/i&gt;&amp;emsp;[Download](https://d.pr/f/jSrHh3) --&gt;

&lt;!-- &amp;emsp;&lt;i class=&#34;fas fa-comments&#34;&gt;&lt;/i&gt;&amp;emsp;[Discussion](https://www.alfredforum.com/topic/8821-default-email-client-when-sending-files/?do=findComment&amp;comment=58125) --&gt;

&lt;pre&gt;&lt;code class=&#34;language-applescript&#34;&gt;-- Use Spark as default email application with Alfred
-- Based on MailMate plugin script: https://www.alfredforum.com/topic/2354-add-support-for-mailmate-email-client/

-- Send an email with an attachment
on url_encode(theText)
  return do shell script &amp;quot;printf &amp;quot; &amp;amp; quoted form of theText &amp;amp; &amp;quot; | xxd -u -plain | sed &#39;s/\\(..\\)/%\\1/g&#39; | tr -d &#39;\\n&#39;&amp;quot;
end url_encode

on create_mailto(_subject, _body, _email, _name)
  set _to to _email
  if (_name is not &amp;quot;&amp;quot;) then
    set _to to _name &amp;amp; &amp;quot; &amp;lt;&amp;quot; &amp;amp; _email &amp;amp; &amp;quot;&amp;gt;&amp;quot;
  end if
  return &amp;quot;mailto:?to=&amp;quot; &amp;amp; url_encode(_to) &amp;amp; &amp;quot;&amp;amp;subject=&amp;quot; &amp;amp; url_encode(_subject) &amp;amp; &amp;quot;&amp;amp;body=&amp;quot; &amp;amp; url_encode(_body)
end create_mailto

on send_email_with_attachment(ename, eemail, esubject, ebody, eattachment)
  set _mailto to create_mailto(esubject, ebody, eemail, ename)
  tell application &amp;quot;Spark&amp;quot;
    activate
    open location _mailto with trust
  end tell
  repeat with attachment in eattachment
    do shell script &amp;quot;open -a Spark \&amp;quot;&amp;quot; &amp;amp; attachment &amp;amp; &amp;quot;\&amp;quot;&amp;quot;
  end repeat
end send_email_with_attachment
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>Snippets</title>
      <link>https://guillaumebarrette.com/project/alfred/snippets/</link>
      <pubDate>Mon, 24 Jun 2019 00:00:00 +0100</pubDate>
      
      <guid>https://guillaumebarrette.com/project/alfred/snippets/</guid>
      <description>

&lt;p&gt;Here are some Alfred&amp;rsquo;s Snippet Collections that I think could be useful to others.&lt;/p&gt;

&lt;h2 id=&#34;links&#34;&gt;Links&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://d.pr/f/n4qtbD&#34; target=&#34;_blank&#34;&gt;Theme Download Link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Terminal</title>
      <link>https://guillaumebarrette.com/project/alfred/terminal/</link>
      <pubDate>Mon, 24 Jun 2019 00:00:00 +0100</pubDate>
      
      <guid>https://guillaumebarrette.com/project/alfred/terminal/</guid>
      <description>

&lt;!-- &lt;img align=&#34;right&#34; width=&#34;40&#34; height=&#34;40&#34; src=&#34;https://raw.githubusercontent.com/akarsh/akarsh-seggemu-resume/master/akarsh%20seggemu%20resume/Assets/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60%403x.png&#34; alt=&#34;Resume application project app icon&#34;&gt; --&gt;

&lt;!-- &lt;div&gt;&lt;img src=&#34;iTerm-icon.png&#34; class=&#34;header_img&#34;&gt; --&gt;

&lt;p&gt;&lt;img src=&#34;iTerm-icon.png&#34; class=&#34;header_img&#34;&gt;&lt;/p&gt;

&lt;h2 id=&#34;iterm&#34;&gt;iTerm&lt;/h2&gt;

&lt;h3 id=&#34;set-as-the-custom-terminal&#34;&gt;Set as the Custom Terminal&lt;/h3&gt;

&lt;!-- This is useful if you are using Alfred&#39;s actions to send a query to your Terminal application (ex: the `Open Terminal Here` file action) --&gt;

&lt;p&gt;1) Go into Alfred&amp;rsquo;s preferences at: &lt;code&gt;Features &amp;gt; Terminal&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;2) Set &lt;code&gt;Application&lt;/code&gt;&amp;rsquo;s drop-down menu to &lt;code&gt;Custom&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;3) Insert this script into the text input area:&lt;/p&gt;

&lt;pre&gt;&lt;code class=&#34;language-applescript&#34;&gt;-- Guillaume Barrette
-- 2019-05-04

on alfred_script(q)
    tell application &amp;quot;iTerm&amp;quot;
        activate
        tell current window
            try
                if is hotkey window then reveal hotkey window
                create tab with default profile
            on error
                create window with default profile
            end try
            tell current session to write text q
        end tell
    end tell
end alfred_script
&lt;/code&gt;&lt;/pre&gt;

&lt;h3 id=&#34;note&#34;&gt;*Note&lt;/h3&gt;

&lt;p&gt;As reference, I was using &lt;a href=&#34;https://github.com/stuartcryan/custom-iterm-applescripts-for-alfred/blob/master/custom_iterm_script_iterm_2.9.applescript&#34; target=&#34;_blank&#34;&gt;this script&lt;/a&gt;, before building my own. I found some problems while using it and decided to create my own version that better work with my workflow. However, I thought I would tell it here in case this other script better work for you.&lt;/p&gt;

&lt;!-- ## Links
- [CLI Download Link](https://d.pr/f/rQTPtu)
- [Alfred Forum - Discussion](https://www.alfredforum.com/topic/10917-cardhop-workflow/)
- [Source Code](https://github.com/guibarrette)
 --&gt;

&lt;!-- --- --&gt;

&lt;!-- ## Hyper &lt;img src=&#34;hyper-icon.png&#34; style=&#34;display:none;&#34;&gt; --&gt;

&lt;p&gt;&lt;div&gt;&lt;img src=&#34;hyper-icon.png&#34; class=&#34;header_img&#34;&gt;&lt;/p&gt;

&lt;h2 id=&#34;hyper&#34;&gt;Hyper&lt;/h2&gt;

&lt;p&gt;&lt;/div&gt;
&lt;!-- &lt;ul class=&#34;fa-ul&#34;&gt;
  &lt;li&gt;
    &lt;i class=&#34;fa-li fas fa-comments&#34;&gt;&lt;/i&gt;
    &lt;a href=&#34;https://www.alfredforum.com/topic/10444-change-default-terminal-to-hyperis/&#34; target=&#34;_blank&#34;&gt;Discussion in the Alfred Forum&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt; --&gt;&lt;/p&gt;

&lt;a class=&#39;btn
	btn-primary
	btn-sm&#39;
  href=&#39;https://www.alfredforum.com/topic/10444-change-default-terminal-to-hyperis/&#39; role=&#34;button&#34; &gt;
  
  &lt;i class=&#39;fas fa-comments&#39;&gt;&lt;/i&gt; 
  Discussion
&lt;/a&gt;


&lt;!-- &amp;emsp;&lt;i class=&#34;fas fa-comments&#34;&gt;&lt;/i&gt;&amp;emsp;[Discussion in the Alfred Forum](https://www.alfredforum.com/topic/10444-change-default-terminal-to-hyperis/) --&gt;

&lt;p&gt;I&amp;rsquo;m not using this Terminal application, but I&amp;rsquo;ve helped some people to make it work for them on the &lt;a href=&#34;https://www.alfredforum.com/topic/10444-change-default-terminal-to-hyperis/&#34; target=&#34;_blank&#34;&gt;Alfred Forum&lt;/a&gt;. I&amp;rsquo;m leaving this here in case this is useful to someone else.&lt;/p&gt;

&lt;p&gt;To use it, just do the same as above with the &lt;a href=&#34;#iterm&#34;&gt;iTerm&lt;/a&gt; terminal, but replace the script with this one:&lt;/p&gt;

&lt;pre&gt;&lt;code class=&#34;language-applescript&#34;&gt;-- Guillaume Barrette
-- 2017-06-30

 on alfred_script(q)
    if (text 1 thru 2 of q) is equal to &amp;quot;cd&amp;quot; then
        do shell script &amp;quot;open -a Hyper &amp;quot; &amp;amp; text 4 thru -1 of q
    else
        do shell script &amp;quot;open -a Hyper ~&amp;quot;
        set appRead to false
        set nbrOfTry to 0
        delay 0.5
        repeat
            try
                tell application &amp;quot;System Events&amp;quot;
                    set appRead to true
                    if exists (window 1 of process &amp;quot;Hyper&amp;quot;) then exit repeat
                end tell
            end try
            set nbrOfTry to nbrOfTry + 1
            if nbrOfTry = 20 then exit repeat
            delay 0.5
        end repeat
        if appRead then tell application &amp;quot;System Events&amp;quot; to keystroke q &amp;amp; return
    end if
end alfred_script
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>Cardhop</title>
      <link>https://guillaumebarrette.com/project/alfred/wf-cardhop/</link>
      <pubDate>Mon, 24 Jun 2019 00:00:00 +0100</pubDate>
      
      <guid>https://guillaumebarrette.com/project/alfred/wf-cardhop/</guid>
      <description>

&lt;!-- ![Cardhop Icon](cardhop-icon-big@2x.png) --&gt;







&lt;figure&gt;

&lt;img src=&#34;cardhop-icon-big@2x.png&#34; alt=&#34;Cardhop Icon&#34; width=&#34;20%&#34; &gt;


&lt;/figure&gt;


&lt;!-- ## Links
- &lt;i class=&#34;fas fa-download&#34;&gt;&lt;/i&gt; [Workflow Download Link](https://d.pr/f/rQTPtu)
- &lt;i class=&#34;fas fa-comments&#34;&gt;&lt;/i&gt; [Alfred Forum - Discussion](https://www.alfredforum.com/topic/10917-cardhop-workflow/)
- &lt;i class=&#34;fas fa-code&#34;&gt;&lt;/i&gt; [Source Code](https://github.com/guibarrette) --&gt;

&lt;!-- --- --&gt;

&lt;h2 id=&#34;about-this-workflow&#34;&gt;About this workflow&lt;/h2&gt;

&lt;p&gt;&lt;a href=&#34;https://flexibits.com/cardhop&#34; target=&#34;_blank&#34;&gt;Cardhop&lt;/a&gt; is a contact application that live in your menubar and is developped by &lt;a href=&#34;https://flexibits.com&#34; target=&#34;_blank&#34;&gt;Flexibits&lt;/a&gt;. This workflow add multiple interactions from Alfred.&lt;/p&gt;

&lt;p&gt;&lt;a class=&#39;btn
	btn-primary
	btn-sm&#39;
  href=&#39;https://www.alfredforum.com/topic/10917-cardhop-workflow/&#39; role=&#34;button&#34; &gt;
  
  &lt;i class=&#39;fas fa-comments&#39;&gt;&lt;/i&gt; 
  Discussion
&lt;/a&gt;

&lt;a class=&#39;btn
	btn-primary
	btn-sm&#39;
  href=&#39;https://d.pr/f/rQTPtu&#39; role=&#34;button&#34; &gt;
  
  &lt;i class=&#39;fas fa-download&#39;&gt;&lt;/i&gt; 
  Download
&lt;/a&gt;

&lt;a class=&#39;btn
	btn-primary
	btn-sm&#39;
  href=&#39;https://github.com/guibarrette&#39; role=&#34;button&#34; &gt;
  
  &lt;i class=&#39;fas fa-code&#39;&gt;&lt;/i&gt; 
  Source Code
&lt;/a&gt;
&lt;/p&gt;

&lt;!-- --- --&gt;

&lt;h2 id=&#34;features&#34;&gt;Features&lt;/h2&gt;

&lt;h3 id=&#34;keyword&#34;&gt;Keyword&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a name=&#34;keyword_chc&#34;&gt;&lt;/a&gt;&lt;code&gt;chc&lt;/code&gt; : Search a contact in Alfred and open it in Cardhop&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;a name=&#34;keyword_chs&#34;&gt;&lt;/a&gt;&lt;code&gt;chs&lt;/code&gt; or hotkey : Send the query to Cardhop. If the query is empty, it tries to get the selection from the front application and send it to Carhop (In short, you can select the contact information on it&amp;rsquo;s website or email and call &lt;code&gt;chs&lt;/code&gt; from Alfred and the selection should be sent directly to Cardhop). You can use this action to send the selection or pass a string to your Favorites list (alternative to keyword: &lt;code&gt;chf&lt;/code&gt;) or to the Cardhop&amp;rsquo;s Actions (alternative to keyword: &lt;code&gt;cha&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;a name=&#34;keyword_chf&#34;&gt;&lt;/a&gt;&lt;code&gt;chf&lt;/code&gt; : Send a string from your Favorites list directly to Cardhop (could be used as a Snippets/Bookmarks list to rapidly write a query to Cardhop that you know gives you the right information in it without the need to write it all). Write your list in the Workflow Environment Variables &lt;code&gt;Favorites&lt;/code&gt; and separated by semicolon (&lt;code&gt;;&lt;/code&gt;). Ex: &lt;code&gt;Call mom home;Mail boss work;facetime Complicated Name;website businessName;/MyTag;Direction dentist&lt;/code&gt;&amp;hellip; A variable &lt;code&gt;{q}&lt;/code&gt; could be used to have a placeholder for a string that you want to set just before sending to Cardhop (ex: &lt;code&gt;Email {q} work&lt;/code&gt; where &lt;code&gt;{q}&lt;/code&gt; could be changed to any name at the time that you invoke the workflow).&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;&lt;a name=&#34;keyword_cha&#34;&gt;&lt;/a&gt;&lt;code&gt;cha&lt;/code&gt; : Show a list of possible Carhop actions. If arriving to this function using the Send feature (chs), then the selection or query would be appended to the Cardhop action before sending it.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&#34;hotkey&#34;&gt;Hotkey&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Send the selection to the workflow (alternative to keyword: &lt;a href=&#34;#keyword_chs&#34;&gt;&lt;code&gt;chs&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Send selection directly to Cardhop. For use if you prefer to send the selection directly to Cardhop with a hotkey instead of a keyword&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&#34;fallback-search&#34;&gt;Fallback Search&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Send the query to Cardhop : If you want to write the information directly in Alfred without any keyword before. To make it works, you would need to add the Fallback search into your Alfred Preferences at:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;Features/Default Results/Setup fallback results/+/Workflow Trigger/Send to Cardhop&lt;/code&gt;&lt;/p&gt;

&lt;h3 id=&#34;external-trigger&#34;&gt;External Trigger&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Send a string to Cardhop from an external script. Other external triggers are set in case that you want to pop the &lt;code&gt;Favorites list&lt;/code&gt; or &lt;code&gt;Actions list&lt;/code&gt; from an external script.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Append/Prepend string : Add a string before or after the main string before sending using a predefined list or any string if the query doesn&amp;rsquo;t match an item in the list (Could be useful to have a list of predefined group/tags) (See &lt;a href=&#34;#workflow-environment-variables&#34;&gt;&lt;code&gt;Workflow Environment Variables&lt;/code&gt;&lt;/a&gt; and &lt;a href=&#34;#navigation&#34;&gt;&lt;code&gt;Navigation&lt;/code&gt;&lt;/a&gt; lists below)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;!-- --- --&gt;

&lt;h2 id=&#34;workflow-environment-variables&#34;&gt;Workflow Environment Variables&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Favorites&lt;/code&gt; [list delimited by &lt;code&gt;;&lt;/code&gt;] : See keyword &lt;a href=&#34;#keyword_chf&#34;&gt;&lt;code&gt;chf&lt;/code&gt;&lt;/a&gt; above&lt;/li&gt;
&lt;li&gt;&lt;code&gt;AppendToSend&lt;/code&gt; [list delimited by &lt;code&gt;;&lt;/code&gt;] : Set a predefined list of string to append using the Append feature (ALT key)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PrependToSend&lt;/code&gt; [list delimited by &lt;code&gt;;&lt;/code&gt;] : Set a predefined list of string to prepend using the Prepend feature (CTRL key)&lt;/li&gt;
&lt;/ul&gt;

&lt;!-- --- --&gt;

&lt;h2 id=&#34;navigation&#34;&gt;Navigation&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;CMD&lt;/code&gt; : Go to the Send feature Actions List (&lt;a href=&#34;#keyword_chs&#34;&gt;&lt;code&gt;chs&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ALT&lt;/code&gt; : Activate the selected item and append extra string (using the &lt;a href=&#34;#workflow-environment-variables&#34;&gt;&lt;code&gt;AppendToSend&lt;/code&gt;&lt;/a&gt; list)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;CTRL&lt;/code&gt; : Activate the selected item and prepend extra string (using the &lt;a href=&#34;#workflow-environment-variables&#34;&gt;&lt;code&gt;PrependToSend&lt;/code&gt;&lt;/a&gt; list)&lt;/li&gt;
&lt;/ul&gt;

&lt;!-- --- --&gt;

&lt;h2 id=&#34;tips&#34;&gt;Tips&lt;/h2&gt;

&lt;h3 id=&#34;set-cardhop-as-default-contact-application&#34;&gt;Set Cardhop as default contact application&lt;/h3&gt;

&lt;p&gt;To use Cardhop as default contact application in Alfred:&lt;/p&gt;

&lt;p&gt;Insert &lt;code&gt;x-cardhop://show?id={uid}&lt;/code&gt; into &lt;code&gt;Features &amp;gt; Contacts &amp;gt; Advanced &amp;gt; URL Handler&lt;/code&gt; instead of &lt;code&gt;addressbook://{uid}&lt;/code&gt;&lt;/p&gt;

&lt;h3 id=&#34;directly-activate-an-action-in-cardhop&#34;&gt;Directly activate an action in Cardhop&lt;/h3&gt;

&lt;p&gt;Cardhop seems to delay the keyboard inputs until it has done parsing the query. Therefore, to directly activate an action you can rapidly press &lt;code&gt;Enter&lt;/code&gt; key a second time when you select an item from your &lt;a href=&#34;#workflow-environment-variables&#34;&gt;Favorites&lt;/a&gt; list in Alfred and it should run the first action that Cardhop returns.&lt;/p&gt;

&lt;!-- --- --&gt;

&lt;h2 id=&#34;changelog&#34;&gt;Changelog&lt;/h2&gt;

&lt;h4 id=&#34;2018-02-24-update-version-1-2-5&#34;&gt;2018-02-24 - Update Version 1.2.5&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Cardhop Actions list should now be in your own language (I’m getting the localization from the Cardhop application directly, so you should get the same thing as in the application)&lt;/li&gt;
&lt;li&gt;Some bugs fix&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&#34;2017-11-08-version-1-2-1&#34;&gt;2017-11-08 - Version 1.2.1&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Added &amp;ldquo;Skype for Business&amp;rdquo; in the Cardhop&amp;rsquo;s action list (new action from Cardhop 1.0.2)&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&#34;2017-11-06-update-version-1-2-0&#34;&gt;2017-11-06 - Update Version 1.2.0&lt;/h4&gt;

&lt;h5 id=&#34;new-features&#34;&gt;New Features&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Keyword &amp;ldquo;cha&amp;rdquo; : Show a list of possible Carhop actions. If arriving to this function using the Send feature (chs), then the selection or query would be appended to the Cardhop action before sending it. (Could be used as an easy way to remember possible actions that can be done with Cardhop)&lt;/li&gt;
&lt;li&gt;Favorites List : A new variable &amp;ldquo;{q}&amp;rdquo; could be used to have a placeholder for a string that you want to set just before sending to Cardhop (ex: &amp;ldquo;Email {q} work&amp;rdquo; where {q} could be changed to any name at the time that you invoke the workflow).&lt;/li&gt;
&lt;li&gt;Append/Prepend string : Add a string before or after the main string before sending using a predefined list or any string if the query doesn&amp;rsquo;t match an item in the list (Could be useful to have a list of predefined group/tags: /Business;/Friends&amp;hellip;)&lt;/li&gt;
&lt;/ul&gt;

&lt;h5 id=&#34;new-workflow-environment-variables&#34;&gt;New Workflow Environment Variables&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;AppendToSend : Set a predefined list of string (separated by semicolon &amp;ldquo;;&amp;rdquo;) to append using the Append feature (ALT key)&lt;/li&gt;
&lt;li&gt;PrependToSend : Set a predefined list of string (separated by semicolon &amp;ldquo;;&amp;rdquo;)  to prepend using the Prepend feature (CTRL key)&lt;/li&gt;
&lt;/ul&gt;

&lt;h5 id=&#34;navigation-1&#34;&gt;Navigation&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;CMD : Go to the Send feature Actions List (chs)&lt;/li&gt;
&lt;li&gt;ALT : Activate the selected item and append extra string (using the &lt;a href=&#34;#workflow-environment-variables&#34;&gt;AppendToSend&lt;/a&gt; list)&lt;/li&gt;
&lt;li&gt;CTRL : Activate the selected item and prepend extra string (using the &lt;a href=&#34;#workflow-environment-variables&#34;&gt;PrependToSend&lt;/a&gt; list)&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&#34;2017-11-01-update-version-1-1-0&#34;&gt;2017-11-01 - Update Version 1.1.0&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;New Feature&lt;/strong&gt;
- Added keyword &lt;code&gt;chf&lt;/code&gt; to send a string from your Favorites list directly to Cardhop.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
