Jump to content

Alan He

Member
  • Posts

    341
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Alan He

  1. 41 minutes ago, Simon Thoumire said:

    Hi there, Can anyone help? I'm looking to select text and then sort it in alphabetical order. Eg If this text below was on a webpage - is it possible to paste it alphabetically.

    Eg

    Simon
    Alasdair
    Vero
    June

    And paste it as

    Alasdair
    June
    Simon
    Vero.

     

    Many thanks, Simon
     

    you can create a workflow.

     

    I made a sample. download URL:https://github.com/alanhg/alfred-workflows/blob/cfc98d12b1b0a460930aaa494f4063212d5c0604/.sample/Paste in alphabetical order.alfredworkflow

    Screenshot2024-04-16at21_00_49.thumb.png.4b3555656c1fa8a29afdfbf0d54064bc.png

    usage

     

    select multiline text and trigger `Paste in alphabetical order` text action. enter to paste sorted text.

     

  2. On 7/6/2023 at 12:08 AM, vitor said:

    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.

     

     

    I have updated the workflow. just have a try.

     

    feat


    Copy FileName without suffix to clipboard
    Copy FileSize to clipboard
    Convert file to DataURL and copy to clipboard


    screenshot


     I have updated the screenshots.

     

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

     

    @vitor

     

     

     

     

  3. On 2/15/2024 at 3:21 AM, vitor said:

    This is simple enough and looks quite ready to go in the Gallery, but I have a few suggestions:

    • You don’t need the Run Script, you can and should instead use the Run Shortcut automation. That would make it use no code and be a good candidate for the “Good for Learning” category.
    • Would be useful to add a Hotkey Trigger too. I can imagine someone using e.g. ⌘⇧6 to take the screenshot and get the text. By the way: nice use of the Automation Task.

     

     

    Thank you for your suggestion.


     

    1. I have updated the workflow, have a try. 

    2. because I change shortcuts, you must delete the OCR and then trigger the workflow.

    3. I set Hotkey as ⌘ ⇧ 7 because the ⌘ ⇧ 6 conflicts with the system setting. Any user can customize the hotkey.

     

     

    image.thumb.png.9ca6dc218c7d0bd2c96733f5d3e74e55.png

     

     

    image.thumb.png.615a193e61bf68ad7279a3b812a4b553.png

  4. 55 minutes ago, vitor said:

    That commit is from 2021; nothing has changed with the tool since the last time this was discussed. The latest release is still from 2015, thus that’s what’s included in Homebrew, which means it doesn’t work on Apple Silicon (as per the link above). I have triple-checked this.

     

    Since then there have been introduced a couple of new Automation Task which can change brightness up and down without dependencies so anyone can recreate this easily without code. I’ll soon have a workflow to exemplify that and the companion actions.


    Because there doesn’t seem like the brightness situation will change any time soon, closing this submission. Naturally, you’re welcome to keep distributing it in your GitHub repo but it’s not a fit for the Gallery at this time as it won’t work for most people. Thank you anyway.

     

    found it, thank you!

    image.png.cc7b3f7c6ee17b3a4509a832f074856f.png

  5. On 3/25/2023 at 9:08 PM, vitor said:


    They’re not signed and notarised so it doesn’t address the problem. Those won’t even run on user’s machines so your code will continue to fail, just with a different reason.

     

    The point of the requirement is to ensure a degree of security and trust. All of this is covered in the pinned post and we talked about it before too.

     

     

    The latest package "brightness", which the workflow depends on, has been updated. Therefore, it can now run properly on the M1. You can give it a try.

     

    I'm still using the packages from brew as dependencies, and no longer provide unsigned binary files.

     

    image.thumb.png.35ebd1a17e1700f1b70284434684e9e6.png

     

    https://github.com/nriley/brightness/commits/master

  6. 54 minutes ago, vitor said:

    If there were no other dependencies, it would make sense to list it in the workflow as optional (but not install it from the workflow itself). But because there is a mandatory dependency (zbar), adding another (and not have the checkbox) doesn’t add friction.

    ok. I have update the workflow.

     

    and now. 

     

    image.png.f69972360eba3de968142f1ee9902fe2.png

×
×
  • Create New...