ShareShortcuts

Text above picture

primes
Dupliquer « Text above picture »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que primes soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
72K
Enregistré
4
Actions
48
Catégorie
Productivity
Version
1.1
Langue
EN

deleted

Nouveautés

Version 1.1

deleted

Historique des versions
1.1 11 sept. 2019

deleted

1.0 17 déc. 2018

First release

Ce qu’il fait

48 actions
  1. Choose from Menu
    Where is your picture ?
  2. Choose from Menu
    Picture Library
  3. Select Photos
  4. Choose from Menu
    ICloud Drive
  5. Get File
  6. Set Variable
    Image
  7. Get Details of Images
  8. Ask for Input
    Your text:
  9. Set Variable
    Text input
  10. Comment
    Converting text into an image
  11. Split Text
  12. Number
  13. Set Variable
    Nb lines
  14. Get Variable
  15. Repeat with Each
  16. Count
  17. Calculate
  18. Round Number
  19. Calculate
  20. Set Variable
    Nb lines
  21. Get Variable
  22. Combine Text
  23. Set Variable
    text
  24. Number
  25. Calculate
  26. Calculate
  27. Text
  28. Make Rich Text from HTML
  29. Make PDF
  30. Get Images from Input
  31. Crop Image
  32. Comment
    Resizing the text image
  33. Get Variable
  34. Calculate
  35. Calculate
  36. Get Variable
  37. Resize Image
  38. Comment
    Merging the text image with the initial image
  39. List
  40. Combine Images
  41. Quick Look
  42. Choose from Menu
  43. Choose from Menu
    Save in library
  44. Save to Photo Album
  45. Choose from Menu
    Save in ICloud Drive
  46. Save File
  47. Choose from Menu
    Share
  48. Share

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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)
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Ça pourrait aussi te plaire

Tout afficher
Publicité