Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Recently got an HHKB (Happy Hacking Keyboard Professional2) and rest it over the on-board keyboard on my MacBook Pro while in use. However, because it's so small (60% keyboard), the bottom half activates keys on the on-board keyboard. So I made a little Alfred workflow that uses a "keyon" or "keyoff" keyword to enable or disable the on-board keyboard. It requires admin privileges since it runs a sudo command via AppleScript, but works fine and makes it quick and easy to toggle between setups. WARNING: Do not disable your keyboard if you need it to [easily] enable it again. DOWNLOAD: Keyboard Enable/Disable by Codewyn
  2. Not sure if this exists or if the question has already been posed in the forum, but I am looking for a workflow that extends the functionality of the Web Search feature to make it more granular. Perhaps it's not a question of a workflow being developed but of the base feature being extended, but I want to pose the idea either way... So the current Web Search gives you one variable: {query}. This only enables you to replace the location of the variable in the URL with the literal string you search. This has limits, though. Many sites don't have a clear structure for this. For instance, if I am searching for a Bible verse, if I use BibleGateway.com I can easily replace the full string... http://www.biblegateway.com/passage/?search={query}&version=NASB Searching for "John 8:32" yields a valid URL... http://www.biblegateway.com/passage/?search=John%208%3A32&version=NASB However, if I search another similar site - BibleHub.com - I am not able to replace it the same. Browsing to the same verse yields the following URL structure... http://biblehub.com/john/8-32.htm {query} would not be sufficient since there are separators. So if I were to search for "John 8:32" at the same site, I would need three separate variables to translate into the URL: "John" being {query1}, "8" being {query2} and "32" being {query3}, for the following search URL... http://biblehub.com/{query1}/{query2}-{query3}.htm For it to yield... http://biblehub.com/john/8-32.htm What's more, I would need to define variables for the search string as well, so it interprets based on placement and ignores certain characters (i.e.: the colon ":"). So a separate field for defining the search string variables would look something like this... "{searchString1} {searchString2}:{searchString3}" Then the placement of the user input is interpreted by the searchString# and translated to the corresponding query#. I apologize if any of this is confusing. If so, I would be happy to elabote further. Does anyone know if a similar solution exists, or is in the works, or can otherwise be incorporated into Alfred?
  3. New Alfred [Powerpack] user here, with a first theme submission. Made these minimalist themes for personal use and decided to share them - Morning is my go-to. Names inspired by the Charles Spurgeon devotional, Morning and Evening. Enjoy. Morning: ...download Morning by Codewyn ...import Morning by Codewyn: alfred://theme/searchForegroundColor=rgba(65,65,65,1.00)&resultSubtextFontSize=0&searchSelectionForegroundColor=rgba(255,255,255,1.00)&separatorColor=rgba(255,255,255,0.00)&resultSelectedBackgroundColor=rgba(0,0,0,0.00)&shortcutColor=rgba(214,214,214,1.00)&scrollbarColor=rgba(213,213,213,1.00)&imageStyle=4&resultSubtextFont=Helvetica&background=rgba(255,255,255,1.00)&shortcutFontSize=1&searchFontSize=2&resultSubtextColor=rgba(214,214,214,1.00)&searchBackgroundColor=rgba(0,0,0,0.00)&name=Morning&resultTextFontSize=2&resultSelectedSubtextColor=rgba(95,95,95,1.00)&shortcutSelectedColor=rgba(0,0,0,1.00)&widthSize=3&border=rgba(0,0,0,0.50)&resultTextFont=Helvetica&resultTextColor=rgba(203,203,203,1.00)&cornerRoundness=3&searchFont=Helvetica&searchPaddingSize=0&credits=Codewyn&searchSelectionBackgroundColor=rgba(214,214,214,1.00)&resultSelectedTextColor=rgba(0,0,0,1.00)&resultPaddingSize=2&shortcutFont=Helvetica Evening: ...download Evening by Codewyn ...import Evening by Codewyn: alfred://theme/searchForegroundColor=rgba(191,191,191,1.00)&resultSubtextFontSize=0&searchSelectionForegroundColor=rgba(255,255,255,1.00)&separatorColor=rgba(255,255,255,0.00)&resultSelectedBackgroundColor=rgba(0,0,0,0.00)&shortcutColor=rgba(50,50,50,1.00)&scrollbarColor=rgba(94,94,94,1.00)&imageStyle=8&resultSubtextFont=Helvetica&background=rgba(0,0,0,1.00)&shortcutFontSize=1&searchFontSize=2&resultSubtextColor=rgba(52,52,52,1.00)&searchBackgroundColor=rgba(0,0,0,0.00)&name=Evening&resultTextFontSize=2&resultSelectedSubtextColor=rgba(80,80,80,1.00)&shortcutSelectedColor=rgba(255,255,255,1.00)&widthSize=3&border=rgba(255,255,255,0.20)&resultTextFont=Helvetica&resultTextColor=rgba(65,65,65,1.00)&cornerRoundness=3&searchFont=Helvetica&searchPaddingSize=0&credits=Codewyn&searchSelectionBackgroundColor=rgba(34,34,34,1.00)&resultSelectedTextColor=rgba(255,255,255,1.00)&resultPaddingSize=2&shortcutFont=Helvetica
  • Create New...