Отсканируй на iPhone, чтобы установить
ViewBox is a shortcut used to view the inside of a box without opening it
-
Just open ViewBox then Press Generate Code and wait for a popup with your code
-
Press Ok then you will get a popup saying to get your box ready as you will be taking your photos
-
Now a popup saying how many photos will appear put your desired amount then take your photos
(It may take longer for the photos to load depending on how many photos you take)
- Now after your photos have been saved you can view them click View Box then enter your code with “.zip” at the end
Что нового
Версия 1.1
Added an exit button and delete Box button
Что делает
Действий: 33-
Create Folder
-
Choose from MenuWelcome to ViewBox
-
Choose from MenuAdd Box
-
Text
-
Set VariableNumbers
-
List
-
Filter Files
-
Get Item from List
-
Combine Text
-
Show Alert
-
Show NotificationPlease write your code onto your box
-
Show AlertYou are going to take your photos now
-
Take Photo
-
Make Archive
-
Save File
-
Show NotificationYour box has been saved your code is:…
-
Stop This Shortcut
-
Choose from MenuView Box
-
Ask for InputPlease enter your code with “.zip” at the end
-
Get File
-
Extract Archive
-
Quick Look
-
Stop This Shortcut
-
Choose from MenuDelete Box
-
Ask for InputPlease enter your code with “.zip” at the end
-
Get File
-
Extract Archive
-
Quick Look
-
Show Alert⚠️ Warning ⚠️
-
Delete Files
-
Stop This Shortcut
-
Choose from MenuExit
-
Stop This Shortcut
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/media'
#include 'actions/documents'
#define color lightblue
#define glyph cube
createFolder("ViewBox")
menu "Welcome to ViewBox " {
item "Add Box":
@Numbers = "4"
const List = list("1", "2", "3", "4", "5", "6", "7", "8", "9", "0")
const Files = filterFiles(List, "Random")
const ItemFromList = getListItems(Files, 0, @Numbers)
const CombinedText = joinText(ItemFromList, "Custom")
confirm("Your code is: {CombinedText}")
showNotification("Please write your code onto your box", CombinedText)
alert("Please get your box ready", "You are going to take your photos now")
const Photo = takePhoto(Ask, true)
const Archive = makeArchive(Photo, "zip", CombinedText)
saveFile("ViewBox/{CombinedText}", Archive)
showNotification("Your box has been saved your code is:{CombinedText}", "Thank you for using ViewBox", false)
stop()
item "View Box":
prompt("Please enter your code with “.zip” at the end")
const File = getFile("ViewBox/{}")
const Files1 = extractArchive(File)
quicklook(Files1)
stop()
item "Delete Box":
prompt("Please enter your code with “.zip” at the end")
const File1 = getFile("ViewBox/{}")
const Files2 = extractArchive(File1)
quicklook(Files2)
alert("Are you sure you want to delete these photos?", "⚠️ Warning ⚠️ ")
deleteFiles(File1)
stop()
item "Exit":
stop()
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от smarties
Вам также может понравиться
Реклама