Skip to content

Add scrolling capture mode on macOS#51

Open
Ankitmohanty2 wants to merge 4 commits intoKartikLabhshetwar:mainfrom
Ankitmohanty2:feature/scroll-capture
Open

Add scrolling capture mode on macOS#51
Ankitmohanty2 wants to merge 4 commits intoKartikLabhshetwar:mainfrom
Ankitmohanty2:feature/scroll-capture

Conversation

@Ankitmohanty2
Copy link

No description provided.

@vercel
Copy link

vercel bot commented Feb 9, 2026

@Ankitmohanty2 is attempting to deploy a commit to the knox projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Author

@Ankitmohanty2 Ankitmohanty2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Adds a new scrolling capture mode on macOS:

  • Captures the frontmost window repeatedly while sending Page Down
  • Stitches each frame vertically with overlap to produce one tall image
  • Exposes it as a new "Scroll capture" button and optional ⌘⇧S shortcut

Implementation details

  • New Tauri command native_capture_scroll (macOS-only) using screencapture -l <windowId> and AppleScript for scrolling
  • stitch_scroll_captures in the Rust image module to merge multiple window frames with ~20% overlap
  • Frontend updates:
    • Adds scroll to CaptureMode
    • Adds "Scroll capture" button on the main screen
    • Adds optional "Capture Scroll" global shortcut and tray menu item

Co-authored-by: tembo[bot] <208362400+tembo[bot]@users.noreply.github.com>
Co-authored-by: tembo[bot] <208362400+tembo[bot]@users.noreply.github.com>
Co-authored-by: tembo[bot] <208362400+tembo[bot]@users.noreply.github.com>
@KartikLabhshetwar
Copy link
Owner

hi @Ankitmohanty2 thank you for your contribution can you add demo video if possible

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

Successfully merging this pull request may close these issues.

2 participants