Jump to content

xilopaint

Member
  • Posts

    894
  • Joined

  • Last visited

  • Days Won

    24

Reputation Activity

  1. Thanks
    xilopaint reacted to Andrew in [Solved] Output of Run Script (osascript) action terminates with line break   
    @CJK Alfred doesn't process the output of a Run Script object in any way, and osascript non-optionally appends a newline to any output (which could be seen as an osascript bug, but I suspect this behaviour will never change).
     
    You have a couple of options:
     
    1. If you switched your script to bash, then use echo -n for output, you'll get the output as expected.
     
    2. Add a Transform utility object after your Run Script set to trim the output. This will remove the newline from your osascript.
     
    This has come up before, and my opinion remains that Alfred shouldn't automatically process the output of ant Run Script objects (e.g. to trim), as this would lead to more unexpected behaviour than not.
     
    Cheers,
    Andrew
     
    [moving to workflow help].
  2. Like
    xilopaint reacted to dood in YouTube Search   
    Works great, thanks!
  3. Like
    xilopaint got a reaction from zeitlings in AlfredOCR - Optical Character Recognition   
    Thanks for the fix. I'm very impressed with the code simplicity given the quality of the text recognition. We can see Apple has done a great job with the Vision framework.
  4. Like
    xilopaint got a reaction from Grug in Things for Alfred – Interact with Things 3 using Alfred   
    Things for Alfred

    Interact with Things 3 using Alfred.

    Download and Installation
    Download the workflow file from GitHub releases and install it by double-clicking on Things.alfredworklow.

    Usage
    Use the keyword todo to show Things lists and action any of them for displaying the corresponding to-dos. Action a to-do to display it in the Things UI. Try the modifier keys either in lists or in to-dos to know other actions. Contribute
    To report a bug or request a feature, please create an issue or submit a pull request on GitHub.

    Credits
    This workflow relies on qWorkflow library by Ursan Razvan and OneUpdater by Vítor Galvão. The to-do icon is created by Jason Zigrino and released under the Creative Commons BY-NC-ND 3.0 license.

    License
    Things workflow code is released under the MIT License.
  5. Thanks
    xilopaint reacted to Andrew in Typo in built-in web search name [Fixed in 5.1 b2129 pre-release]   
    @xilopaint this is now fixed in the 5.1 b2129 pre-release
  6. Like
    xilopaint got a reaction from Benzi in Menu Bar Search   
    I replied in your GitHub issue @Benzi. Thanks again for working on this amazing tool.
  7. Thanks
    xilopaint reacted to Benzi in Menu Bar Search   
    Sorry about the huge gap and delay in responding - I had some issues setting up my apple developer ID, but sorted that out finally!
     
    Appreciate if you could test v2.0 pre-release here and see if the notarisation works:
    https://github.com/BenziAhamed/Menu-Bar-Search/releases
     
    cc @vitor @xilopaint
  8. Like
    xilopaint reacted to Andrew in Typo in built-in web search name [Fixed in 5.1 b2129 pre-release]   
    Thanks for spotting!
  9. Like
    xilopaint reacted to Vero in ChatFred: OpenAI's GPT-model workflow   
    Thanks for the workflow, @chrislemke - It was fun to play with it, so I used it to write a blog post about itself! 😄
     
    For those who'd like to read what happens when you ask ChatGPT to write the blog post and DALL-E 2 to create an image for it, this is what you get:
     
    https://www.alfredapp.com/blog/fun-and-interesting/chatgpt-bringing-ai-to-alfred-with-chatfred/
     
    Cheers,
    Vero
  10. Like
    xilopaint reacted to zeitlings in AlfredOCR - Optical Character Recognition   
    I guess so. My first experiments, from which the workflow is derived, were actually with PDF documents. I'll play around with that sometime.
  11. Like
    xilopaint reacted to zeitlings in AlfredOCR - Optical Character Recognition   
    Alfred OCR
    I noticed that Apple's Vision framework finally produces some usable results.
    This means: No external dependencies are required to perform the OCR.
     

     
       Alfred OCR Light
     
    The workflow allows you to copy text from images using optical character recognition.
    Take a snapshot with your mouse or trackpad to automatically copy the recognized text to the clipboard. 

     
       Alfred OCR+
     
    The workflow allows you to copy text from images, or to convert PDF files into searchable PDF documents
    using optical character recognition, and to apply compression to PDF documents.
     
    1 / Snapshot
    Take a snapshot with your mouse or trackpad to automatically copy the recognized text to the clipboard. 
    Default shortcut: ⌘+⇧+6  Default keyword: ocr  
    2 / PDF Document
    To convert a PDF into a searchable PDF document, pass it to the workflow’s Universal Action.  To compress the resulting PDF, pass the source document on while pressing the ⌘+⇧ keys. To open the resulting PDF, pass the source document on while pressing the ⌥+⇧ keys. To force the replacement of a source document, pass it on while pressing the ⌥+⌘ keys. To compress a PDF without performing OCR, pass it to the Compress PDF Document File Action. To view the progress tracker, re-enable the workflow with the Keyword (default: ocr).
     
     
    Configuration
    To open the OCR Workflow Configuration, type the keyword preceeded by a colon (default: ocr).

     
    Languages
    Specify the languages you want the OCR process to consider by adding the appropriate RFC-5646 language tag. The following languages (and regions) are currently supported: en-US, fr-FR, it-IT, de-DE, es-ES, pt-BR, zh-Hans, zh-Hant, yue-Hans, yue-Hant, ko-KR, ja-JA, ru-RU, uk-UA

    Explanations:
    en-US: (English as used in the United States) de-DE: (German as used in Germany) fr-FR: (French as used in France) it-IT: (Italian as used in Italy) es-ES: (Spanish as used in Spain) pt-BR: (Portuguese as used in Brazil) ko-KR: (Korean as used in South Korea) uk-UA: (Ukrainian as used in Ukraine) ja-JA: (Japanese as used in Japan) ru-RU: (Russian as used in Russia) yue-Hant: (Traditional Cantonese) yue-Hans: (Simplified Cantonese) zh-Hant: (Traditional Chinese) zh-Hans: (Simplified Chinese)  
    Change Log
     
    v1.4.0 (OCR+)
    Added bitmap compression and compression facets Added embedding strategy options "Word Granularity" attempts to embed the text word by word "Line Oriented" is the strategy previously used (use if you encounter unexpected results) Improved OCR embedding granularity Fixed 'Recognizer init' error v1.3.0 (OCR+)
    Added PDF compression Added a keyword for quick access to the workflow configuration (Alfred 5.1+) Added Universal Action modifier option to apply compression to PDFs (⇧⌘) Added Universal Action modifier option to open converted PDFs in the default application (⌥⇧) Added a configuration option to open converted PDFs in the default application Added a configuration option to specify how text should be joined when taking a snapshot Added a File Action to compress PDF documents Changed the modifier keys to replace a PDF and added noticeable visual cues (⌥⌘) Changed the way an export strategy is specified by using a pop-up selection box Improved performance v1.2.3 (OCR+)
    Fixed an error thrown due to missing workflow cache directory Fixed snapshot tasks queuing up if they are started before the previous task has finished Added explicit opt-out of Snapshot tasks while PDF conversions are running v1.2.2 (OCR+)
    Fixed low contrast output images produced for some PDF documents Added progress tracker for the document recognition process Added three options to handle document output: export to location, copy to same location and replace. Priority behavior: Replace > Copy > Export. Added new icons Improved output file size for PDF documents that do not already contain text  
    v1.2.0 (OCR Light)
    Add File Action to extract text from images Fix for macOS Sonoma (Compiles the script en passant to compensate for the failure to link objc symbols on macOS 14). v1.1.1 (OCR Light)
    Adds if #available check to accommodate macOS 12.0 v1.1.0 (OCR Light)
    Updated configuration and documentation Added new icon
  12. Like
    xilopaint got a reaction from chrislemke in ChatFred: OpenAI's GPT-model workflow   
    I was using v1.1.0-dev. I just deleted the workflow and installed it again and now I have the keyword. It might have something to do with how Alfred handles updates when you have the option "Migrate my workflow customizations" checked.
  13. Like
    xilopaint got a reaction from vitor in Window Switcher — Switch to a specific window of an app in the current Desktop Space   
    Much better now. Thanks!
  14. Like
    xilopaint reacted to vitor in Window Switcher — Switch to a specific window of an app in the current Desktop Space   
    Updated to 2023.1.
    Rewritten in Swift for a massive speed boost. Show windows in stacking order. Improved messaging when no windows found. Improved handling of Unnamed windows.
    You can download the update on GitHub. It’s not yet live on the Gallery as I’d like some feedback. If you’re on Big Sur or Monterey, please give it a spin and let me know if raising the window works.

    Also pinging @xilopaint, as we’ve discussed the speed before.
  15. Thanks
    xilopaint reacted to vitor in Alfred Folderify   
    Do a Get Info on the folder, click the icon, then ⌫
  16. Like
    xilopaint got a reaction from TomBenz in Alfred PDF Tools – Optimize, encrypt and manipulate PDF files   
    @TomBenzthis workflow is intended to cover broad PDF manipulation needs. With that in mind, I avoid implementing features that are too specific and therefore cannot be leveraged by a large user base. Anyway, I'm happy to know you were able to make the script work via Alfred.
  17. Like
    xilopaint reacted to 2pilvic in Alfred PDF Tools – Optimize, encrypt and manipulate PDF files   
    It is done. All in order. Many thanks
  18. Like
    xilopaint reacted to vitor in SynAnt — Substitute words by checking against a thesaurus   
    Thank you for the kind words. Yes, it will make the transition.
  19. Like
    xilopaint reacted to iandol in SynAnt — Substitute words by checking against a thesaurus   
    Hi vitor, will this make the transition to the Gallery? It is super useful! 🥰
  20. Like
    xilopaint reacted to Andrew in 💌 Alfred Gallery 💌   
    @xilopaint yep
  21. Thanks
    xilopaint reacted to Andrew in Alfred About This Mac   
    @xilopaint Vitor coordinated the updates over the weekend, and I just rolled them out, so you should see 1.4.1 now.
  22. Like
    xilopaint reacted to Andrew in Improving Alfred Gallery readme files   
    The start of this process is happening here:
    https://www.alfredforum.com/topic/19058-submitting-workflows-for-the-alfred-gallery/
     
    It's also worth noting that when workflows are submitted for inclusion in the gallery, we help developers tweak and fix things like this with either simple guidance, or Github PRs.
     
     
    All workflows you download from the gallery are hosted by us. Self-hosted workflows (e.g. a Github release) are automatically picked up by our backend system for review, then signed and re-hosted by us. Once the Gallery is out of Early Access, you should always see nice clean readmes.
  23. Like
    xilopaint got a reaction from vitor in Making Python 2 Workflows work on macOS Monterey 12.3 and above   
    Hey, it works! Thanks a lot!
  24. Thanks
    xilopaint reacted to giovanni in Making Python 2 Workflows work on macOS Monterey 12.3 and above   
    @xilopaint This works for me. Let me know if you see anything off.
  25. Like
    xilopaint got a reaction from iandol in Menu Bar Search   
    Please@vitor, add this workflow. It's one of my favorites.
×
×
  • Create New...