Closed anatomatic closed 2 years ago
The Latest Screenshot proxy uses Screenshot.app's settings to determine what type of screenshot it pics up. The default of Screenshot.app is to create PNGs, but you can change this at any time by following the instructions here: https://www.laptopmag.com/uk/articles/change-default-screenshot-file-format-macos
Thank you — I switched the system default via the command line and it does correctly find the last screenshot JPG I took using the system command. However, that screenshot is years old because I use a screenshot utility.
This might be too niche to be useful to anyone else — but I guess my request is a way to configure the proxy object to search the screenshots folder for the latest image made by any application. However it seems proxy objects aren't user-configurable in that way.
I'm also interested in attempting to "roll my own" — but not sure where to start with that.
I've created another issue here: #2893 to make this a feature request, but currently it's not quite possible.
What you could do is use the QS Command line tool (install the plugin) to open the latest file in a specific directory. Then you could turn this into a trigger and then run it as you like.
ls -At /path/to/my/file/*{*,.*} | head -n1 | /usr/local/bin/qs
but not sure where to start with that.
Here's an old post where I wrote a Python script to serve a similar function: https://n8henrie.com/2013/11/quicksilver-trigger-get-most-recent-screenshot/
As I note, I just assigned it to a trigger so that I could have a keyboard shortcut to pop up the most recent screenshot in QS's first pane. EDIT: Ha -- https://github.com/quicksilver/Quicksilver/issues/2894#issue-1278292027
I love the new Latest Screenshot Proxy Object. However, I generate a mix of .png, .jpg, and .gif files in my screenshots folder.
Is it possible to expand the image types the Proxy Object looks for? The Proxy Object seems to only find .png files at this point.