Handling same file extension in different document classes

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
victorf
Posts: 12
Joined: Fri Nov 14, 2003 12:46 pm
Location: Schehectady, New York USA

Handling same file extension in different document classes

Post by victorf »

I am using a freeby PCB (Printed Circuit Board) editor PCB123. TO add new parts to the parts libraries it is required that the user create a text file with the extension .LIB :? This is not a wise choice on the part of PCB123's creators. My TextPad already has the .LIB included in the Binary document class. Is there a good way of handling this conflict? I have examined the provided sample PCB123 .LIB files using notepad and they appear to be pure text files and the help files in PCB123 declare that the files are indeed text files.

Any enlightenment will be appreciated.

Vic
Victor Fraenckel
victorf AT windreader DOT com
KC2GUI
helios
Posts: 716
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

You could just delete *.LIB from the Binary document class. If you don't want to do that, then you could create a new document class called PCB and add *.LIB to the list of files in class. TextPad checks through the Document classes in reverse order, so this will override the Binary document class and open *.lib files as ordinary text files.

I hope this helps.
Helios Software Solutions
Post Reply