Add raycast scripts

This commit is contained in:
2021-01-30 15:30:03 +00:00
parent 512903aed6
commit ab6eb0e17c
3 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/osascript
# Required parameters:
# @raycast.author Jax0rz
# @authorURL https://github.com/Jax0rz
# @raycast.schemaVersion 1
# @raycast.title Move Downloads to Trash
# @raycast.mode silent
# @raycast.packageName System
# @raycast.needsConfirmation true
# Optional parameters:
# @raycast.icon images/move-downloads-to-trash.png
tell application "Finder"
set allDownloads to every item of folder (path to downloads folder as text)
move allDownloads to trash
log ""
end tell