ShareShortcuts
Fazer fork de “Text above picture”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que primes receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
73K
Salvo
4
Ações
48
Categoria
Productivity
Versão
1.1
Idioma
EN

deleted

Novidades

Versão 1.1

deleted

Histórico de versões
1.1 11 de set de 2019

deleted

1.0 17 de dez de 2018

First release

O que ele faz

48 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele 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 no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Você também pode gostar

Ver tudo
Publicidade