skull
Novidades
Versão 1.0
First release
O que ele faz
181 ações-
CommentBoardi v1.42 - Shortcut by videogamerlol & TheXploler
-
Text
-
Repeat
-
Get Clipboard
-
Set VariableCurrentClipboard
-
Date
-
Format Date
-
Match Text
-
Get Numbers from Input
-
Set VariableCurrentTime
-
If
-
Text
-
Set VariableWelcomeEmoji
-
If
-
If
-
Text
-
Set VariableWelcomeEmoji
-
If
-
If
-
Text
-
Set VariableWelcomeEmoji
-
If
-
Text
-
Set VariableWelcomeEmoji
-
CommentSets a custom emoji based on the time of day
-
Random Number
-
If
-
Text
-
Set VariableWelcomeMsg
-
If
-
If
-
Text
-
Set VariableWelcomeMsg
-
If
-
If
-
Text
-
Set VariableWelcomeMsg
-
If
-
If
-
Text
-
Set VariableWelcomeMsg
-
If
-
Text
-
Set VariableWelcomeMsg
-
CommentSets custom welcome messages, one is chosen at random to be displayed on the main menu, along with the custom emoji
-
Speak Text
-
Choose from Menu… …
-
Choose from Menu📋 Show Current Clipboard
-
CommentMain menu prompt ^
-
Text
-
Speak Text
-
Show AlertCurrent Clipboard Contents
-
CommentDisplays what is copied to the device’s clipboard
-
Choose from Menu💾 Save Current Clipboard
-
Text
-
Speak Text
-
Ask for InputPlease enter a slot number (1-5)
-
If
-
Text
-
Speak Text
-
Show Alert
-
If
-
If
-
Text
-
Speak Text
-
Show Alert
-
CommentAsks user which file to save the device’s clipboard to, only allowing 1-5 as input
-
If
-
Set VariableSelectedSlot
-
Text
-
Speak Text
-
Show Alert
-
CommentAsks user to confirm their chosen file
-
Save File
-
Text
-
Speak Text
-
Show Alert
-
CommentSaves device’s clipboard to user-selected file
-
Choose from Menu🗂️ Show All Saved Clipboard
-
Get File
-
Set VariableSlot1
-
Get File
-
Set VariableSlot2
-
Get File
-
Set VariableSlot3
-
Get File
-
Set VariableSlot4
-
Get File
-
Set VariableSlot5
-
Text
-
Speak Text
-
Show Alert
-
CommentShows user the contents of all clipboard files in 1 page
-
Choose from Menu✏️ Edit Saved Clipboard
-
Text
-
Speak Text
-
Ask for InputPlease input a slot number (1-5)
-
If
-
Text
-
Speak Text
-
Show Alert
-
If
-
If
-
Text
-
Speak Text
-
Show Alert
-
CommentAsks user which file to edit, only allowing 1-5 as input
-
If
-
Set VariableSelectedSlot
-
Get File
-
Ask for InputEditing Slot … Contents
-
CommentOpens user-selected file to be edited
-
Save File
-
Text
-
Speak Text
-
Show Alert
-
CommentSaves user edits to file
-
Choose from Menu📥 Load Saved Clipboard
-
Ask for InputPlease input a slot number (1-5)
-
If
-
Text
-
Speak Text
-
Show Alert
-
If
-
If
-
Text
-
Speak Text
-
Show Alert
-
CommentAsks which file to copy, only allowing 1-5 as input
-
If
-
Set VariableSelectedSlot
-
Get File
-
Text
-
Speak Text
-
Ask for InputWould you like to copy Slot … contents to the current clipboard?
-
CommentDisplays contents of user-selected file, allows user to edit, asks user to confirm copy
-
Copy to Clipboard
-
Text
-
Speak Text
-
Show Alert
-
CommentCopies user-selected file, including new edits, to device’s clipboard
-
Choose from Menu⚙️ More Options
-
Text
-
Speak Text
-
Choose from MenuMore Options
-
Choose from Menu🚀 First Time Setup
-
CommentMore options prompt ^
-
Text
-
Speak Text
-
Show AlertFirst Time Setup
-
Text
-
Speak Text
-
Show Alert
-
CommentWarns user of erasing all clipboard files by continuing
-
Text
-
Save File
-
Save File
-
Save File
-
Save File
-
Save File
-
Text
-
Speak Text
-
Show Alert
-
CommentCreates/resets 5 clipboard files to be used by Boardi, welcomes new user
-
Choose from Menu❌ Clear All Saved Clipboards
-
Save File
-
Save File
-
Save File
-
Save File
-
Text
-
Speak Text
-
Show Alert
-
CommentErases content of all clipboard files, notifies user
-
Choose from Menu🔙 Go Back
-
Choose from Menu👋 Exit Boardi
-
Text
-
Speak Text
-
Stop This Shortcut
-
Choose from Menu
-
CommentCloses Boardi
-
CommentThats all for now!
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#include 'actions/text'
#include 'actions/sharing'
#define color violet
#define glyph walletPass
// Boardi v1.42 - Shortcut by videogamerlol & TheXploler
repeat _ for 69 {
getClipboard()
@CurrentClipboard
currentDate()
formatTimestamp(, "None", "Short")
const Matches = containsText(, "^.{0,2}")
getNumbers(Matches)
@CurrentTime
if @CurrentTime <> 5 {
@WelcomeEmoji = "🌅"
} else {
if @CurrentTime <> 10 {
@WelcomeEmoji = "☀️ "
} else {
if @CurrentTime <> 16 {
@WelcomeEmoji = "🌇"
} else {
@WelcomeEmoji = "🌃"
// Sets a custom emoji based on the time of day
}
}
}
const RandomNumber = randomNumber(1, 5)
if RandomNumber == 1 {
@WelcomeMsg = "Greetings! Hope all is well. What can I do for you?"
} else {
if RandomNumber == 2 {
@WelcomeMsg = "Hi there! I hope you’re having a great day. How can I help you?"
} else {
if RandomNumber == 3 {
@WelcomeMsg = "Welcome to Boardi! What can I help you with today?"
} else {
if RandomNumber == 4 {
@WelcomeMsg = "Hello! I’m here to help. What can I get done for you?"
} else {
@WelcomeMsg = "Good day! Glad to see you. How may I help with your clipboard endeavors?"
// Sets custom welcome messages, one is chosen at random to be displayed on the main menu, along with the custom emoji
}
}
}
}
speak(@WelcomeMsg, false)
menu "{@WelcomeMsg} {@WelcomeEmoji}" {
item "📋 Show Current Clipboard":
// Main menu prompt ^
speak(, false)
alert(@CurrentClipboard, "Current Clipboard Contents")
// Displays what is copied to the device’s clipboard
item "💾 Save Current Clipboard":
speak(, false)
const ProvidedInput = prompt("Please enter a slot number (1-5)", "Number")
if ProvidedInput > 5 {
speak(, false)
confirm("Number is too high, Please pick from 1-5")
} else {
if ProvidedInput < 1 {
speak(, false)
confirm("Number is too low, Please pick from 1-5")
// Asks user which file to save the device’s clipboard to, only allowing 1-5 as input
} else {
@SelectedSlot = ProvidedInput
speak(, false)
confirm("Save clipboard to Slot {@SelectedSlot}? (This will overwrite the slot contents)")
// Asks user to confirm their chosen file
saveFile("Slot{@SelectedSlot}.txt", @CurrentClipboard, true)
speak(, false)
confirm("Clipboard saved to Slot {@SelectedSlot} ✅")
// Saves device’s clipboard to user-selected file
}
}
item "🗂️ Show All Saved Clipboard":
getFile("Slot1.txt", false)
@Slot1
getFile("Slot2.txt", false)
@Slot2
getFile("Slot3.txt", false)
@Slot3
getFile("Slot4.txt", false)
@Slot4
getFile("Slot5.txt", false)
@Slot5
speak(, false)
confirm("Slot 1:\n{@Slot1}\nSlot 2:\n{@Slot2}\nSlot 3:\n{@Slot3}\nSlot 4:\n{@Slot4}\nSlot 5:\n{@Slot5}")
// Shows user the contents of all clipboard files in 1 page
item "✏️ Edit Saved Clipboard":
speak(, false)
const ProvidedInput1 = prompt("Please input a slot number (1-5)", "Number")
if ProvidedInput1 > 5 {
speak(, false)
confirm("Number is too high, Please pick from 1-5")
} else {
if ProvidedInput1 < 1 {
speak(, false)
confirm("Number is too low, Please pick from 1-5")
// Asks user which file to edit, only allowing 1-5 as input
} else {
@SelectedSlot = ProvidedInput1
getFile("Slot{@SelectedSlot}.txt", false)
const ProvidedInput2 = prompt("Editing Slot {@SelectedSlot} Contents")
// Opens user-selected file to be edited
saveFile("Slot{@SelectedSlot}.txt", ProvidedInput2, true)
speak(, false)
confirm("Slot {@SelectedSlot} Edited Successfully! 🎉")
// Saves user edits to file
}
}
item "📥 Load Saved Clipboard":
const ProvidedInput3 = prompt("Please input a slot number (1-5)", "Number")
if ProvidedInput3 > 5 {
speak(, false)
confirm("Number is too high, Please pick from 1-5")
} else {
if ProvidedInput3 < 1 {
speak(, false)
confirm("Number is too low, Please pick from 1-5")
// Asks which file to copy, only allowing 1-5 as input
} else {
@SelectedSlot = ProvidedInput3
getFile("Slot{@SelectedSlot}.txt", false)
speak(, false)
const ProvidedInput4 = prompt("Would you like to copy Slot {@SelectedSlot} contents to the current clipboard?")
// Displays contents of user-selected file, allows user to edit, asks user to confirm copy
setClipboard(ProvidedInput4)
speak(, false)
confirm("Slot {@SelectedSlot} has been copied to the current clipboard successfully! 🎉")
// Copies user-selected file, including new edits, to device’s clipboard
}
}
item "⚙️ More Options":
speak(, false)
menu "More Options" {
item "🚀 First Time Setup":
// More options prompt ^
speak(, false)
alert("⚠️ Warning! Only run this if this is the first time you're running this shortcut! Continue?", "First Time Setup")
speak(, false)
confirm("⚠️ This action will erase all saved clipboard in this shortcut! Continue?")
// Warns user of erasing all clipboard files by continuing
const Text = "Empty"
saveFile("Slot1.txt", Text, true)
saveFile("Slot2.txt", Text, true)
saveFile("Slot3.txt", Text, true)
saveFile("Slot4.txt", Text, true)
saveFile("Slot5.txt", Text, true)
speak(, false)
confirm("📋 Welcome to Boardi! The utimate clipboard manager for iPhone!")
// Creates/resets 5 clipboard files to be used by Boardi, welcomes new user
item "❌ Clear All Saved Clipboards":
saveFile("Slot2.txt", Text1, true)
saveFile("Slot3.txt", Text1, true)
saveFile("Slot4.txt", Text1, true)
saveFile("Slot5.txt", Text1, true)
speak(, false)
confirm("Saved Clipboards Cleared Successfully! ✅")
// Erases content of all clipboard files, notifies user
item "🔙 Go Back":
}
item "👋 Exit Boardi":
speak(, false)
stop()
item "":
}
// Closes Boardi
}
// Thats all for now!
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Você também pode gostar
Publicidade