Scan with your iPhone to install
Preview
Usage: - Convert your images to PDF file.
What's New
Version 1.0
First release
What it does
13 actions-
CommentAuthor: Ari R. Abdulla Usage: - Convert your images to PDF file.
-
If
-
Make PDF
-
If
-
Select Photos
-
Make PDF
-
Ask for InputPDF Name?
-
Set Name
-
Choose from Menu
-
Choose from MenuAdd PDF to Books
-
Openincom.apple.iBooks
-
Choose from MenuShare PDF
-
Share
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/photos'
#include 'actions/pdf'
#define color orange
#define glyph openBook
/*
Author: Ari R. Abdulla
Usage:
- Convert your images to PDF file.
*/
const IfResult = if ShortcutInput {
makePDF(ShortcutInput)
} else {
const Photos = selectPhotos(true)
makePDF(Photos)
}
const NewName = prompt("PDF Name?")
const PDF = setName(IfResult, NewName, false)
menu "" {
item "Add PDF to Books":
rawAction("com.apple.iBooks.openin", {
"BooksInput": "PDF"
})
item "Share PDF":
share(PDF)
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by arirafiq
You Might Also Like
Advertisement