We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb4605 commit 9250fe3Copy full SHA for 9250fe3
1 file changed
commands/system/paste-clipboard.sh
@@ -0,0 +1,24 @@
1
+#!/bin/bash
2
+
3
+# Required parameters:
4
+# @raycast.schemaVersion 1
5
+# @raycast.title Type Clipboard
6
+# @raycast.mode silent
7
8
+# Optional parameters:
9
+# @raycast.icon 📋
10
+# @raycast.packageName Type Clipboard in Search
11
12
+# Documentation:
13
+# @raycast.description Takes your clipboard then types each character in the clipboard
14
+# @raycast.author AlexGadd
15
+# @raycast.authorURL https://raycast.com/AlexGadd
16
17
+osascript -e 'set clipboardContent to the clipboard' \
18
+-e 'set charCount to count of characters of clipboardContent' \
19
+-e 'tell application "System Events"' \
20
+-e ' repeat with i from 1 to charCount' \
21
+-e ' set theChar to character i of clipboardContent' \
22
+-e ' keystroke theChar' \
23
+-e ' end repeat' \
24
+-e 'end tell'
0 commit comments