Отсканируй на iPhone, чтобы установить
Utilities just 4 U!
Что нового
Версия 1.4
Made icons for each option (Haven’t done for the others) for ease of access
Что делает
Действий: 118-
CommentBeta Version 1.0.1
-
CommentExtensions(* = required for a command) *ChatGPT (Ask GPT command) Official Shortcuts Updater (Updates this thing)
-
Get My Shortcuts
-
If
-
Dictionary
-
Run ShortcutShortcuts Updater
-
URLhttps://shareshortcuts.com/download/2302-dabloon-bank.html
-
Get File
-
If
-
Ask for InputWhat’s your name?
-
Save File
-
Set Variablename
-
If
-
Set Variablename
-
List
-
Get File
-
If
-
Choose from List
-
Save File
-
Set Variablegreeting
-
Run ShortcutUtilities 4 U
-
If
-
Set Variablegreeting
-
Choose from Menu…
-
Choose from Menu🥇Dabloons
-
Get File
-
If
-
Text
-
Save File
-
Set VariableDabloons
-
If
-
Set VariableDabloons
-
Choose from MenuDabloons:…
-
Choose from Menu➕
-
Ask for InputAdd Dabloons…
-
Text
-
Calculate
-
Set VariableDabloons
-
Save File
-
Choose from Menu➖
-
Ask for InputSubtract Dabloons…
-
Text
-
Calculate
-
Set VariableDabloons
-
Save File
-
Choose from Menu< Back
-
Run ShortcutUtilities 4 U
-
Choose from Menu❓Ask ChatGPT
-
Get Device Details
-
If
-
Ask for InputPrompt to ask…
-
Show Alert
-
Use Model
-
Choose from Menu…
-
Choose from MenuShow without menu
-
Show Alert
-
Choose from MenuCopy to clipboard
-
Copy to Clipboard
-
Choose from MenuReply
-
Ask for InputReply…
-
Use Model
-
Show Alert
-
Choose from Menu< Back
-
Run ShortcutUtilities 4 U
-
If
-
Choose from Menu❓Google
-
Ask for InputSearch…
-
Search Web
-
Choose from Menu🔁Translate text
-
Ask for InputText to translate.
-
Translate Text
-
Choose from Menu…
-
Choose from MenuShow without menu
-
Show Alert
-
Choose from MenuCopy
-
Copy to Clipboard
-
Choose from Menu< Back
-
Run ShortcutUtilities 4 U
-
Choose from Menu😆Fun
-
Choose from MenuGet the fun with the funnies
-
Choose from MenuNuke sum stuff
-
Ask for InputLocation
-
Show Alert
-
Show Notification5
-
Wait
-
Show Notification4
-
Wait
-
Show Notification3
-
Wait
-
Show Notification2
-
Wait
-
Show Notification1
-
Wait
-
Show Notification… Nuked.
-
Choose from MenuUNSAFE
-
Choose from MenuUNSAFE
-
Choose from Menuepilepsy
-
Repeat
-
Set Brightness
-
Set Brightness
-
Choose from Menu< Back
-
Run ShortcutUtilities 4 U
-
Choose from Menu< Back
-
Run ShortcutUtilities 4 U
-
Choose from Menu🔴Miscellaneous
-
Choose from MenuMiscellaneous
-
Choose from MenuAdd me to home screen
-
Add to Home Screen
-
Choose from MenuMore soon…
-
Run ShortcutUtilities 4 U
-
Choose from Menu⚙️ Settings
-
Choose from MenuSettings
-
Choose from MenuChange Name
-
Ask for InputNew name…
-
Save File
-
Set Variablename
-
Choose from Menu< Back
-
Run ShortcutUtilities 4 U
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#include 'actions/shortcuts'
#define color lightblue
#define glyph puzzlePiece
// Beta Version 1.0.1
/*
Extensions(* = required for a command)
*ChatGPT (Ask GPT command)
Official Shortcuts Updater (Updates this thing)
*/
const MyShortcuts = getShortcuts()
if MyShortcuts['Folder'] contains "Shortcuts Updater" {
const Dictionary = {
"name": "Utilities 4 U",
"shareid": 3234,
"version": "1.4"
}
run("Shortcuts Updater", Dictionary)
}
url("https://shareshortcuts.com/download/2302-dabloon-bank.html")
const File = getFile("utilities4u/userName.txt", false)
if !File {
const AskForInput = prompt("What’s your name?")
saveFile("/utilities4u/userName.txt", AskForInput, true)
@name
} else {
@name = File
}
const List = list("Hello, {@name}. Please choose what you desire. ", "Sup, {@name}. What d’ya want?", "Greetings, {@name}. Choose your masterpiece.")
const File1 = getFile("utilities4u/mainGreeting.txt", false)
if !File1 {
const SelectedItem = chooseFromList(List, "What will be your main greeting?", false, false)
saveFile("/utilities4u/mainGreeting.txt", SelectedItem, true)
@greeting
runSelf(@greeting)
} else {
@greeting = File1
}
menu @greeting {
item "🥇Dabloons":
const File2 = getFile("utilities4u/dDabloons.txt", false)
if !File2 {
const Text = "0"
saveFile("/utilities4u/dDabloons.txt", Text, false)
@Dabloons
} else {
@Dabloons = File2
}
menu "Dabloons:{@Dabloons}" {
item "➕":
prompt("Add Dabloons…", "Number")
const Text1 = "{}"
@Dabloons = Text1 + @Dabloons
saveFile("/utilities4u/dDabloons.txt", @Dabloons, true)
item "➖":
prompt("Subtract Dabloons…", "Number")
const Text2 = "{}"
@Dabloons = @Dabloons - Text2
saveFile("/utilities4u/dDabloons.txt", @Dabloons, true)
item "< Back":
}
runSelf(MenuResult)
item "❓Ask ChatGPT":
getDeviceDetail("System Version")
if beginsWith "26" || beginsWith "27" {
prompt("Prompt to ask…")
confirm("Waiting for response. Please press \"OK\"")
const Response = askLLM(, "ChatGPT")
menu Response {
item "Show without menu":
confirm(Response)
item "Copy to clipboard":
setClipboard(Response)
item "Reply":
prompt("Reply…")
askLLM("(Replying to previous AI response:{Response}){}", "ChatGPT")
confirm()
item "< Back":
runSelf()
}
} else {
}
item "❓Google":
prompt("Search…")
searchWeb("")
item "🔁Translate text":
prompt("Text to translate.")
const TranslatedText = translate(, "")
menu TranslatedText {
item "Show without menu":
confirm(TranslatedText)
item "Copy":
setClipboard(TranslatedText)
item "< Back":
runSelf()
}
item "😆Fun":
menu "Get the fun with the funnies" {
item "Nuke sum stuff":
prompt("Location")
confirm("Are you sure?")
showNotification("5", "Nuke")
wait(0)
showNotification("4", "Nuke")
wait(0)
showNotification("3", "Nuke")
wait(0)
showNotification("2", "Nuke")
wait(0)
showNotification("1", "Nuke")
wait(0)
showNotification("{} Nuked.")
item "UNSAFE":
menu "UNSAFE" {
item "epilepsy":
repeat _ for 150 {
setBrightness(1)
setBrightness(0)
}
item "< Back":
runSelf()
}
item "< Back":
runSelf()
}
item "🔴Miscellaneous":
menu "Miscellaneous" {
item "Add me to home screen":
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"shortcut": ""
})
item "More soon…":
runSelf()
}
item "⚙️ Settings":
menu "Settings" {
item "Change Name":
const AskForInput1 = prompt("New name…")
saveFile("/utilities4u/userName.txt", AskForInput1, true)
@name
item "< Back":
runSelf()
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Вам также может понравиться
Реклама