ShareShortcuts

Listy

Create a note to send as a message or an email

blackhatteam
Создать форк «Listy»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы blackhatteam получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
35K
Сохранено
1
Действия
25
Категория
Productivity
Версия
1.4
Язык
EN

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

История версий
1.4 19 апр 2023 г.

- Removed unnecessary notification

1.3 29 янв 2023 г.

Fix for iOS 16.3

1.2 24 янв 2023 г.

Bug fix...

1.1 24 янв 2023 г.

Fix for iOS 16.3

1.0 19 янв 2023 г.

First release

Что делает

Действий: 25
  1. Comment
    Listy creates a list in a Note that you can send as a text message or email. V1.1 BlackHat Team © 2023
  2. Get File
  3. If
  4. Create Folder
  5. Show Alert
  6. Open URLs
  7. Wait
  8. Text
  9. Close Tab
    com.apple.mobilesafari
  10. Show Alert
  11. Ask for Input
    What is the name of the list?
  12. Create Note
  13. Ask for Input
    Items to Add
  14. Set Variable
    Items
  15. Show Alert
  16. Append to Note
  17. Choose from Menu
    What Now?
  18. Choose from Menu
    Send List as EMail
  19. Send Email
  20. Choose from Menu
    Send List as Message
  21. Send Message
  22. Choose from Menu
    Exit
  23. Stop This Shortcut
  24. Show Alert
  25. Delete Notes Link
    com.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

См. все

Вам также может понравиться

См. все
Реклама