Jump to content

kirklove

Member
  • Posts

    8
  • Joined

  • Last visited

kirklove's Achievements

Helping Hand

Helping Hand (3/5)

2

Reputation

  1. Any way to have a cursor appear in the middle of a snippet after executing? For example: snippet would = "Some text here {cursor would end up here} some more text here" after you call it. Hoping for something similar to how Sublime Text does it with the $1
  2. Thanks again for all your help and the wonderful workflow. Much appreciated.
  3. That seems to have done the trick for me. Working now without having to add the alpha: http://cl.ly/image/1U3b3y1Z443g
  4. Great, here is the output: Named Color—Red <?xml version="1.0"?> <items><item uid="tylereich.colors name to hex" arg="hex|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>#ff0000</title><subtitle>Hexadecimal format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors name to hsl" arg="hsl|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>hsl(0, 100%, 50%)</title><subtitle>HSL format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors name to name" arg="name|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>red</title><subtitle>CSS3 named color</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors name to rgb" arg="rgb|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>rgb(255, 0, 0)</title><subtitle>RGB format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors name to rgb_pcnt" arg="rgb_pcnt|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>rgb(100%, 0%, 0%)</title><subtitle>RGB percent format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item></items> ---------- Named Color—No Match <?xml version="1.0"?> <items><item uid="tylereich.colors picker" arg="pick|name" valid="yes" autocomplete=""><title>No Color Matches</title><subtitle>Action this item to reveal the OS X color picker</subtitle><icon>icon.png</icon></item></items> ---------- HSL Notice: Undefined offset: 3 in /Users/kirklove/Dropbox/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.5C53E129-54B2-4086-A9C6-8E4990ACF8E6/colors.php on line 30 <?xml version="1.0"?> <items><item uid="tylereich.colors hsl to hex" arg="hex|{"r":1,"g":1,"b":0,"a":1}" valid="yes" autocomplete=""><title>#ffff00</title><subtitle>Hexadecimal format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff00ff.png</icon></item><item uid="tylereich.colors hsl to hsl" arg="hsl|{"r":1,"g":1,"b":0,"a":1}" valid="yes" autocomplete=""><title>hsl(60, 100%, 50%)</title><subtitle>HSL format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff00ff.png</icon></item><item uid="tylereich.colors hsl to name" arg="name|{"r":1,"g":1,"b":0,"a":1}" valid="yes" autocomplete=""><title>yellow</title><subtitle>CSS3 named color</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff00ff.png</icon></item><item uid="tylereich.colors hsl to rgb" arg="rgb|{"r":1,"g":1,"b":0,"a":1}" valid="yes" autocomplete=""><title>rgb(255, 255, 0)</title><subtitle>RGB format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff00ff.png</icon></item><item uid="tylereich.colors hsl to rgb_pcnt" arg="rgb_pcnt|{"r":1,"g":1,"b":0,"a":1}" valid="yes" autocomplete=""><title>rgb(100%, 100%, 0%)</title><subtitle>RGB percent format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff00ff.png</icon></item></items> ---------- HSLA <?xml version="1.0"?> <items><item uid="tylereich.colors hsl to hex" arg="hex|{"r":1,"g":1,"b":0,"a":"0.5"}" valid="yes" autocomplete=""><title>#ffff0080</title><subtitle>Hexadecimal format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff0080.png</icon></item><item uid="tylereich.colors hsl to hsl" arg="hsl|{"r":1,"g":1,"b":0,"a":"0.5"}" valid="yes" autocomplete=""><title>hsl(60, 100%, 50%, 0.5)</title><subtitle>HSLA format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff0080.png</icon></item><item uid="tylereich.colors hsl to name" arg="name|{"r":1,"g":1,"b":0,"a":"0.5"}" valid="yes" autocomplete=""><title>yellow</title><subtitle>CSS3 named color</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff0080.png</icon></item><item uid="tylereich.colors hsl to rgb" arg="rgb|{"r":1,"g":1,"b":0,"a":"0.5"}" valid="yes" autocomplete=""><title>rgba(255, 255, 0, 0.5)</title><subtitle>RGBA format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff0080.png</icon></item><item uid="tylereich.colors hsl to rgb_pcnt" arg="rgb_pcnt|{"r":1,"g":1,"b":0,"a":"0.5"}" valid="yes" autocomplete=""><title>rgba(100%, 100%, 0%, 0.5)</title><subtitle>RGBA percent format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ffff0080.png</icon></item></items> ---------- RGB Notice: Undefined offset: 3 in /Users/kirklove/Dropbox/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.5C53E129-54B2-4086-A9C6-8E4990ACF8E6/colors.php on line 41 <?xml version="1.0"?> <items><item uid="tylereich.colors rgb to hex" arg="hex|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>#ff0000</title><subtitle>Hexadecimal format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors rgb to hsl" arg="hsl|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>hsl(0, 100%, 50%)</title><subtitle>HSL format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors rgb to name" arg="name|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>red</title><subtitle>CSS3 named color</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors rgb to rgb" arg="rgb|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>rgb(255, 0, 0)</title><subtitle>RGB format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors rgb to rgb_pcnt" arg="rgb_pcnt|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>rgb(100%, 0%, 0%)</title><subtitle>RGB percent format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item></items> ---------- RGBA <?xml version="1.0"?> <items><item uid="tylereich.colors rgb to hex" arg="hex|{"r":1,"g":0,"b":0,"a":0.5}" valid="yes" autocomplete=""><title>#ff000080</title><subtitle>Hexadecimal format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item><item uid="tylereich.colors rgb to hsl" arg="hsl|{"r":1,"g":0,"b":0,"a":0.5}" valid="yes" autocomplete=""><title>hsl(0, 100%, 50%, 0.5)</title><subtitle>HSLA format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item><item uid="tylereich.colors rgb to name" arg="name|{"r":1,"g":0,"b":0,"a":0.5}" valid="yes" autocomplete=""><title>red</title><subtitle>CSS3 named color</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item><item uid="tylereich.colors rgb to rgb" arg="rgb|{"r":1,"g":0,"b":0,"a":0.5}" valid="yes" autocomplete=""><title>rgba(255, 0, 0, 0.5)</title><subtitle>RGBA format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item><item uid="tylereich.colors rgb to rgb_pcnt" arg="rgb_pcnt|{"r":1,"g":0,"b":0,"a":0.5}" valid="yes" autocomplete=""><title>rgba(100%, 0%, 0%, 0.5)</title><subtitle>RGBA percent format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item></items> ---------- Hexadecimal <?xml version="1.0"?> <items><item uid="tylereich.colors hex to hex" arg="hex|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>#ff0000</title><subtitle>Hexadecimal format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors hex to hsl" arg="hsl|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>hsl(0, 100%, 50%)</title><subtitle>HSL format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors hex to name" arg="name|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>red</title><subtitle>CSS3 named color</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors hex to rgb" arg="rgb|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>rgb(255, 0, 0)</title><subtitle>RGB format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item><item uid="tylereich.colors hex to rgb_pcnt" arg="rgb_pcnt|{"r":1,"g":0,"b":0,"a":1}" valid="yes" autocomplete=""><title>rgb(100%, 0%, 0%)</title><subtitle>RGB percent format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff0000ff.png</icon></item></items> ---------- Hexadecimal Alpha <?xml version="1.0"?> <items><item uid="tylereich.colors hex to hex" arg="hex|{"r":1,"g":0,"b":0,"a":0.50196078431373}" valid="yes" autocomplete=""><title>#ff000080</title><subtitle>Hexadecimal format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item><item uid="tylereich.colors hex to hsl" arg="hsl|{"r":1,"g":0,"b":0,"a":0.50196078431373}" valid="yes" autocomplete=""><title>hsl(0, 100%, 50%, 0.502)</title><subtitle>HSLA format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item><item uid="tylereich.colors hex to name" arg="name|{"r":1,"g":0,"b":0,"a":0.50196078431373}" valid="yes" autocomplete=""><title>red</title><subtitle>CSS3 named color</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item><item uid="tylereich.colors hex to rgb" arg="rgb|{"r":1,"g":0,"b":0,"a":0.50196078431373}" valid="yes" autocomplete=""><title>rgba(255, 0, 0, 0.502)</title><subtitle>RGBA format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item><item uid="tylereich.colors hex to rgb_pcnt" arg="rgb_pcnt|{"r":1,"g":0,"b":0,"a":0.50196078431373}" valid="yes" autocomplete=""><title>rgba(100%, 0%, 0%, 0.502)</title><subtitle>RGBA percent format</subtitle><icon>/Users/kirklove/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/tylereich.colors.troubleshooter/ff000080.png</icon></item></items> ---------- Copy With Alpha ---------- Color Picker ---------- Reveal in Color Picker ---------- Clear Cache <?xml version="1.0"?> <items><item uid="tylereich.colors picker" arg="pick|clear" valid="yes" autocomplete=""><title>Color Picker</title><subtitle>Action this item to reveal the OS X color picker</subtitle><icon>icon.png</icon></item></items>
  5. Thanks. I ran it and have the output. Did you want me to paste the output directly into this forum or send it via another method?
  6. Hmm... Yes, sorry without the Alpha channel I get the fallback Google Search... I am using v1.4, downloaded it yesterday. This is what I get: http://cl.ly/image/2G2U0C133828
  7. First off thanks for the great Workflow. Secondly, I'm not sure if I'm doing something wrong or not because when I input rgb(0,0,0) I don't get any results... However if I input rgb(0,0,0,) or rgb(0,0,0,1) I do. When I input a #hex it does return rgb without the trailing , or alpha. Something I need to configure on my end?
×
×
  • Create New...