ShareShortcuts
Dupliquer « TTS Saver »

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 te55eract 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
13K
Enregistré
0
Actions
42
Catégorie
Productivity
Version
1.0
Langue
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.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 25 juil. 2025

First release

Ce qu’il fait

42 actions
  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.

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


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

Plus de te55eract

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité