Search found 1517 matches

by Bob Hansen
Wed Oct 06, 2010 11:45 pm
Forum: General
Topic: Adding a TextPad macro in my Batch File
Replies: 2
Views: 1092

Sorry, but you cannot call a TextPad macro from a command line.

After TextPad opens, you will need to manually start the TextPad macro.
by Bob Hansen
Tue Aug 03, 2010 1:43 am
Forum: General
Topic: Multiple-deletion of specific content in files in a folder
Replies: 5
Views: 1266

So, test it out on some 10K files.

If it works, then purchase it for use on the larger files.
by Bob Hansen
Thu Jun 03, 2010 2:47 am
Forum: General
Topic: problem using the forum
Replies: 8
Views: 1982

I just wanted to expand a bit on Mike Olds comments. I also am a part time moderator, and one of our main functions is to keep the forum professional. We have limited time and tools to identify spammers. We do not have access to the forum software, so we cannot set filters or rules. I am not going t...
by Bob Hansen
Tue May 18, 2010 1:03 am
Forum: General
Topic: Help fix logger stmts.
Replies: 2
Views: 1001

This can be done with two separate RegEx strings:

Search for: \(.*\+(.*)\)
Replace with: ("\1 = " +\1)

and then run these

Search for: \(.*- (.*)\)
Replace with: ("\1)

============================
Using POSIX syntax
RegEX is ON.
by Bob Hansen
Thu May 13, 2010 11:04 pm
Forum: General
Topic: Bug? in syntax highlighting?
Replies: 5
Views: 1917

It is possible that the commas, other chars, had been added as additional characters on the configuration page for Class/Syntax definition.
by Bob Hansen
Tue May 04, 2010 2:01 am
Forum: General
Topic: Textpad in command prompt
Replies: 13
Views: 6030

Don't know what environment variables are needed, but if TextPad is installed properly, you can run TextPad from the command line in a Command prompt window. You may need to use the complete path if TextPad folder is not in your path variable. Search TextPad HELP, search for "Command Line"...
by Bob Hansen
Mon May 03, 2010 5:13 pm
Forum: General
Topic: Bug? in syntax highlighting?
Replies: 5
Views: 1917

I wouldn't call is a bug as much as a shortcoming. It is well known (but not well received).

The syntax highlighter uses "space" as the delimiter.
Not able to use any type of RegEx style filters in the current syntax processor.
by Bob Hansen
Tue Apr 27, 2010 12:38 am
Forum: General
Topic: How do I make textpad do this?
Replies: 9
Views: 3725

I find it funny that ACRobin's solutions were using RegEx, but then later states:
you can provide a solution to the original question without using "Regex".
:wink:
by Bob Hansen
Sat Apr 24, 2010 7:41 pm
Forum: General
Topic: How do I make textpad do this?
Replies: 9
Views: 3725

If you just run the RegEx on the whole document, then all lines will be processed, not stopping after line 100. So you may need tp select words 1-100 or make the macro select the hundred words and have the macro run on Selected text only. Or. run the Regex on the complete document, then go back and ...
by Bob Hansen
Thu Apr 22, 2010 10:26 pm
Forum: WildEdit
Topic: FILENAME variable?
Replies: 4
Views: 4508

While using TextPad, you could run a macro to Insert Filename, copy it to clipboard, and delete it. Then you could later paste it from the clipboard into WildEdit replacement field.
by Bob Hansen
Fri Apr 09, 2010 10:51 pm
Forum: General
Topic: Opening files in TEXTPAD
Replies: 2
Views: 1492

Edit the Windows File Associations for that type of file,
or add the file type to the class extensions in one ofTextPad's default classes or create a new TextPad Class for that file type.
by Bob Hansen
Mon Apr 05, 2010 7:36 pm
Forum: General
Topic: color and syntax defintion go away on Opening
Replies: 3
Views: 1763

Sorry for asking about the obvious, but, I see that you updated the syntax file, but did you make a cs class and assign the syntax file to that class? Did you set the colors for that class? Important that you are working at the class level and not at the default for any documents.
by Bob Hansen
Mon Apr 05, 2010 12:30 am
Forum: General
Topic: color and syntax defintion go away on Opening
Replies: 3
Views: 1763

When making configuration changes I find it best to follow these steps, especially for any changes in Classes: 1. Close all other copies of TextPad. 2. Close all open documents, INCLUDING THE DEFAULT NEW BLANK DOCUMENT. 3. Make the changes you want: Configure/Preferences/...... 4. Apply and OK your ...
by Bob Hansen
Mon Mar 22, 2010 4:03 am
Forum: Enhancement Suggestions
Topic: Lock files using password and encryption
Replies: 10
Views: 2642

How about using an encryption program with command lines and adding as a Tool?
by Bob Hansen
Sat Mar 13, 2010 1:59 am
Forum: General
Topic: file parsing
Replies: 6
Views: 2020

Based on your sample.... 1. Search for: ^.log.*\n Replace with: nothing 2. Search for: ^RequestId Replace with: ~RequestId 3. Search for: \n Replace with: , 4. Search for: ~ Replace with: \n ============================= Use the following settings: ----------------------------------------- [ X ] Reg...