Search found 11 matches

by Moz
Sat Feb 19, 2011 12:49 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: "Remove Lines found in" "list of files / folder"
Replies: 7
Views: 4218

Re: "Remove Lines found in" "list of files / folder"

Thanks for these fixes. They all work perfectly apart from number 4. I still get an error when closing textpipe after running the filter. The errors I get (in order) are like this (sometimes different address numbers): Access violation at address 00397993 in module textpipe.exe. Read of address 0000...
by Moz
Thu Feb 17, 2011 8:11 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: "Remove Lines found in" "list of files / folder"
Replies: 7
Views: 4218

Re: "Remove Lines found in" "list of files / folder"

Hi Simon, That's excellent! Thanks! I had to change a couple of things in your vbscript (you'd declared vb_TPWindow but then referred to it just as TPWindow later on), and also I wanted to dynamically load the list of files which should be added to the filter. I've managed to work those out by combi...
by Moz
Wed Feb 16, 2011 7:32 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: "Remove Lines found in" "list of files / folder"
Replies: 7
Views: 4218

Re: "Remove Lines found in" "list of files / folder"

Because I don't want to process those files. I have: "File A" <-- this is the file I want to process and it contains lots of numbers, one on each line "file 1" <-- this contains a list of numbers "file 2" <-- this contains a list of numbers "file 3" <-- this contains a list of numbers I want to remo...
by Moz
Tue Feb 15, 2011 11:31 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: "Remove Lines found in" "list of files / folder"
Replies: 7
Views: 4218

"Remove Lines found in" "list of files / folder"

I have a large number of files which contain lines I want to remove from a "file to process". I use the "Remove lines found in" filter but I have to create multiple filters, one for each file. Is it possible to just have one "remove lines found in" filter that either removes lines found in all files...
by Moz
Tue Feb 15, 2011 10:09 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: XML edits. One file, multiple changes, export to multiple
Replies: 3
Views: 2903

Re: XML edits. One file, multiple changes, export to multipl

Hi, Not sure if you managed to work this out or not, but I do a similar thing with Textpipe. Is your finished XML file always the same except for the UserID? If so then you can start with the following filters and change to match your XML file structure. There are a couple of problems which I've lis...
by Moz
Fri Aug 10, 2007 8:10 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Extract META tag data from long list of websites?
Replies: 3
Views: 5486

Absolutely. Just use a Search/Replace with the Extract option, e.g. using the perl pattern: <meta[^>]*NAME="description"[^>]*> Replace with @FullInputFilename: $0\r\n Hi Simon, Thanks for the (as usual) very speedy response on this, however I'm still a little stuck. I can get the sites downloaded u...
by Moz
Thu Aug 09, 2007 4:39 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Extract META tag data from long list of websites?
Replies: 3
Views: 5486

Extract META tag data from long list of websites?

Hi,

I've seen the download websites filter for Textpipe - is it possible to have a list of URL's in a text file, use Textpipe to download them and then extract the META tag data like Description?

Thanks,

Moz
by Moz
Tue Aug 07, 2007 11:22 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Convert fields in CSV to multiple rows retaining first colum
Replies: 2
Views: 4665

Convert fields in CSV to multiple rows retaining first colum

Hi, I have data like this: 43,12,13,27,31,54,76 44,43,152, 46, 47,84,128,151,190 The first column is ID1 and the remainders are each ID2 values for that one ID1. I want to change the data so it's in the following format: ID1,ID2 e.g. the example data above would be: 43,12 43,13 43,27 43,31 43,54 43,...
by Moz
Fri Mar 17, 2006 10:31 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Inserting file name into the file
Replies: 5
Views: 11038

Other than that, there's no easy way to do it, unless you wrote your own Output Filter using VBScript, which could query the current filename. This is not that hard to do. Hi Simon, OK thanks for the reply- I'll see if I can work out how to do that, but my programming skills aren't particularly bri...
by Moz
Thu Mar 16, 2006 3:19 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Inserting file name into the file
Replies: 5
Views: 11038

Hi, I've got a similar kind of problem but rather than wanting to insert the filename into the file contents I would like to get the filename into the output files. Here's an overview: I have input filename Moz.txt (the input filename changes) and have a custom filter that processes this file to ext...
by Moz
Sun Oct 09, 2005 8:21 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Randomize lines is too slow! - worked out a faster way.
Replies: 1
Views: 6130

Randomize lines is too slow! - worked out a faster way.

[edit] I've worked out a faster randomise now. I was trying to randomise millions of lines of numbers, but the "Randomize Lines" filter took 9 hours to process each file (and I have a few to go through). My solution is: Simply grab a load of "random" numbers from somewhere like random.org (two lists...