- Posted by
- Hi Debjit, Here is the script for the total page count: if (UltraEdit.document.length > 0) // Is any file opened? { // Define environment for this script. UltraEdit.insertMode(); if (typeof(UltraEdit.columnModeOff) == "function") UltraEdit.columnModeOff(); else if (typeof(UltraEdit.acti...Posted in Scripts
-   Topics
-   Views
- Samir
May 31, 2021
- Thank you so much Mofi for your valuable reply. The directory structure can be any single directory and can have different subdirectories - according to your example. Each file will have the appropriate file destination completed and no place will be "#" without the file name. Without the file name ...Posted in Scripts
-   Topics
-   Views
- Samir
Mar 06, 2021
- I have some XHTML files. There are to do some ID sequence changes based on the prefix list given in prefix.lst containing lines like: part:pt chapter:c sec:h fig:f table:t box:b ref:r en:n eqn:e Step 1: The identifiers in the files should be changed according to the example given below: id="chapter1...Posted in Scripts
-   Topics
-   Views
- Samir
Feb 22, 2021
- Thanks again Mofi, But unfortunately I'm not using UltraEdit v22.20 or v26.10, I'm using UEStudio v12.20. By the way I want to try replace in files with loop by following pattern replace: Find: (?s)(<(div)( class="(?(4)[^"]*?|(?|(sec[A-Z])))")>((?>(?:(?!<\2\b)(?!</\2\b).)++|(?1))*+)</\2>) Replace: <...Posted in Scripts
-   Topics
-   Views
- Samir
Jun 14, 2019
- Hello everyone, I have a task, I'd like to change element based specific attribute class in multiple HTML files in UltraEdit. Like: <div class="secA"> <div class="secB"> <div class="secC"> <div class="secD"> </div> <div class="secD"> <div class="secE"> </div> </div> </div> </div> </div> After change...Posted in Scripts
-   Topics
-   Views
- Samir
Jun 11, 2019
- Thanks again Mofi for your important advice. My macro is working properly, but very slow. I am understanding your advice. But I cannot update the macro as of your information. I know, a script would be a better solution. But please can you provide a macro which supports up to 10 levels.Posted in Macros
-   Topics
-   Views
- Samir
Dec 25, 2018
- Thanks Mofi for your reply. Sorry for forgetting to mention some issues: The macro "01_secID1-3" should be run in my macro. Can be "_@" (section identifier numbering) 1-10 or more times. I use UEStudio v11.00 Your macro is working very well at the above mentioned input. I need to follow the mentione...Posted in Macros
-   Topics
-   Views
- Samir
Dec 24, 2018
- Hi, I try to create a macro for generating nested section identifiers like: Input: id="sec1_@" id="sec1_@_@" id="sec1_@_@" id="sec1_@_@_@" id="sec1_@_@_@" id="sec1_@_@" id="sec1_@" id="sec1_@" id="sec1_@_@" id="sec1_@_@_@" id="sec1_@_@_@" id="sec1_@_@_@" id="sec1_@_@" id="sec1_@" id="sec1_@" id="sec...Posted in Macros
-   Topics
-   Views
- Samir
Dec 19, 2018
- Hi, I have the favor to ask for an UltraEdit script for inserting auto-incremented numbers in headers for identifiers starting with same string with zero leading? The attached file below contains two files with an input and output example. How to increment number against ## for same value with zero ...Posted in Scripts
-   Topics
-   Views
- Samir
Feb 14, 2018