- Posted by
-   Topics
-   Views
- HansFink
Jul 12, 2007
- Hello, I have a "simple" task: I want to insert a new line before line 1 via a macro, but the new line is always entered after line 1. Here is what I got: InsertMode ColumnModeOff HexOff UnixReOff Top Key HOME InsertLine ... What is wrong with that?Posted in Macros
-   Topics
-   Views
- HansFink
Jul 12, 2007
- Thanks again, but it still closes all files. Maybe my version of UltraEdit is not compatible (11.20b) or my example file is not good enough. Here are two better file examples. S_1.txt contains search string and should remain open There is no header for column 4 in line 6 NAME S_1.5 2-3x SHORTNAME S_...Posted in Macros
-   Topics
-   Views
- HansFink
Jun 04, 2007
- Thanks Mofi, I tried your macro but it doesn't work for me. It always closes all files, also those files which contain the search string (?.???). To make things hopefully easier, the following conditions are given: - All open files already contain the required header (HEADER1), so after the data of ...Posted in Macros
-   Topics
-   Views
- HansFink
Jun 04, 2007
- OK, here is a typically text file: NAME A11B4 DESCRIPTION ABC TABELLE Description ABC CBA HEADER1 s-out A1174-3123 3 1.5 0.004455 3 A1174-4123 4 10 1.0866 4 A1174-5123 5 1.5 1.013459 5 COUNT 1174-3123 1 0 Line 1 to 3 is the general header of the file Line Description to A1174-5 ist the main area whe...Posted in Macros
-   Topics
-   Views
- HansFink
May 31, 2007
- Hi, I have many text files which contain columns with headers and data. The position of the header names can be different from file to file so I cannot use fixed column numbers. I need a macro that searches for a column header (HEADER1) and then searches for a pattern like ?.??? (all values with 3 d...Posted in Macros
-   Topics
-   Views
- HansFink
May 30, 2007
- Hi, that only covers Syntax Highlightning, but not Validation. Syntax Highlightning = Marks the appropriate Syntax with colors, but does nothing else Validation = Checks if the code is correct and would run without errors upon execution. So that topic is still open. One possibility is to use externa...Posted in Custom User Tools/Tool Configuration
-   Topics
-   Views
- HansFink
Aug 04, 2006
- Hello, I want to remove all duplicate entries from a file including itself, so there are no lines left with that name. Example: Before. 113F 26566Fzu 113F 523FD798 ADF465EW 113F After. 26566Fzu 523FD798 ADF465EW I tried the Sort function but it leaves one line with the same name. How can I do that?Posted in Macros
-   Topics
-   Views
- HansFink
Jun 26, 2006
- I still have some problems. Unfortunately not all files have the expression and I just want to skip these files go to the next window. I tried this, but that does not work InsertMode ColumnModeOff HexOff Top Loop IfNameIs "" ExitLoop Find MatchCase RegExp MatchWord "TEST" Replace "TERM1" Find MatchC...Posted in Macros
-   Topics
-   Views
- HansFink
Jun 12, 2006
- Hello, how can I replace the same expression on the first occurrence with term1 and on the second occurrence with term2? Example: Input blah blah blah blah blah TEST blah blah blah blah blah TEST blah blah blah blah blah Output blah blah blah blah blah TERM1 blah blah blah blah blah TERM2 blah blah ...Posted in Macros
-   Topics
-   Views
- HansFink
Jun 09, 2006