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 baf15bf commit 8bc3caeCopy full SHA for 8bc3cae
_enabled-commands/safari-current-page-url.sh
@@ -0,0 +1,18 @@
1
+#!/bin/bash
2
+
3
+# Required parameters:
4
+# @raycast.schemaVersion 1
5
+# @raycast.title Copy Current Page URL
6
+# @raycast.mode silent
7
+# @raycast.packageName Safari
8
+#
9
+# Optional parameters:
10
+# @raycast.icon 🧭
11
12
+# Documentation:
13
+# @raycast.description This script copies URL of currently opened page in Safari into clipboard.
14
+# @raycast.author Kirill Gorbachyonok
15
+# @raycast.authorURL https://github.com/japanese-goblinn
16
17
+osascript -e 'tell application "Safari" to return URL of front document' | tr -d '[:space:]' | pbcopy
18
+echo "Copied URL"
0 commit comments