Отсканируй на iPhone, чтобы установить
Clears your clipboard and this shortcut can have a lock on it if you want.
Что нового
Версия 3.0
Clear clipboard
Что делает
Действий: 25-
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
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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":
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от tbb
Вам также может понравиться
Реклама