Image To PDF Converter
Convert any documents which is taken by Camera or select from Photos and make pdf
iconickrScan with your iPhone to install
Convert any documents which is taken by Camera or select from Photos and make pdf
What's New
Version 1.1
Fixes
What it does
35 actions-
Dictionary
-
Get IP Address
-
If
-
Get File
-
If
-
Get Time Between Dates
-
If
-
Nothing
-
If
-
Create Folder
-
Nothing
-
If
-
Save File
-
Get Contents of URLhttps://routinehub.co/api/v1/shortcuts/…/versions/latest
-
Get Dictionary Value
-
If
-
Choose from MenuA new Version is available. Version: … -> … Changes: …
-
Choose from MenuGet new Version
-
Replace Text
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuSelect Photos from?
-
Choose from MenuPhotos 🏞
-
Select Photos
-
Choose from MenuCamera 📸
-
Take Photo
-
Cropcom.alexhay.ToolboxProForShortcuts
-
Wait to Return
-
Get Clipboard
-
Get Text From Images I A I Hcom.alexhay.ToolboxProForShortcuts
-
Get Text From Images I A I Hcom.alexhay.ToolboxProForShortcuts
-
Copy to Clipboard
-
Make PDF
-
Save File
-
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/network'
#define color darkblue
#define glyph documentFilled
const CurrentIPAddress = getExternalIP()
if CurrentIPAddress contains "." {
const File = getFile("{['Path']}/LastUpdateCheck.txt", false)
if File {
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{CurrentDate}",
"WFTimeUntilFromDate": "{File}",
"WFTimeUntilUnit": "Seconds"
})
if TimeBetweenDates > 1 {
}
} else {
createFolder(['Path'])
}
if !IfResult {
saveFile("{['Path']}/LastUpdateCheck.txt", true)
const ContentsOfURL = downloadURL("https://routinehub.co/api/v1/shortcuts/{['ID']}/versions/latest")
const DictionaryValue = getValue(ContentsOfURL, "Version")
if DictionaryValue != Dictionary['Version'] {
menu "A new Version is available.\nVersion: {['Version']} -> {ContentsOfURL['Version']}\n\nChanges:\n{ContentsOfURL['Notes']}" {
item "Get new Version":
const UpdatedText = replaceText("https://www.icloud.com", "shortcuts:/", ContentsOfURL['URL'])
openURL(UpdatedText)
stop()
}
}
}
}
menu "Select Photos from?" {
item "Photos 🏞":
selectPhotos()
item "Camera 📸":
takePhoto(1, true)
}
rawAction("com.alexhay.ToolboxProForShortcuts.CropIntent", {
"image": "MenuResult"
})
waitToReturn()
const Clipboard = getClipboard()
const NewText = rawAction("com.alexhay.ToolboxProForShortcuts.GetTextFromImagesIAIHIntent")
const NewText1 = rawAction("com.alexhay.ToolboxProForShortcuts.GetTextFromImagesIAIHIntent")
setClipboard(NewText1)
const PDF = makePDF(NewText1)
const SavedFile = saveFilePrompt(PDF)
share(SavedFile)
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 iconickr
You Might Also Like
Advertisement