You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by SKaplanOfficial January 14, 2024
To use PromptLab commands with PopClip, you can wrap the deeplink for a command in a PopClip extension snippet. All placeholders or action scripts used in the command will still work as intended. For example, to replace the selected text with the response from AI, you can use this extension that runs the "Ask AI & Replace Selection" command (assuming you've installed the command from the store):
#popclip extension snippet to replace the selected text with output from Raycast AI
name: Replace With AI Response
icon: AI
applescript: do shell script "open -g raycast://extensions/HelloImSteven/promptlab/search-commands?arguments=%7B%22commandName%22:%22Ask%20AI%20%26%20Replace%20Selection%22%7D"
We use Applecript and open -g to ensure the selected text comes from the target app rather than Raycast itself.
The text was updated successfully, but these errors were encountered:
Discussed in #29
Originally posted by SKaplanOfficial January 14, 2024
To use PromptLab commands with PopClip, you can wrap the deeplink for a command in a PopClip extension snippet. All placeholders or action scripts used in the command will still work as intended. For example, to replace the selected text with the response from AI, you can use this extension that runs the "Ask AI & Replace Selection" command (assuming you've installed the command from the store):
We use Applecript and
open -g
to ensure the selected text comes from the target app rather than Raycast itself.The text was updated successfully, but these errors were encountered: