A minimal macOS menu bar app that watches a folder for new .png files, prefixes the new image file name, and copies the result to the clipboard.
If the copied value contains spaces or shell-sensitive characters, OK Screenshot wraps the full value in double quotes and escapes characters such as " and $, so paths paste cleanly into a terminal.
./scripts/build.shThe app bundle is created at:
dist/OK Screenshot.app
For local development:
swift run./scripts/run.shThe app appears in the macOS menu bar. Left-click the camera icon to configure it. Right-click the icon to open the menu with a quit action.
The default watched folder is Desktop. macOS may ask for permission to access Desktop or another selected folder.
If watching is blocked:
- Open System Settings.
- Go to Privacy & Security.
- Open Files and Folders and enable Desktop Folder access for OK Screenshot if it appears there.
- If it does not appear there, open Full Disk Access, add
dist/OK Screenshot.app, enable it, then restart the app.
Clipboard writing does not need extra permission.