Replace text in
File name file extension inside file
Replace between text
Save to folder /Shortcuts/Replace Text
Save to specific folder
Create folder
Created by me
Novedades
Versión 1.6
Some Info changes
Qué hace
262 acciones-
Choose from MenuReplace text
-
Choose from Menuin file name
-
Ask for InputReplace what text in file
-
Set VariableReplace text
-
Ask for InputAdd what text in file
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Set VariableFile
-
Get Text from Input
-
Set VariableGet text
-
Get Name
-
Set VariableName
-
Get Details of Files
-
Set VariableExtension
-
If
-
Replace Text
-
Text
-
Set Name
-
Choose from Menuin file extension
-
Ask for InputReplace what text in file
-
Set VariableReplace text
-
Ask for InputAdd what text in file
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Set VariableFile
-
Get Text from Input
-
Set VariableGet text
-
Get Name
-
Set VariableName
-
Get Details of Files
-
Set VariableExtension
-
If
-
Replace Text
-
Text
-
Set Name
-
Choose from Menuinside file
-
Ask for InputReplace what text in file
-
Set VariableReplace text
-
Ask for InputAdd what text in file
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Set VariableFile
-
Get Text from Input
-
Set VariableGet text
-
Get Name
-
Set VariableName
-
Get Details of Files
-
Set VariableExtension
-
If
-
Replace Text
-
Text
-
Set Name
-
Choose from Menureplace between what options
-
Choose from MenuReplace between what
-
Choose from Menuboth sides of text
-
Ask for InputLook For what on left & right side of text
-
Set VariableBoth sides of text
-
Ask for InputReplace what between both sides of text
-
Set VariableReplace text
-
Ask for InputReplace with what
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Get Name
-
Set VariableName
-
Get Text from Input
-
Set VariableGet text
-
Replace Text
-
Text
-
Set Name
-
Choose from Menuboth sides of text (no space)
-
Ask for InputLook For what on left & right side of text
-
Set VariableBoth sides of text
-
Ask for InputReplace what between both sides of text
-
Set VariableReplace text
-
Ask for InputReplace with what
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Get Name
-
Set VariableName
-
Get Text from Input
-
Set VariableGet text
-
Replace Text
-
Text
-
Set Name
-
Choose from Menutwo different sides of text
-
Ask for InputLook for what on left side of text
-
Set VariableLeft side of text
-
Ask for InputLook for what on right side of text
-
Set Variableright side of text
-
Ask for InputReplace what between left & right side of text
-
Set VariableReplace text
-
Ask for InputReplace with what
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Get Name
-
Set VariableName
-
Get Text from Input
-
Set VariableGet text
-
Replace Text
-
Text
-
Set Name
-
Choose from Menutwo different sides of text (no space)
-
Ask for InputLook for what on left side of text
-
Set VariableLeft side of text
-
Ask for InputLook for what on right side of text
-
Set Variableright side of text
-
Ask for InputReplace what between left & right side of text
-
Set VariableReplace text
-
Ask for InputReplace with what
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Get Name
-
Set VariableName
-
Get Text from Input
-
Set VariableGet text
-
Replace Text
-
Text
-
Set Name
-
Choose from Menucreate folder
-
Ask for InputSet Folder Name
-
Set VariableFolder name
-
Create Folder
-
Show Result
-
Stop This Shortcut
-
Choose from Menusave options
-
Choose from MenuReplace text save options
-
Choose from Menuin file name
-
Ask for InputReplace what text in file
-
Set VariableReplace text
-
Ask for InputAdd what text in file
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Set VariableFile
-
Get Text from Input
-
Set VariableGet text
-
Get Name
-
Set VariableName
-
Get Details of Files
-
Set VariableExtension
-
If
-
Replace Text
-
Text
-
Set Name
-
Choose from Menuin file extension
-
Ask for InputReplace what text in file
-
Set VariableReplace text
-
Ask for InputAdd what text in file
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Set VariableFile
-
Get Text from Input
-
Set VariableGet text
-
Get Name
-
Set VariableName
-
Get Details of Files
-
Set VariableExtension
-
If
-
Replace Text
-
Text
-
Set Name
-
Choose from Menuinside file
-
Ask for InputReplace what text in file
-
Set VariableReplace text
-
Ask for InputAdd what text in file
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Set VariableFile
-
Get Text from Input
-
Set VariableGet text
-
Get Name
-
Set VariableName
-
Get Details of Files
-
Set VariableExtension
-
If
-
Replace Text
-
Text
-
Set Name
-
Choose from Menureplace between what options
-
Choose from MenuReplace between what save options
-
Choose from Menuboth sides of text
-
Ask for InputLook For what on left & right side of text
-
Set VariableBoth sides of text
-
Ask for InputReplace what between both sides of text
-
Set VariableReplace text
-
Ask for InputReplace with what
-
Set VariableAdd text
-
Get File
-
Repeat with Each
-
Get Name
-
Set VariableName
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/text'
#define color blue
#define glyph magicWandAlt
menu "Replace text" {
item "in file name":
prompt("Replace what text in file")
@ReplaceText
prompt("Add what text in file")
@AddText
const File = getFileFromFolder(, "")
for _ in File {
@File = @RepeatItem
getText(@File)
@GetText
getName(@File)
@Name
getFileDetail(nil, "File Extension")
@Extension
if @Name contains @ReplaceText {
replaceText(@ReplaceText, @AddText, @Name)
const Text = "{@GetText}"
setName(Text, "{}.{@Extension}")
}
}
item "in file extension":
prompt("Replace what text in file")
@ReplaceText
prompt("Add what text in file")
@AddText
const File1 = getFile("")
for _ in File1 {
@File = @RepeatItem
getText(@File)
@GetText
getName(@File)
@Name
getFileDetail(nil, "File Extension")
@Extension
if @Extension contains @ReplaceText {
replaceText(@ReplaceText, @AddText, @Extension)
const Text1 = "{@GetText}"
setName(Text1, "{@Name}.{}")
}
}
item "inside file":
prompt("Replace what text in file")
@ReplaceText
prompt("Add what text in file")
@AddText
const File2 = getFile("")
for _ in File2 {
@File = @RepeatItem
getText(@File)
@GetText
getName(@File)
@Name
getFileDetail(nil, "File Extension")
@Extension
if @GetText contains @ReplaceText {
replaceText(@ReplaceText, @AddText, @GetText)
const Text2 = "{}"
setName(Text2, "{@Name}.{@Extension}")
}
}
item "replace between what options":
menu "Replace between what" {
item "both sides of text":
prompt("Look For what on left & right side of text")
@BothSidesOfText
prompt("Replace what between both sides of text")
@ReplaceText
prompt("Replace with what")
@AddText
const File3 = getFile("")
for _ in File3 {
getName(@RepeatItem)
@Name
getText(@RepeatItem)
@GetText
replaceText("(\{@BothSidesOfText}.*) {@ReplaceText} (.*.*\{@BothSidesOfText})", "$1 {@AddText} $2", @GetText, true)
const Text3 = "{}"
setName(Text3, @Name)
}
item "both sides of text (no space)":
prompt("Look For what on left & right side of text")
@BothSidesOfText
prompt("Replace what between both sides of text")
@ReplaceText
prompt("Replace with what")
@AddText
const File3 = getFile("")
for _ in File3 {
getName(@RepeatItem)
@Name
getText(@RepeatItem)
@GetText
replaceText("(\{@BothSidesOfText}.*){@ReplaceText}(.*.*\{@BothSidesOfText})", "$1{@AddText}$2", @GetText, true)
const Text3 = "{}"
setName(Text3, @Name)
}
item "two different sides of text":
prompt("Look for what on left side of text")
@LeftSideOfText
prompt("Look for what on right side of text")
@RightSideOfText
prompt("Replace what between left & right side of text")
@ReplaceText
prompt("Replace with what")
@AddText
const File4 = getFile("")
for _ in File4 {
getName(@RepeatItem)
@Name
getText(@RepeatItem)
@GetText
replaceText("(\{@LeftSideOfText}.*) {@ReplaceText} (.*.*\{@RightSideOfText})", "$1 {@AddText} $2", @GetText, true)
const Text4 = "{}"
setName(Text4, @Name)
}
item "two different sides of text (no space)":
prompt("Look for what on left side of text")
@LeftSideOfText
prompt("Look for what on right side of text")
@RightSideOfText
prompt("Replace what between left & right side of text")
@ReplaceText
prompt("Replace with what")
@AddText
const File4 = getFile("")
for _ in File4 {
getName(@RepeatItem)
@Name
getText(@RepeatItem)
@GetText
replaceText("(\{@LeftSideOfText}.*){@ReplaceText}(.*.*\{@RightSideOfText})", "$1{@AddText}$2", @GetText, true)
const Text5 = "{}"
setName(Text5, @Name)
}
}
item "create folder":
prompt("Set Folder Name")
@FolderName
createFolder(@FolderName)
show("New folder is /Shortcuts/{@FolderName}")
stop()
item "save options":
menu "Replace text save options" {
item "in file name":
prompt("Replace what text in file")
@ReplaceText
prompt("Add what text in file")
@AddText
const File = getFile("")
for _ in File {
@File = @RepeatItem
getText(@File)
@GetText
getName(@File)
@Name
getFileDetail(nil, "File Extension")
@Extension
if @Name contains @ReplaceText {
replaceText(@ReplaceText, @AddText, @Name)
const Text = "{@GetText}"
setName(Text, "{}.{@Extension}")
}
}
item "in file extension":
prompt("Replace what text in file")
@ReplaceText
prompt("Add what text in file")
@AddText
const File1 = getFile("")
for _ in File1 {
@File = @RepeatItem
getText(@File)
@GetText
getName(@File)
@Name
getFileDetail(nil, "File Extension")
@Extension
if @Extension contains @ReplaceText {
replaceText(@ReplaceText, @AddText, @Extension)
const Text1 = "{@GetText}"
setName(Text1, "{@Name}.{}")
}
}
item "inside file":
prompt("Replace what text in file")
@ReplaceText
prompt("Add what text in file")
@AddText
const File2 = getFile("")
for _ in File2 {
@File = @RepeatItem
getText(@File)
@GetText
getName(@File)
@Name
getFileDetail(nil, "File Extension")
@Extension
if @GetText contains @ReplaceText {
replaceText(@ReplaceText, @AddText, @GetText)
const Text2 = "{}"
setName(Text2, "{@Name}.{@Extension}")
}
}
item "replace between what options":
menu "Replace between what save options" {
item "both sides of text":
prompt("Look For what on left & right side of text")
@BothSidesOfText
prompt("Replace what between both sides of text")
@ReplaceText
prompt("Replace with what")
@AddText
const File3 = getFile("")
for _ in File3 {
getName(@RepeatItem)
@Name
getText(@RepeatItem)
@GetText
replaceText("(\{@BothSidesOfText}.*) {@ReplaceText} (.*.*\{@BothSidesOfText})", "$1 {@AddText} $2", @GetText, true)
const Text3 = "{}"
setName(Text3, @Name)
}
item "both sides of text (no space)":
prompt("Look For what on left & right side of text")
@BothSidesOfText
prompt("Replace what between both sides of text")
@ReplaceText
prompt("Replace with what")
@AddText
const File3 = getFile("")
for _ in File3 {
getName(@RepeatItem)
@Name
getText(@RepeatItem)
@GetText
replaceText("(\{@BothSidesOfText}.*){@ReplaceText}(.*.*\{@BothSidesOfText})", "$1{@AddText}$2", @GetText, true)
const Text3 = "{}"
setName(Text3, @Name)
}
item "two different sides of text":
prompt("Look for what on left side of text")
@LeftSideOfText
prompt("Look for what on right side of text")
@RightSideOfText
prompt("Replace what between left & right side of text")
@ReplaceText
prompt("Replace with what")
@AddText
const File4 = getFile("")
for _ in File4 {
getName(@RepeatItem)
@Name
getText(@RepeatItem)
@GetText
replaceText("(\{@LeftSideOfText}.*) {@ReplaceText} (.*.*\{@RightSideOfText})", "$1 {@AddText} $2", @GetText, true)
const Text4 = "{}"
setName(Text4, @Name)
}
item "two different sides of text (no space)":
prompt("Look for what on left side of text")
@LeftSideOfText
prompt("Look for what on right side of text")
@RightSideOfText
prompt("Replace what between left & right side of text")
@ReplaceText
prompt("Replace with what")
@AddText
const File4 = getFile("")
for _ in File4 {
getName(@RepeatItem)
@Name
getText(@RepeatItem)
@GetText
replaceText("(\{@LeftSideOfText}.*){@ReplaceText}(.*.*\{@RightSideOfText})", "$1{@AddText}$2", @GetText, true)
const Text5 = "{}"
setName(Text5, @Name)
}
}
}
const SavedFile = saveFilePrompt(MenuResult)
stop()
}
createFolder("Replace text")
saveFile("Replace text", MenuResult1, true)
show("In folder /Shortcuts/Replace text")
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de hunter9888x
También te puede gustar
Publicidad