ShareShortcuts
Fazer fork de “TTS Saver”

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 te55eract 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
13K
Salvo
0
Ações
42
Categoria
Productivity
Versão
1.0
Idioma
EN

A Batch Text-to-Speech converter that allows you to select multiple files at once and convert them to speech:

  • Accepts text, PDFs, images, clipboard, or manual entry
  • Batch processing of files
  • Extracts text using OCR if needed
  • Generates Individual audio files for each source
  • share or save using the share sheet.

Novidades

Versão 1.0

First release

Histórico de versões
1.0 25 de jul de 2025

First release

O que ele faz

42 ações
  1. Set Variable
    Input
  2. If
  3. Choose from Menu
    Choose Input Source
  4. Choose from Menu
    Files
  5. Select File
  6. Choose from Menu
    Photos
  7. Select Photos
  8. Choose from Menu
    Clipboard
  9. Get Clipboard
  10. Choose from Menu
    Manual Input
  11. Ask for Input
    Enter Text
  12. Set Variable
    Input
  13. Repeat with Each
  14. Get Type
  15. If
  16. Comment
    ↓ Perform OCR on images
  17. If
  18. Extract Text from Image
  19. Split Text
  20. Combine Text
  21. Add to Variable
  22. Comment
    ↓ check if PDF and extract the text. If there is no underlying text then perform OCR on pdf
  23. If
  24. Gettextfrompdf
  25. If
  26. Extract Text from Image
  27. Add to Variable
  28. If
  29. Add to Variable
  30. Split Text
  31. Combine Text
  32. Add to Variable
  33. If
  34. Get Text from Input
  35. Add to Variable
  36. Repeat with Each
  37. Make Spoken Audio
  38. Encode Media
  39. Add to Variable
  40. Quick Look
  41. Share
  42. Comment
    _TTS_ Convert text to audio. Accepts text,pdfs, or images and makes an audio file of the spoken text. runs OCR on images runs OCR on PDFs if there is no underlying text.

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/sharing'
#include 'actions/photos'
#include 'actions/documents'
#define color teal
#define glyph textBubble

@Input = ShortcutInput

if !@Input {
	menu "Choose Input Source" {
	item "Files":
		selectFile(true)
	item "Photos":
		selectPhotos(true)
	item "Clipboard":
		getClipboard()
	item "Manual Input":
		prompt("Enter Text")
	}
	@Input
}

for _ in @Input {
	const Type = typeOf(@Input)
	if Type contains "Photo" || Type contains "Image" || Type contains "PDF" {
		// ↓ Perform OCR on images

		if Type contains "Photo" || Type contains "Image" {
			const TextFromImage = extractImageText(@RepeatItem)
			const SplitText = splitText(TextFromImage)
			joinText(SplitText, " ")
			@Texts
			// ↓ check if PDF and extract the text. If there is no underlying text then perform OCR on pdf

		}
		if Type contains "PDF" {
			const Text = getPDFText(@RepeatItem)
			if Text['File Size'] ==  {
				extractImageText(@RepeatItem)
				@PDFText
			} else {
				@PDFText = Text
			}
			const SplitText1 = splitText(@PDFText)
			joinText(SplitText1, " ")
			@Texts
		}
	} else {
		getText(@RepeatItem)
		@Texts
	}
}

for _ in @Texts {
	const SpokenAudio = makeSpokenAudio(@RepeatItem)
	encodeAudio(SpokenAudio)
	@AudioFiles
}
quicklook(@AudioFiles)
share(@AudioFiles)
/*
_TTS_
Convert text to audio.

Accepts text,pdfs, or images and makes an audio file of the spoken text. 

runs OCR on images
runs OCR on PDFs if there is no underlying text. 


*/
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

Mais de te55eract

Ver tudo

Você também pode gostar

Ver tudo
Publicidade