- Posted by
-   Topics
-   Views
- Gabarito
22:59 - 21 days ago
- Just wonderful! Your solution is perfect! I think almost all macros can be replaced with some kind of ReplaceInFiles . Even when I thought it wouldn't be possible, it was, like in this case. And this is the solution when the task involves applying to multiple files. But the original question remains...Posted in Macros
-   Topics
-   Views
- Gabarito
9:34 - 22 days ago
- Thank you for clarifying, Mofi. But I'm afraid that ReplaceInFiles won't be possible. Macro "Fix subtitle" delays the timecode of each subtitle because they were downloaded with error. I will try to explain below. The subtitle pattern looks like this: (The example below was downloaded wrong and must...Posted in Macros
-   Topics
-   Views
- Gabarito
18:13 - 23 days ago
- I'm trying to run a macro on multiple files. Just that, to run several editing steps on files. Searching, I found Run Macro on all files within folder And I thought something like this: InsertMode ColumnModeOff HexOff FindInFiles "F:\tests\" "*.srt" "1^p" IfFound PlayMacro 1 "Fix subtitle" EndIf All...Posted in Macros
-   Topics
-   Views
- Gabarito
9:21 - 24 days ago
- I'm trying to write some UltraEdit macros and debug some mistakes I make. I'm not finding a way to decrease the processing speed to see step-by-step of each line. It should have some kind of delay or wait command to put between lines to watch what is going on, during the macro playing. Or some brute...Posted in Macros
-   Topics
-   Views
- Gabarito
13:40 - Jun 15
- Mofi, I apreciate your time and attention for my thread. Your scripts are always of the highest quality, well commented and written. Thank you. Doing some testing, I noticed that now it captures the "Copy of..." prefix of filenames accordingly. Good. But I can't see it matching words after the first...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 16, 2023
- I copied GetListOfFiles , GetFileExt , GetFileName and GetNameOfFile to the script file. As it is now, it's OK. But I think it will not discover ALL similar files. I got the result below after applied the script: F:\tests\addons.json F:\tests\Copy of addons.json F:\tests\content-prefs.sqlite F:\test...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 15, 2023
- Both solutions work fine. They list the files with same name, as requested. But I think we can improve our solutions. How to list only the files with part of the name the same? Explaining. When I copy some file in the same folder, Directory Opus, Windows Explorer or other file manager puts some extr...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 15, 2023
- For the first task use GetListOfFiles(0,"D:\\","one file.jpg",true); Thank you, Mofi. I called the function this way: if (GetListOfFiles(0,sParentFolderPath,"*.*",true)) { UltraEdit.activeDocument.top(); UltraEdit.activeDocument.findReplace.mode=0; UltraEdit.activeDocument.findReplace.matc...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 14, 2023
- I'm trying to write a script that could find all files inside a folder and its subfolders. " GetListOfFiles.js ", written by Mofi, already do that. But how to modify it to find only files with exactly same name? Like this: d:\folder1\one file.jpg d:\folder2\one file.jpg d:\folder3\one file.jpg Exten...Posted in Scripts
-   Topics
-   Views
- Gabarito
Dec 14, 2023
- Thank you, very much. Yes, I use Thunderbird to view such files. But I also like to handle all kinds of files using UltraEdit. And like to know those tricks you'd described. 👍Posted in UltraEdit General Discussion
-   Topics
-   Views
- Gabarito
Jul 16, 2023
- Thank you, Mofi. Now I know about quoted-printable form and standards for Emails. At the header, guidelines are: X-Gmail-Labels: Sent MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So, I have two questions: What are UltraEdit tricks to decodin...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Gabarito
Jul 16, 2023