Отсканируй на iPhone, чтобы установить
Create a note to send as a message or an email.
A list is created as a Note that can be sent as a message or as an email.
The list gets a custom name that you create before you are prompted to add items to the list.
There is also an option to delete the note, if you do not want to keep it.
Что нового
Версия 1.4
- Removed unnecessary notification
Что делает
Действий: 25-
CommentListy creates a list in a Note that you can send as a text message or email. V1.1 BlackHat Team © 2023
-
Get File
-
If
-
Create Folder
-
Show Alert
-
Open URLs
-
Wait
-
Text
-
Close Tabcom.apple.mobilesafari
-
Show Alert
-
Ask for InputWhat is the name of the list?
-
Create Note
-
Ask for InputItems to Add
-
Set VariableItems
-
Show Alert
-
Append to Note
-
Choose from MenuWhat Now?
-
Choose from MenuSend List as EMail
-
Send Email
-
Choose from MenuSend List as Message
-
Send Message
-
Choose from MenuExit
-
Stop This Shortcut
-
Show Alert
-
Delete Notes Linkcom.apple.mobilenotes
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#include 'actions/documents'
#define color violet
#define glyph list
/*
Listy creates a list in a Note that you can send as a text message or email.
V1.1
BlackHat Team © 2023
*/
const File = getFileFromFolder(, "Listy", false)
if !File {
createFolder("Listy")
confirm("Run Initial Setup? ")
openURL("http://www.blackhatteams.com/p/listy.html")
wait(6)
const Text = "Listy"
rawAction("com.apple.mobilesafari.CloseTab", {
"AppIntentDescriptor": "",
"target": "Text"
})
confirm("Setup Complete! Run Shortcut?")
}
prompt("What is the name of the list? ")
rawAction("com.apple.mobilenotes.SharingExtension", {
"AppIntentDescriptor": "",
"OpenWhenRun": false,
"WFCreateNoteInput": " {}",
"WFNoteGroup": "",
"folder": ""
})
const ProvidedInput = prompt("Items to Add")
@Items = ProvidedInput
confirm("Tap name of new note to update. ")
const AppendedNote = appendNote(ProvidedInput, @Items)
menu "What Now?" {
item "Send List as EMail ":
sendEmail(nil, "", "Here is the list", AppendedNote)
item "Send List as Message ":
sendMessage(nil, AppendedNote)
item "Exit":
stop()
}
confirm("Delete Note?")
rawAction("com.apple.mobilenotes.DeleteNotesLinkAction", {
"AppIntentDescriptor": "",
"entities": "AppendedNote"
})
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от blackhatteam
Вам также может понравиться
Реклама