Password Lock
You can password lock any app by changing the variables inside the shortcut
fractalgeometry2Отсканируй на iPhone, чтобы установить
You can password lock any app by changing the variables inside the shortcut. Locks the device after an incorrect attempt
Что нового
Версия 1.0
First release
Что делает
Действий: 9-
Ask for InputEnter passcode here:
-
If
-
CommentChange the passcode where it says "Placeholder"
-
Open App
-
CommentWhere it says "youtube" you can put any app there, that's just what I put
-
If
-
Show Result
-
Wait
-
Lock Screen
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/device'
#define color darkgray
#define glyph lock
const AskForInput = prompt("Enter passcode here:")
if AskForInput == "Placeholder" {
// Change the passcode where it says "Placeholder"
openApp("com.google.ios.youtube")
// Where it says "youtube" you can put any app there, that's just what I put
} else {
show("Password Denied... Locking screen")
wait(0)
lockScreen()
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от fractalgeometry2
Вам также может понравиться
Реклама