Skip to content

okbrainhq/okscreenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OK Screenshot

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.

Build

./scripts/build.sh

The app bundle is created at:

dist/OK Screenshot.app

For local development:

swift run

Run

./scripts/run.sh

The 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.

Permissions

The default watched folder is Desktop. macOS may ask for permission to access Desktop or another selected folder.

If watching is blocked:

  1. Open System Settings.
  2. Go to Privacy & Security.
  3. Open Files and Folders and enable Desktop Folder access for OK Screenshot if it appears there.
  4. 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.

About

A simple Mac utility to share screenshots to a VM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors