Jump to content

File Enhancer

Alan He

Recommended Posts


file action to enhance file operation




brew install imagemagick
brew install duti



  1. copy file name without suffix
  2. copy file size without suffix
  3. copy pixel size for image file
  4. convert file to dataURL
  5. support set default application for file type






downloadUrl: https://github.com/alanhg/alfred-workflows/tree/master/file-enhancer


Edited by Alan He
Link to comment
Share on other sites

  • Alan He changed the title to File Enhancer

Thank you for the submission but there are some issues which prevent inclusion:

  • You’re using /usr/local/bin/identify as an absolute path. As we’ve discussed before, you cannot use /usr/local/bin because it will not work for people on Apple Silicon since that’s not where Homebrew installs things.
  • The escaping is incorrect in a few places. Always prefer with input as argv over with input as {query}.
  • Always quote your variables. A few of these actions will break on things with spaces.
  • There’s a specific mention to ~/Applications/JetBrains Toolbox which is particular to your set up.
  • The screenshots have a lot of unrelated entries. Check your other workflows in the Gallery. See how all the screenshots show only things directly related to the specific workflow? Also note how they all list real-looking data and not test names. That is imperative to ensure users aren’t confused about what your workflow is supposed to do or not.

Ultimately, this one seems a bit too geared to your specific usage. Workflows in the Gallery should be useful to a larger number of users, so passing on it as well.

With this latest batch, it seems you’re sending in your submissions as soon as you release the first workflow version, so these simple repeated issues are not getting caught. For future submissions, please post them first to the Share your Workflows subforum and let them get a few users first. After it’s clear other people are using the workflow, that other people have tested it and bugs have been ironed out, we can then proceed to the next step of submitting for the Gallery.

Please don’t get discouraged by this last batch of refusals. They’re not necessarily permanent, it was just an unfortunate coincidence that these latest ones don’t happen to be a fit. You already have five workflows in the Gallery, so I have little doubt you’ll have more.

Have a great week, and thank you again for the submissions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...