A quickie snippet I just made while exploring making a Raycast extension:
#popclip extension snippet to send text to Raycast
name: Raycast
icon: R
before: copy
url: raycast://
after: paste
(The above block is an extension snippet - select it to install the extension with PopClip)
It’s a bit fragile because it relies on timing to work. If the Raycast window doesn’t pop up soon enough (e.g. if Raycast isn’t running) it will paste too soon. But generally works well.
Can’t find any info on Raycast URL scheme to actually pass it the text…
I’m experience an issue with this where it will only work with text selected from within System apps… like Finder, Quick Look, Safari etc. Any 3rd party apps/browsers won’t work… it will just pop up the Raycast menu but nothing is pasted.