Scan with your iPhone to install
Clears your clipboard and this shortcut can have a lock on it if you want.
What's New
Version 3.0
Clear clipboard
What it does
25 actions-
Dictionary
-
Run ShortcutSS Updater
-
Text
-
If
-
Ask for InputEnter Passcode
-
If
-
Show Result
-
Stop This Shortcut
-
If
-
If
-
Create Folder
-
Get File
-
Count
-
If
-
Show Result
-
Save File
-
If
-
Show AlertAre you sure?
-
Get Clipboard
-
Text
-
Copy to Clipboard
-
Choose from MenuUndo?
-
Choose from MenuYES!!
-
Copy to Clipboard
-
Choose from MenuNo
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/sharing'
#include 'actions/documents'
#define color blue
#define glyph gear
const Dictionary = {
"Name": "Clear Clipboard",
"ShareID": 1051,
"Version": "2.0"
}
runSelf(Dictionary)
const Text = "9278"
if Text {
const ProvidedInput = prompt("Enter Passcode", "Number")
if ProvidedInput != Text {
show("WRONG PASSCODE!")
stop()
} else {
}
} else {
}
createFolder("Passcode for clear clipboard is...")
const File = getFile("Passcode for clear clipboard is...")
const Count = count(File)
if Count < 1 {
show("Hello! I see you are new to this shortcut! This shortcut can clear your clipboard and has a lock on it so you can protect other people from clearing your clipboard. If you want more of my shortcuts they are in shareshortcuts.com and my name is tbb. Thank you for using this shortcut!")
saveFile("Passcode for clear clipboard is...", Text)
} else {
}
alert("All of your copied information will be gone", "Are you sure?")
getClipboard()
const Text1 = "{}"
setClipboard(, CurrentDate)
menu "Undo?" {
item "YES!!":
setClipboard(Text1)
item "No":
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by tbb
You Might Also Like
Advertisement