Jump to content

luckman212

Member
  • Posts

    405
  • Joined

  • Last visited

  • Days Won

    15

Reputation Activity

  1. Like
    luckman212 reacted to Ed B in Saved screenshot in Clipboard History are giant TIFFs, not PNGs as they should be   
    A followup to my own post, I found this really nifty workflow ClipSaver.  Allows images in the clipboard history to be easily saved as PNG so they can then be shared without worrying about recipients needing a TIFF viewer.
     
     
     
  2. Like
    luckman212 got a reaction from Alan He 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.
  3. Like
    luckman212 reacted to vitor in Pasting monospace styled text into these Alfred Forums using Rich Text snippet - not working?   
    It’s the Aa at the top right.
     
    This is working for me with that exact text copied. Though note if what you want is to paste inline code to the forum, Markdown Transform does that. Or you can have the snippet paste (in plain text):
     
    foo [background=#eee][font=courier,monospace]BAR[/font][/background] baz  
  4. Like
    luckman212 got a reaction from vitor 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.
  5. Like
    luckman212 got a reaction from kpw in ClipSaver - save & convert images from clipboard history in various formats   
    Latest release: v2.3.5
     
    Hey guys,
     
    Thought I'd share this little workflow. I found myself often needing to dump out the last N clipboard images from Alfred's history to disk. It was tedious before, find the right item, copy it back to the pasteboard, paste into Preview, save as PNG, give it a non-overlapping name, etc. So I created this to make it semi-automatic. Shouldn't need anything special, but please let me know if you run into any trouble.
     
    Feedback welcome! One thing for sure I would like some advice on is whether the Script Filter (Python) could be turned back into a List Comprehension which from what I've read is more efficient. I couldn't figure out how to do that and also dynamically update the database rows (e.g. converting "/" to " / " so that Alfred's word matching would match correctly, picking a nicer generic icon when app name==null etc). @deanishe if you have time I'm sure you know the answer to this...  
     
     

     
    GitHub
    https://github.com/luckman212/alfred_clipsaver_workflow
     
    Download Latest Release:
    https://github.com/luckman212/alfred_clipsaver_workflow/releases/latest/
     
     
  6. Like
    luckman212 got a reaction from Krs in Clipboard History: Auto-Paste on return doesn't work   
    @pbb Same thing happened to me! The fix is easy though. Just uncheck and then re-check Alfred's access in System Preferences > Privacy > Accessibility.
  7. Like
    luckman212 got a reaction from vitor in Alfred popping up on his own? [Caused by Workflow, solution within]   
    Good sleuthing guys! You were right, it's a background task that's causing this, part of the Bitwarden v2 workflow (as I suspected).
     
    I filed a bugreport over on the GitHub.
     
    Whew! Good to know this isn't some crazy edge case that only happens to me (which is usually the case)
     
  8. Like
    luckman212 got a reaction from Terminal in Allow Universal Actions to appear or not based on a regex pattern match   
    I'd like to suggest a feature:
     
    - Allow Universal Actions to appear or not based on a regex pattern match. This would be better than just "Text" or "URL". My Universal Actions list is pretty long and unwieldy. There are easily 30-40 items when I call up the menu. Yes I know latching brings the most used ones to the top, and I know I can filter them by typing a few letters. But sometimes my brain works at very low capacity. Having it limited by regex would make Universal Actions a lot nicer!
     
    related tweet: https://twitter.com/luckman212/status/1532802001620414464
     
  9. Like
    luckman212 reacted to jjaybe in Quick Access to Environment Variables   
    Hey,
    first post here, so first of all: Great App, great developer team, great community! Out of all the productivity apps on the MacOS ecosystem Alfred remains my daily driver 🤗
     
    I make heavy use of Environment Variables primarily connected to script actions.
    So my first suggestion is right there: A keyboard shortcut to directly open the Environment Variable Window without using the mouse.
     
    One problem I often face is that by the time I edit e.g. my Run Script action I realize that I accidentally copied the name of the wrong environment variable or I copied the name instead of the value or vice versa. 
    Since Alfred does not allow to open two Preferences Windows in parallel (actually not sure why, if this is indeed possible, please tell me 😊 ) I then have to close the action, reopen the Environment Variables Window, close it again and reopen the action again, which is tedious.
     
    Thus, my feature request is some form of quick access to Environment Variables while editing workflow actions. For example, Keyboard Maestro has an action called Insert Variable which can be assigned to a keybinding and opens a palette (see screenshot below) with all user-defined variables that are filtered by typing and inserted with Enter.
     
    Ideally, such a palette in Alfred would allow to paste the variable name or the variable value (one perhaps while pressing a modifier key) and only variables defined within the current workflow are displayed.
     
    Let me know if such a feature is even realistic or if I better get used to copying the correct variable name in the first place 😋
     
    Thanks for your great work!
     
     

     
  10. Like
    luckman212 reacted to vitor in Support {query} in 'Launch Apps / Files' action   
    You can achieve it by adding a JSON Utility with the following:
     
    { "alfredworkflow" : { "config" : { "paths" : "{query}", "toggle" : false } } }  
    You can get an object’s JSON configuration via right-click → Copy Configuration.
     
  11. Like
    luckman212 reacted to vitor in Custom Terminal script causing Alfred 5 to hang?   
    Fixed in 2022.2. Thank you for the PR, @luckman212!
  12. Like
    luckman212 got a reaction from iandol in Why not iCloud sync for Alfred preferences?   
    @pankajsz Yes you can control sync direction (bidir, one way etc) see here. Conflict resolution is also configurable, and there is a nice safety net/versioning system to keep old or conflicted copies. Overall very safe. Consuming about 85MB RAM and 0% CPU right now on my system, syncing 65K+ files.
     

     

  13. Like
    luckman212 got a reaction from iandol in Why not iCloud sync for Alfred preferences?   
    Syncthing has a version that's bundled as a macOS native app. It's open-source, a universal binary so runs well on M1, and hasn't let me down once in over 2 years syncing my Alfred prefs along with 30+GiB of other files between 2 Macs. Highly recommended.
     
    https://github.com/syncthing/syncthing-macos
  14. Thanks
    luckman212 reacted to vitor in Script Filter JSON: parameter for "do not update knowledge / latching"   
    Ah, I thought you were already using it! Had I realised you were waiting on the docs, I’d have posted a snippet sooner. Yes, you got it right (don’t forget the quotes, though), you add it at the top level. Taking from your code in the first post:
     
    { "rerun" : 1, "skipknowledge": true, "items": [ ... ] }  
  15. Thanks
    luckman212 reacted to vitor in Script Filter JSON: parameter for "do not update knowledge / latching"   
    @luckman212 Thank you for the reminder. Writing it up and it should be available soon.
  16. Thanks
    luckman212 reacted to vitor in Temporary Email — Generate disposable email inboxes   
    Updates.


    When generating the email, it will be pasted to the current input field in addition to being copied to the clipboard. The email provider tab will open next to the current tab instead of at the end. Removed teleosaurs.xyz. Added guerrillamail.com. Removed Firefox support. It truly is an inferior experience without AppleScript support.


    To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
  17. Like
    luckman212 reacted to vitor in Processing multiple files from a bash script   
    You’re not, that’ll work too. But @pankajsz already had partial code which looks like they wrote it themselves, so I opted to fix it in their chosen language instead of rewriting as a shell script. Python is far from being my language of choice, but when you’re learning it’s better to correct the course than veer wildly. With the former you can try to understand what changed and add it to your arsenal; with the latter you’re left with the proverbial fish but not the fishing skills.
     
    Not to say that I disagreed with sharing the Zsh code; I don’t in the slightest. Merely explaining my choice in this situation since you asked. In a case where the Python code had to be fifteen lines and the Zsh code three, I’d have eschewed the Python route.
     
    Technically you don’t even need the Run Script and Split Args, you can replace both with the Get Path Basename Automation Task that went live with yesterday’s 2022.8 release. That I did mean to mention but forgot.
  18. Like
    luckman212 reacted to Andrew in Alfred Clipboard History Sync To Multiple Computers   
    Blanket syncing your clipboard doesn't fit within Alfred's lightweight and secure ethos. While the reasons are numerous, I'll outline the main 2 here.
    You use copy and paste much more than you may think. This means that every single time you use ⌘C, that block of text, image, or file would be sent over the network to wherever your sync is set to. This would not only use lots of network bandwidth, but significantly increase Alfred's "idle" CPU usage. The security implications are quite significant. You will, on more than one occasion, copy some private information. This means that the synced clipboard data would need to be made secure, as it's not ok to rely on the syncing service's encryption to keep this safe (non-end-to-end syncing services, even if "encrypting", maintain the private keys to your data). By Alfred encrypting the clipboard data, this makes general use significantly more bloated and slower. Alfred's Snippets can be synced because this is a user instigated action. You can choose what to store as a snippet and you can decide to sync snippets. This means you won't accidentally copy your most valuable password into the cloud.
     
    Cheers,
    Andrew
  19. Thanks
    luckman212 reacted to Andrew in Alfred5: sizing/scrollbar in WF config dialog should not be there [Fixed 5.0.1 b2058 pre-release]   
    @luckman212 could you please update to the 5.0.1 b2058 pre-release and let me know if this is now fixed for you?
  20. Like
    luckman212 got a reaction from Chris Messina in Multiple keywords to trigger the same script filter?   
    @Andrew @Vero Any chance this feature will be considered for Alfred 5? (I just bought my license today but haven't downloaded yet...)
  21. Like
    luckman212 reacted to Andrew in Alfred5: sizing/scrollbar in WF config dialog should not be there [Fixed 5.0.1 b2058 pre-release]   
    Ah i suspect this'll be because you have scrollbars set to always. I have them set to Automatic so wouldn't have noticed, I'll look at getting this fixed soon.
  22. Haha
    luckman212 got a reaction from Andrew in Alfred5: nitpick - GB vs US English   
    No worries. It's actually quaint and I enjoy imagining Alfred asking me "Care to pick from your Favourites?"  with a Cockney accent.
  23. Like
    luckman212 got a reaction from devalias in Multiple keywords to trigger the same script filter?   
    @Andrew @Vero Any chance this feature will be considered for Alfred 5? (I just bought my license today but haven't downloaded yet...)
  24. Like
    luckman212 got a reaction from devalias in Multiple keywords to trigger the same script filter?   
    Yep that would be pretty useful! I like the concept of 'alias' since that is already a familiar term for macOS users.
    Something like this would look nice:

     
  25. Like
    luckman212 got a reaction from Chris Messina in Multiple keywords to trigger the same script filter?   
    I saw this has been asked a few times before (e.g. here) but there wasn't a clear answer.

    Since Alfred 4 is coming soon, I would like to throw this into the pot to see if it might be possible.
     
    My brain is getting old. It's hard to remember all the different keywords and hotkeys I've set up. To aid myself I like to be able to use multiple keywords to trigger the same workflow step.
     
    Example, I have a workflow for connecting Bluetooth devices, that I trigger using `bt`
    instead of just "bt" I'd like to add a few more keywords, e.g. "blue", "connect", "audio" etc.
     
    I know I can duplicate the script filter opject and connect its Output to the same step—it's a poor man's workaround, but it'd be cleaner and better to allow multiple keywords, such as this:

     

×
×
  • Create New...