Jump to content

protonymus

Member
  • Posts

    14
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

protonymus's Achievements

Helping Hand

Helping Hand (3/5)

1

Reputation

  1. You may also have a look at Search ALL the Docs!
  2. I'm not sure if I understand your post correctly. After installing the workflow, the file 'example_workflow.alfredworkflow' is no longer necessary and can be safely deleted from the Downloads folder (or moved to the trash). A simple workflow designed to empty the Downloads folder directly from Alfred workflows could also serve the purpose. I don't think there's an automated option, but perhaps someone else has more information.
  3. I think the difficult part is converting HTML to the Markdown flavor compatible with Alfred. For a first test, I tried using pandoc, but it failed.
  4. @vitor I like your example. If I may suggest a compact mdfind alternative: #!/usr/bin/env zsh # Perform mdfind search and populate jsonObjects array while IFS= read -r resultPath; do jsonObject='{ "uid":"'$resultPath'", "icon":{"path":"'$resultPath'"}, "arg":"'$resultPath'", "subtitle":"~'${resultPath/#$HOME/}'", "title":"'$(basename "$resultPath")'", "type":"file" }' jsonObjects+=("$jsonObject") done < <(mdfind "kMDItemContentType == 'com.adobe.pdf'" -onlyin ~) # Search PDF files only in home #done < <(mdfind "*" -onlyin ~ 2>/dev/null) # search all in home # Convert jsonObjects array to JSON JSON='{"items":['$(IFS=, ; echo "${jsonObjects[*]}")']}' # Output JSON echo "$JSON" @andy4222 & @vitor To achieve this, would one need to first populate the 'Grid View' with all files and then filter the results using a 'Search Field' of the 'Grid View'?
  5. Hi Gerave, It seems that the issue stems from the absence of a 'jq' installation. I apologize for not mentioning that 'jq' is a prerequisite. In my setup, it was installed via Homebrew (or a Homebrew Formula), which I overlooked. Could you check if 'jq' is installed? Just type 'which jq' in a terminal window. If it's there, then please take a look at the debug output of Alfred.
  6. An Alfred Workflow (v5.5 or higher) showing information about FRITZ!DECT Smart Home Devices. Gnuplot is required to generate charts. Download FRITZ!BoxSmartHomeCheck.alfredworkflow from here.
  7. New version! Now utilizing Text View from Alfred 5.5. Download PubChem2.alfredworkflow from here.
  8. Thank you for your reply. I've tested it with very small images. What puzzles me a bit is that pic1 is not shown at all in the above scenario. Therefore I thought it could be a bug.
  9. When attempting to display two images side-by-side within a TextView using Markdown, it seems that only the last image is rendered. ![pic1](./images/pic1.png) ![pic2](./images/pic2.png) In this scenario only pic2.png is displayed. Is there a way to display two images side-by-side? I posted it here because I'm not sure if it's a bug.
  10. An Alfred Workflow that utilizes PubChem's PUG REST, PUG View, and Auto-Complete Search Service to fetch selected properties for chemical compounds. From the web page: "PubChem is the world's largest collection of freely accessible chemical information." Download PubChem.alfredworkflow from here.
  11. A molar mass and mass fraction calculator written in Python 3 for Alfred using the 'Script Filter'. Python 3 has to be installed to use the workflow. 1. Run the Molar Mass Calculator keyword (mm) or set your own keyword. 2. Type the empirical formula. 3. Press `⏎` (Enter) to copy the results to the clipboard. Download Molar_Mass_Calculator.alfredworkflow from here.
  12. Simpsons Quotes from https://thesimpsonsquoteapi.glitch.me in Alfred. Download Simpsons_Quotes.alfredworkflow from here.
  13. A simple workflow for searching the web with DEVONagent search sets. Download DEVONagent_Search.alfredworkflow from here. Run the DEVONagent keyword (`das`) or set your own keyword to search with different DEVONagent search sets. 1. Type what you are interested in: 2. Select search set:
×
×
  • Create New...