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