Escaneie com o iPhone para instalar
Take text inside all files in order
Separates text in all files by new line or spaces & adds it To a new file (set name of file)
Save to folder /Shortcuts/file text to file
or Save to specific folder
& Make folder
Created by me
Novidades
Versão 1.2
Name changes
O que ele faz
50 ações-
Choose from Menu
-
Choose from Menufile text to file (new line)
-
Get File
-
Filter Files
-
Repeat with Each
-
Get Details of Files
-
Set VariableExtension
-
Get Text from Input
-
Combine Text
-
Set Name
-
Choose from Menufile text to file (spaces)
-
Get File
-
Filter Files
-
Repeat with Each
-
Get Details of Files
-
Set VariableExtension
-
Get Text from Input
-
Combine Text
-
Set Name
-
Choose from Menufile text to file (new line) save too
-
Get File
-
Filter Files
-
Repeat with Each
-
Get Details of Files
-
Set VariableExtension
-
Get Text from Input
-
Combine Text
-
Set Name
-
Save File
-
Stop This Shortcut
-
Choose from Menufile text to file (spaces) save too
-
Get File
-
Filter Files
-
Repeat with Each
-
Get Details of Files
-
Set VariableExtension
-
Get Text from Input
-
Combine Text
-
Set Name
-
Save File
-
Stop This Shortcut
-
Choose from Menucreate folder
-
Ask for InputSet Folder Name to Save Too
-
Set VariableFolder name
-
Create Folder
-
Show Result
-
Stop This Shortcut
-
Create Folder
-
Save File
-
Show Result
Ver como código
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/documents'
#define color lightblue
#define glyph magicWandAlt
const RepeatResults = menu nil {
item "file text to file (new line)":
const File = getFileFromFolder(, "")
const Files = filterFiles(File, "Creation Date", "Oldest First")
const RepeatResults1 = for _ in Files {
getFileDetail(nil, "File Extension")
@Extension
getText(@RepeatItem)
}
const CombinedText = joinText(RepeatResults, "
")
setName(CombinedText, "Newfile{Ask}.{@Extension}")
item "file text to file (spaces)":
const File = getFile("")
const Files = filterFiles(File, "Creation Date", "Oldest First")
for _ in Files {
getFileDetail(nil, "File Extension")
@Extension
getText(@RepeatItem)
}
const CombinedText = joinText(RepeatResults1, " ")
const RenamedItem1 = setName(CombinedText, "Newfile{Ask}.{@Extension}")
item "file text to file (new line) save too":
const File = getFile("")
const Files = filterFiles(File, "Creation Date", "Oldest First")
for _ in Files {
getFileDetail(nil, "File Extension")
@Extension
getText(@RepeatItem)
}
const CombinedText = joinText(RepeatResults, "
")
const RenamedItem = setName(CombinedText, "Newfile{Ask}.{@Extension}")
const SavedFile = saveFilePrompt(RenamedItem)
stop()
item "file text to file (spaces) save too":
const File = getFile("")
const Files = filterFiles(File, "Creation Date", "Oldest First")
for _ in Files {
getFileDetail(nil, "File Extension")
@Extension
getText(@RepeatItem)
}
const CombinedText = joinText(RepeatResults, " ")
const RenamedItem1 = setName(CombinedText, "Newfile{Ask}.{@Extension}")
const SavedFile1 = saveFilePrompt(RenamedItem1)
stop()
item "create folder":
prompt("Set Folder Name to Save Too")
@FolderName
createFolder(@FolderName)
show("New folder is /Shortcuts/{@FolderName}")
stop()
}
createFolder("file text to file")
saveFile("file text to file", MenuResult, true)
show("In folder /Shortcuts/file text to file")
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 hunter9888x
Você também pode gostar
Publicidade