Image To PDF Converter
Convert any documents which is taken by Camera or select from Photos and make pdf
iconickrОтсканируй на iPhone, чтобы установить
Convert any documents which is taken by Camera or select from Photos and make pdf
Что нового
Версия 1.1
Fixes
Что делает
Действий: 35-
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
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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)
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от iconickr
Вам также может понравиться
Реклама