Jump to content

Alan He

Member
  • Posts

    341
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    Alan He reacted to vitor in 2fa-Read authentication code in your recent messages or current clipboard   
    Thank you for the patience here. I have already started looking at it but decided to tackle your most recent one first (review is in there). The sensitive nature of this one and the amount of node modules make it require a careful approach.
     
    Either way, rest assured feedback is coming soon to this one!
  2. Like
    Alan He reacted to vitor in Use ChatGPT in Alfred   
    Welcome @Demian, and thank you for the submission.
     
    In its current state, there are a number of factors which make the workflow unsuitable for inclusion in the Gallery. Namely:
    There is no icon. The name is in lowercase (this is minor, but in general a name should be like a title). You’re asking people to open the workflow, navigate to a specific code file, open it for editing, and change their credentials. This in itself is problematic in two ways: Most users won’t be comfortable with that process or understand how to go about it. If user input is needed, it should be proper Configuration. You’re asking for a username and password, meaning the password will be in plaintext. That is a security risk because other apps on the user’s machine would be able to read that information. Opening the Sticky Notes and pasting there is quite atypical and less than ideal because you’re relying on GUI automation (the keypresses) to do the heavy lifting. There are more appropriate methods, such as Large Type. Note I haven’t explored the workflow’s functionality in full. You’re shipping a lot of libraries and those could be problematic too, but the above are the immediate blockers. If you have specific questions with the above, ask away.
     
  3. Like
    Alan He got a reaction from Marc in Lists of phrases into snippet   
    @tsolignani
     
    snippet can be a workflow, so you can. just like this.
     
     
     


     
     
     
  4. Thanks
    Alan He reacted to vitor in About Mac   
    Thank you for the fast update. This will be live soon at https://alfred.app/workflows/alanhe/about-mac/.
     
    Heads up for your other workflows that the main icon needs to be 256x256 px or larger.
     
  5. Like
    Alan He reacted to vitor in python on ventura ?   
    Right click the workflow in Alfred Preferences → Workflows, then “Open in Finder”. It will be at the root of that directory.
  6. Like
    Alan He reacted to Sridhar Katakam in Passing files/folders from Alfred to Shortcuts for making an archive   
    You are right.
     
    I updated the Shortcut like this and now it works when invoked via a Quick Action in Finder:
     

     
    It does not still work via the Alfred workflow though.
  7. Like
    Alan He reacted to Babylon in Passing files/folders from Alfred to Shortcuts for making an archive   
    I use the Keka app too and am satisfied with it. So for all people who have a similar problem and need a fast and easy solution I recommend the app.
  8. Like
    Alan He reacted to Vero in workflow object note save not work   
    @Alan He Thanks for the additional details. 
     
    First, could you please open your Dropbox preferences and ensure the folder you're using for Alfred's preferences is set to always be available locally? If it's possible for Dropbox to make the preferences online-only, Alfred will lose access to them, resulting in unexpected behaviour.
     
    Once you've done this and Dropbox shows that the files are stored locally, try changing your note again and seeing if the issue is resolved.
     
    If it isn't, you can temporarily change your sync location (e.g. create a new "Alfred" folder in your user directory) so that the sync service is taken out of the equation for now. Are you now able to save changes?
     
    If you are now able to save changes, I would suggest creating a new folder in Dropbox, set it to be always available offline first, then set this as your sync folder. 
     
    Let me know how you get on
     
  9. Like
    Alan He reacted to Vero in How can I set hotkey cmd + x?   
    Cmd + X is an intrinsic standard hotkey in macOS, so overriding this is likely to eventually cause weird behaviour on your Mac, so use at your own risk. 
  10. Like
    Alan He reacted to luckman212 in Multiple keywords to trigger the same script filter?   
    Alright. I'm going to work on it a bit, I have some ideas on how to make it more modular and user-friendly. Once it's ready I'll post it up.
  11. Like
    Alan He reacted to vitor in Alfred as a quick memory / note tool   
    Note Taker exists exactly for the use case of storing and managing bits of text.
     
    To quickly add a snippet, use the Save as Snippet Universal Action.

    To search inside files—which Note Taker already does—use the in keyword or make a Workflow with a File Filter.
  12. Like
    Alan He reacted to GuiB in Allow scrolling in preview side of the clipboard history   
    It would be great if the right pane of the clipboard history (the preview side) could allow to scroll to read all the contained text when it is longer than the available space. Sometimes we could have multiple clipboard contents that have some changes further down where we can't see it so we can't really know which one to choose. There's the Large Type (CMD+L) that make it possible sometimes, but other times the text is too long to make it readable using Large Type. So, adding the possibility to scroll the preview would be great! Thanks 
  13. Like
    Alan He reacted to Vero in Lists of phrases into snippet   
    @tsolignani List Filters are great for importing from CSV
     
    The file will need to consist of title, subtitle, argument with comma separation, and you'll be able to drag and drop your file in to the List Filter object:
    https://www.alfredapp.com/help/workflows/inputs/list-filter/
     
  14. Like
    Alan He got a reaction from tsolignani in Lists of phrases into snippet   
    @tsolignani
     
    snippet can be a workflow, so you can. just like this.
     
     
     


     
     
     
  15. Like
    Alan He reacted to noahm in Can't add Safari.app in Hotkeys (in Workflows) [Fixed in 5.1 b2130 pre-release]   
    Dragging Safari.app from that location does not work either.
     
    Thanks.
  16. Like
    Alan He reacted to vitor in QuickLook or Preview in Clipboard History   
    Indeed it is doable, and without code—or it will be when the new version of Automation Tasks is out (the task for this is already done, but it will be part of a larger release). In the meantime, a single line of code is necessary.

    Here’s a preliminary version.
     
  17. Like
    Alan He reacted to noahm in Can't add Safari.app in Hotkeys (in Workflows) [Fixed in 5.1 b2130 pre-release]   
    @Alan He Glad to see I’m not alone! 😁
  18. Like
    Alan He got a reaction from noahm in Can't add Safari.app in Hotkeys (in Workflows) [Fixed in 5.1 b2130 pre-release]   
    same issue, restart not work. @vitor maybe os bug?
     
    I have to use victor's workflow https://transfer.sh/0XtNpW/Safari Hotkey.alfredworkflow
     
    version info
    - Ventura 13.1
    - Alfred v5.0.6
     
  19. Like
    Alan He reacted to vitor in How to go back to previous script filter with shortcut key (i.e "esc") in second script filter?   
    You’re running a script. It executes top to bottom, and when it exits it returns an output which is then parsed. But what you’re looking to do it is detect when a key is pressed at any point, while at the same time executing the script in full. Those two notions are incompatible.

    But you can, for example, add a “Back” item at the top of the Script Filter that will execute the External Trigger.
  20. Like
    Alan He reacted to noahm in Can't add Safari.app in Hotkeys (in Workflows) [Fixed in 5.1 b2130 pre-release]   
    Hi!
     
    I am unable to drag Safari.app (from /Applications/) from Alfred Preferences → Workflows → Workflow → Hotkeys → Configure Object… → Related Apps
     

     
    My setup is as follows:
    macOS 13.1 (22C65) Alfred 5.0.6 (2110)  
    Thanks for your time,
    Noah
  21. Like
    Alan He reacted to AlfOfAlfreds in Alfred Quick Look and Markdown files   
    Hey,
     
    I'm using a very simple Alfred Workflow to list a set of .md files in a directory and I use qlmarkdown and Quick Look to preview these files and het their contant (for context, I'm using these markdown files as cheat sheets to view commonly used commands).
     
    2 short questions:
    1. Is there a better way to preview markdown files in Alfred then qlmarkdown?
    2. Can I trigger the Quick View in Alfred by selecting the search result? I use `shift` now and I attached the trigger `cmd+y` to be dispached but this does not seem to open the selected file in a preview.
     
    An example of the workflow using `shift` to trigger the preview

  22. Like
    Alan He reacted to Stephen_C in How do we update workflows already on Alfred Gallery?   
    Many thanks for the reply @vitor - and for all your support and help given on these forums. I hope you can have a happy and relaxing Christmas.
     
    Stephen
  23. Like
    Alan He reacted to suliveevil in Alfred About This Mac   
    I'm using this workflow with pretty much the same function:
     
    https://github.com/alanhg/alfred-workflows/tree/master/about-mac
     
     
  24. Like
    Alan He reacted to vitor in AirDrop   
    A lot of people are on Ventura, and that number will only increase. It wouldn’t make sense to add something which does not work on the current macOS release, especially when a more reliable solution can be achieved.
  25. Like
    Alan He reacted to vitor in About Mac   
    Please provide screenshots as per the pinned post request: with shadow and without background.
×
×
  • Create New...