johnste / finicky

A macOS app for customizing which browser to start
MIT License
3.74k stars 137 forks source link

Add "Copy to clipboard" option #323

Open pzich opened 9 months ago

pzich commented 9 months ago

Is your feature request related to a problem? Please describe. I really love the powerful matching behaviors that Finicky supports, but one great addition would be other options for the URL besides opening it in a browser. I frequently find myself wanting to copy the URL to a clipboard rather than opening it directly.

Describe the solution you'd like In addition to browser (or maybe a as a special string for browser), add a way to copy the URL to clipboard instead of opening a browser. It would also be great if it (optionally?) displayed a notification confirming that the URL was copied.

Describe alternatives you've considered I was able to get a version of this to work using a modified version of the Telegram AppleScript

on open location input
    do shell script "echo '" & input & "' | pbcopy"
end open location

And using browser: 'com.apple.ScriptEditor.id.whatever-i-called-the-script', but it still feels like it's worth adding this as native functionality.