deleted
Novedades
Versión 1.1
deleted
Qué hace
48 acciones-
Choose from MenuWhere is your picture ?
-
Choose from MenuPicture Library
-
Select Photos
-
Choose from MenuICloud Drive
-
Get File
-
Set VariableImage
-
Get Details of Images
-
Ask for InputYour text:
-
Set VariableText input
-
CommentConverting text into an image
-
Split Text
-
Number
-
Set VariableNb lines
-
Get Variable
-
Repeat with Each
-
Count
-
Calculate
-
Round Number
-
Calculate
-
Set VariableNb lines
-
Get Variable
-
Combine Text
-
Set Variabletext
-
Number
-
Calculate
-
Calculate
-
Text
-
Make Rich Text from HTML
-
Make PDF
-
Get Images from Input
-
Crop Image
-
CommentResizing the text image
-
Get Variable
-
Calculate
-
Calculate
-
Get Variable
-
Resize Image
-
CommentMerging the text image with the initial image
-
List
-
Combine Images
-
Quick Look
-
Choose from Menu
-
Choose from MenuSave in library
-
Save to Photo Album
-
Choose from MenuSave in ICloud Drive
-
Save File
-
Choose from MenuShare
-
Share
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/text'
#include 'actions/photos'
#define color darkblue
#define glyph textSymbol
menu "Where is your picture ?" {
item "Picture Library":
selectPhotos()
item "ICloud Drive":
getFile("")
}
@Image = nil
const ImageWidth = getImageDetail(nil, "Width")
prompt("Your text:")
@TextInput = nil
// Converting text into an image
const ScinderLeTexte = splitText(nil)
@NbLines = 0
// TODO: Get Variable not supported: Assign variable here to 'ScinderLeTexte'.
for _ in nil {
count(nil, "Characters")
round(0)
@NbLines = nil + @NbLines
}
// TODO: Get Variable not supported: Assign variable here to 'ScinderLeTexte'.
joinText(nil, "<br>")
@text = nil
number(@NbLines)
const TextImageHeight = nil * 140
const RsultatDuCalcul = nil + 30
getRichTextFromHTML("")
makePDF(nil, false)
getImages(nil)
const ImageRecadre = cropImage(nil, 2500, RsultatDuCalcul, "Top Left")
// Resizing the text image
// TODO: Get Variable not supported: Assign variable here to 'ImageWidth'.
const ResizedTextImageHeight = nil / 2500
// TODO: Get Variable not supported: Assign variable here to 'ImageRecadre'.
resizeImage(nil, ImageWidth, ResizedTextImageHeight)
// Merging the text image with the initial image
list(, @Image)
rawAction("is.workflow.actions.image.combine", {
"WFImageCombineDirection": "Vertical",
"WFImageCombineMode": "Side-by-Side"
})
quicklook(nil)
menu nil {
item "Save in library":
savePhoto(nil)
item "Save in ICloud Drive":
saveFilePrompt(nil)
item "Share":
share(nil)
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
También te puede gustar
Publicidad