Jump to content

Mr Pennyworth

Member
  • Posts

    175
  • Joined

  • Last visited

  • Days Won

    10

Reputation Activity

  1. Like
    Mr Pennyworth got a reaction from allonli in [WIP, POC] Spotlight like rich preview pane for alfred workflows   
    Thanks @Alfred0!
     
    My most favorite use-case is actually something that I hadn't originally thought about:
    "Search Google as You Type"
     
    Google has become more and more of a question-answering-machine.
    So many times, I just want a quick answer and am not looking at reading articles/blogs etc.
    For those cases, the mode of operation is "search google -> look at result -> move on".
     
    The extra pane fits so well for them!
    And ofc, pressing enter would open the same page in browser if I want to interact with that page further.

    @Andrew The above involved writing this script filter:

    I would agree that writing such a script filter is a minimal-effort, no-hassle thing.
    It does feel like a teeny-tiny duplication-of-function though, given that Alfred already has awesome web-searches.
    Is there a way to access the URL the web-searches are building?
    Or, would it be possible to expose those URLs through press-secretary?
    Or, is that not desirable due to privacy concerns?
     
    Also, is there a programmatic way of accessing the web-searches? cc: @deanishe @vitor
    (that way, someone could programmatically build a workflow mirroring the web-searches and their keywords if they want)
    I scoured through various plists and alfdbs, but couldn't find where they are stored...
    Are they stored in some proprietary format / right inside the binary?
    Or did I miss something obvious?
     
    Having said all this, I must agree I don't really foresee much value in doing this for all web-searches because with the exception of google and wolframalpha, I would assume most of the searches are such that they require further interactions with results (like clicking a link, copying some text etc).
     
    Aside:
    Here's a different (vertical) configuration I've been toying with:

     
  2. Like
    Mr Pennyworth got a reaction from xgo in Fuzzy File Search: Bring Powers of fzf to Alfred   
    Instant Fuzzy File Search: Download

     
    List all the files inside a folder using fd, and instantly fuzzy-search through all of them using fzf, all from inside Alfred with a single keyword: fzf.

    Screenshots
    Invoke with fzf

    Search through tens of thousands of files

    Fuzzy search shows most relevant results

    There's a folder action too!

    Search even inside apps

    Manually create folder-specific keywords

     
    Alternative and comparison
    Fuzzy Folders is another fuzzy search workflow that is more configurable and customizable. Instant Fuzzy File Search doesn’t have any plans to match all the features supported by Fuzzy Folders. Neither does it aim to be as easy to customize. Take a look at the table below for a quick comparison between the two.
     

     
  3. Like
    Mr Pennyworth got a reaction from woz_one in Fuzzy File Search: Bring Powers of fzf to Alfred   
    Glad you find it useful!
     
    That's a good point! I should change it when I get around to it
     
    Nope, that's not possible right now, and unlikely to be implemented. That's because I haven't yet found the need where I frequently search inside multiple folders. Especially given that it is fuzzy search, most of the time, just searching the parent folder should do.
  4. Like
    Mr Pennyworth got a reaction from jeffbyrnes in Fuzzy File Search: Bring Powers of fzf to Alfred   
    Instant Fuzzy File Search: Download

     
    List all the files inside a folder using fd, and instantly fuzzy-search through all of them using fzf, all from inside Alfred with a single keyword: fzf.

    Screenshots
    Invoke with fzf

    Search through tens of thousands of files

    Fuzzy search shows most relevant results

    There's a folder action too!

    Search even inside apps

    Manually create folder-specific keywords

     
    Alternative and comparison
    Fuzzy Folders is another fuzzy search workflow that is more configurable and customizable. Instant Fuzzy File Search doesn’t have any plans to match all the features supported by Fuzzy Folders. Neither does it aim to be as easy to customize. Take a look at the table below for a quick comparison between the two.
     

     
  5. Like
    Mr Pennyworth got a reaction from 40-02 in Fuzzy File Search: Bring Powers of fzf to Alfred   
    Glad you find it useful!
     
    That's a good point! I should change it when I get around to it
     
    Nope, that's not possible right now, and unlikely to be implemented. That's because I haven't yet found the need where I frequently search inside multiple folders. Especially given that it is fuzzy search, most of the time, just searching the parent folder should do.
  6. Like
    Mr Pennyworth got a reaction from 40-02 in Fuzzy File Search: Bring Powers of fzf to Alfred   
    Instant Fuzzy File Search: Download

     
    List all the files inside a folder using fd, and instantly fuzzy-search through all of them using fzf, all from inside Alfred with a single keyword: fzf.

    Screenshots
    Invoke with fzf

    Search through tens of thousands of files

    Fuzzy search shows most relevant results

    There's a folder action too!

    Search even inside apps

    Manually create folder-specific keywords

     
    Alternative and comparison
    Fuzzy Folders is another fuzzy search workflow that is more configurable and customizable. Instant Fuzzy File Search doesn’t have any plans to match all the features supported by Fuzzy Folders. Neither does it aim to be as easy to customize. Take a look at the table below for a quick comparison between the two.
     

     
  7. Like
    Mr Pennyworth got a reaction from Hirokey in Better Dictionaries   
    Sorry, it is currently not possible. I'm working on next version where it can be configured 🤞🏼
  8. Like
    Mr Pennyworth got a reaction from jakehello in Fuzzy File Search: Bring Powers of fzf to Alfred   
    Instant Fuzzy File Search: Download

     
    List all the files inside a folder using fd, and instantly fuzzy-search through all of them using fzf, all from inside Alfred with a single keyword: fzf.

    Screenshots
    Invoke with fzf

    Search through tens of thousands of files

    Fuzzy search shows most relevant results

    There's a folder action too!

    Search even inside apps

    Manually create folder-specific keywords

     
    Alternative and comparison
    Fuzzy Folders is another fuzzy search workflow that is more configurable and customizable. Instant Fuzzy File Search doesn’t have any plans to match all the features supported by Fuzzy Folders. Neither does it aim to be as easy to customize. Take a look at the table below for a quick comparison between the two.
     

     
  9. Like
    Mr Pennyworth got a reaction from cands in Fuzzy File Search: Bring Powers of fzf to Alfred   
    Instant Fuzzy File Search: Download

     
    List all the files inside a folder using fd, and instantly fuzzy-search through all of them using fzf, all from inside Alfred with a single keyword: fzf.

    Screenshots
    Invoke with fzf

    Search through tens of thousands of files

    Fuzzy search shows most relevant results

    There's a folder action too!

    Search even inside apps

    Manually create folder-specific keywords

     
    Alternative and comparison
    Fuzzy Folders is another fuzzy search workflow that is more configurable and customizable. Instant Fuzzy File Search doesn’t have any plans to match all the features supported by Fuzzy Folders. Neither does it aim to be as easy to customize. Take a look at the table below for a quick comparison between the two.
     

     
  10. Like
    Mr Pennyworth reacted to Andrew in Cannot pass strings with # to web search if url itself contains #, or if string has more than one #   
    Alfred (as of 4.3) actually has a new internal URL parser which, on quickly checking, actually handles this specific scenario correctly. This URL parser is used in most places throughout Alfred, but currently not in Custom Searches and the workflow Open URL Action, as I want it to be fully tested and verified before potentially causing a regression for a highly used "working" feature in Alfred.
     
    URL parsing is in fact an extremely complex task to do correctly, as there are a number of assumptions which have to be made, which is why Apple's own APIs don't do it automatically. Alfred's parser splits the URL string into the relevant components, then uses Apple's NSURLComponents to construct and encode the URL.
     
    Just as a purely "as interest" note, here is a screenshot of the internal testing tool I created to Alfred's [future] URL parser to make it easy to see that URLs were being split and parsed correctly:

    Cheers,
    Andrew
     
     
  11. Like
    Mr Pennyworth got a reaction from deanishe in Fuzzy File Search: Bring Powers of fzf to Alfred   
    Instant Fuzzy File Search: Download

     
    List all the files inside a folder using fd, and instantly fuzzy-search through all of them using fzf, all from inside Alfred with a single keyword: fzf.

    Screenshots
    Invoke with fzf

    Search through tens of thousands of files

    Fuzzy search shows most relevant results

    There's a folder action too!

    Search even inside apps

    Manually create folder-specific keywords

     
    Alternative and comparison
    Fuzzy Folders is another fuzzy search workflow that is more configurable and customizable. Instant Fuzzy File Search doesn’t have any plans to match all the features supported by Fuzzy Folders. Neither does it aim to be as easy to customize. Take a look at the table below for a quick comparison between the two.
     

     
  12. Like
    Mr Pennyworth got a reaction from luckman212 in [WIP, POC] Spotlight like rich preview pane for alfred workflows   
    Thanks @Alfred0!
     
    My most favorite use-case is actually something that I hadn't originally thought about:
    "Search Google as You Type"
     
    Google has become more and more of a question-answering-machine.
    So many times, I just want a quick answer and am not looking at reading articles/blogs etc.
    For those cases, the mode of operation is "search google -> look at result -> move on".
     
    The extra pane fits so well for them!
    And ofc, pressing enter would open the same page in browser if I want to interact with that page further.

    @Andrew The above involved writing this script filter:

    I would agree that writing such a script filter is a minimal-effort, no-hassle thing.
    It does feel like a teeny-tiny duplication-of-function though, given that Alfred already has awesome web-searches.
    Is there a way to access the URL the web-searches are building?
    Or, would it be possible to expose those URLs through press-secretary?
    Or, is that not desirable due to privacy concerns?
     
    Also, is there a programmatic way of accessing the web-searches? cc: @deanishe @vitor
    (that way, someone could programmatically build a workflow mirroring the web-searches and their keywords if they want)
    I scoured through various plists and alfdbs, but couldn't find where they are stored...
    Are they stored in some proprietary format / right inside the binary?
    Or did I miss something obvious?
     
    Having said all this, I must agree I don't really foresee much value in doing this for all web-searches because with the exception of google and wolframalpha, I would assume most of the searches are such that they require further interactions with results (like clicking a link, copying some text etc).
     
    Aside:
    Here's a different (vertical) configuration I've been toying with:

     
  13. Haha
    Mr Pennyworth got a reaction from deanishe in get bundle_id of frontmost app in Alfred workflow?   
    Reading forum posts properly would save me some precious time! 🤦🏻‍♂️🤣
  14. Thanks
    Mr Pennyworth reacted to deanishe in get bundle_id of frontmost app in Alfred workflow?   
    It's not the calling that takes the time, it's the importing.
  15. Haha
    Mr Pennyworth reacted to obadiahcruz in Open any app in other desktops when using alfred cmd+space to change to current desktop   
    I am unfortunately a potato... 😕 
     
    aha jk okay thank you for the reply and answer
  16. Thanks
    Mr Pennyworth reacted to Chris Messina in CleanShot X Workflow   
    Sure — here you go. LMKWYT.
     
     
    I've requested public documentation and the developer seemed willing to provide it!
  17. Like
    Mr Pennyworth reacted to Chris Messina in CleanShot X Workflow   
    Yes exactly! It was the Raycast extension that lead me to create my Workflow. 
     
     
    Also yes! 
     
    I have a Workflow that will extract Asset Catalogs with a hotkey. I use it constantly! Let me know if I should release it.
     
    BTW, I'm in touch w/ the Cleanshot developer. If there are features or improvements you'd like to suggest, let me know! 
     

  18. Like
    Mr Pennyworth got a reaction from donnacha in CleanShot X Workflow   
    CleanShot X Workflow: Download

     
    Requiremens

    Alfred 4 CleanShot X (version 3.5.1 or above)


    Screenshots




    Credits
    This workflow is based on, and a slight improvement of, Raycast’s CleanShot X script commands.
     
    Icon Credits
    Some icons from by srip and freepik from flaticon.
  19. Like
    Mr Pennyworth got a reaction from cands in CleanShot X Workflow   
    @paulminors I uploaded a "fix" https://github.com/mr-pennyworth/alfred-cleanshot/releases/download/0.0.5/CleanShot.alfredworkflow
     
    Can you try it and see if it works?
    Because I don't have Big Sur, it was not possible for me to test it.
    Let me know in either cases whether it works or doesn't
  20. Thanks
    Mr Pennyworth reacted to vitor in CleanShot X Workflow   
    @Mr Pennyworth To find URL schemes supported by an app, reading the ${app_path}/Contents/Info.plist file and looking for CFBundleURLSchemes tag if often enough. Or doing /usr/libexec/PlistBuddy -c 'print :CFBundleURLTypes' "${app_path}/Contents/Info.plist".

    But I think you’ll like this more: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump URLSchemeBinding. It shows every available URL scheme (on your machine).

    As to how to use them, that’s the job of the developer’s documentation.
  21. Like
    Mr Pennyworth reacted to Andrew in Disable quicklook for Script Filter object   
    Reading this, it seems like if the Script Filter quicklookurl param is specifically set to an empty string or null, Alfred should respect that as not wanting quicklook for this result. The absence of quicklookurl will still be treated as it is currently, and falls back to arg.
     
    Can anybody think of a reason this would be a bad idea, or cause regressions with their current Script Filters?
  22. Thanks
    Mr Pennyworth reacted to poirpom in CleanShot X Workflow   
    @Mr Pennyworth Awesome workflow. Thank you very much for sharing it. 🙏
  23. Like
    Mr Pennyworth reacted to Chris Messina in CleanShot X Workflow   
    Ha! I made a much more basic version of this but never released it... nice job! 
     

  24. Like
    Mr Pennyworth got a reaction from Grug in CleanShot X Workflow   
    CleanShot X Workflow: Download

     
    Requiremens

    Alfred 4 CleanShot X (version 3.5.1 or above)


    Screenshots




    Credits
    This workflow is based on, and a slight improvement of, Raycast’s CleanShot X script commands.
     
    Icon Credits
    Some icons from by srip and freepik from flaticon.
  25. Like
    Mr Pennyworth got a reaction from vitor in MenuBar as context menu   
    Hey @deanishe I see your "I missed 'context menu'" and I raise you to "I missed the whole paragraph about not wanting to use another app" 🤣
     
    @vitor has a nice and gentle way of asking "have you even read the post fully?"
    Thanks! 😇
×
×
  • Create New...