feat: add capso://grab/all-in-one automation URL - #223
Merged
Conversation
Routes capso://grab/all-in-one to the existing CaptureCoordinator.captureAllInOne(), matching the action already available via global hotkey and the menu bar. Previously only area, fullscreen, and window were exposed to the automation URL scheme, so external triggers (Raycast, Alfred, Shortcuts) had no way to start an All-in-One capture. - Add captureAllInOne case to AutomationURLAction and parse /all-in-one - Dispatch the action in AppDelegate - Document the URL in the Automation settings list - Cover the new path in AutomationURLActionTests
lzhgus
approved these changes
Jul 31, 2026
lzhgus
left a comment
Owner
There was a problem hiding this comment.
Looks good — clean extension of the existing automation URL pattern, with parsing, dispatch, settings docs, and a test all lined up. Thanks for the contribution!
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Adds
capso://grab/all-in-oneto the automation URL scheme, routing it to the existingCaptureCoordinator.captureAllInOne()— the same action already available via global hotkey and the menu bar.Previously only
area,fullscreen, andwindowwere exposed to the automation URL scheme (added in #186), so external launchers (Raycast, Alfred, Shortcuts) had no way to start an All-in-One capture. This closes that gap with a one-line route and a documented URL.captureAllInOnecase toAutomationURLActionand parse/all-in-oneAppDelegate.performPendingAutomationURLAction()AutomationURLActionTestsRelated issue
None.
Screenshots / recordings
No behavioral UI change beyond the Settings → Automation "Supported URLs" list gaining one more row (
capso://grab/all-in-one).Checklist
xcodegen generatenot needed — no source files added/removed,project.ymluntouchedSharedKitlibrary builds; new parser test case added. Fullxcodebuild/ swift-testing run left to CI (no full Xcode in my dev env, only Command Line Tools)TODO/FIXME/ debug printsSendablevalue type + existing@MainActordispatch context)