Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi file select #1

Closed
benjaminhoffman opened this issue Jan 5, 2022 · 7 comments
Closed

multi file select #1

benjaminhoffman opened this issue Jan 5, 2022 · 7 comments

Comments

@benjaminhoffman
Copy link

amazing! i just googled for alfred imageoptim and found this. i found a bunch of others and curious why'd you build this over the others that already exist?

anyway... is it possible to process a number of images at once? with alfred i can select a few images via file buffer (https://www.alfredapp.com/help/features/file-search/#file-buffer) but would be great to then shrink them as well.

ty!

AlexanderWillner pushed a commit that referenced this issue Jan 6, 2022
@AlexanderWillner
Copy link
Owner

Thanks, didn't use Alfred File Buffers in the past. Does version 1.2.0 work for you? The keyword is imageoptim followed by your search query. Then fill the buffer accordingly and press enter.

AlexanderWillner pushed a commit that referenced this issue Jan 6, 2022
@benjaminhoffman
Copy link
Author

Interesting. That's not my current flow (and imageoptim keyword didn't work for me -- but that may be a function of my setup since I'm new and struggling to get some setting configured)

What I do is:

  • locate the file
  • option + ->
  • search image...
  • click enter

then it processes the file.

I'm looking for a solution that can process multiple images at once.

More importantly, I want a workflow that will auto process each time a take a screenshot since I do that manually now.

i don't suppose either of those functions exist with your current solution and/or are easy to add? I found a few other imageoptim solutions but yours looked the most up to date and simplest so started here.

@benjaminhoffman
Copy link
Author

@AlexanderWillner ah yes, i see that to make this work i needed to re-download the workflow. the keyword now is activated.

one issue though -- after selecting all the images, what do i do next? it appears pressing enter doesnt give me the results i'd expect -- can you add a step by step to the README. from what i can tell, it only processes the first image? im not sure 🤷

@AlexanderWillner
Copy link
Owner

Will update the README - this is how I change multiple files at once:

  • Option 1: open Finder, select a folder, press ⌘ + ⌃ + Y (shortcut for Universal Action, typing "opt", select Optimize Images
  • Option 2: open Finder, select a couple of images, press ⌘ + ⌃ + Y (shortcut for Universal Action, typing "opt", select Optimize Images
  • Option 3: invoke Alfred, type imageoptim png, select multiple files using ⌥ + Arrow up, press enter

@AlexanderWillner
Copy link
Owner

@benjaminhoffman does this work for you? btw: updated to version 1.3

@benjaminhoffman
Copy link
Author

As a new Alfred user, I'm struggling to get it work but it I think it's user error. I'm going to continue to play with it. Ideally, one day, I'd like to get a workflow that auto processes screenshots, uploads them, and add them to my clipboard.

Thanks for the workflow @AlexanderWillner ! feel free to close this issue.

@AlexanderWillner
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants