Send to Raycast

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…

also just for fun:

#popclip 
name: Confetti
requirements: []
icon: symbol:aqi.low
url: raycast://confetti

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.

I found the same issue. I’ve tweaked the paste method and it seems to work reliably now. New extension published to: Raycast — PopClip Extensions

1 Like