View Single Post
Old 10-05-2008, 07:36 PM   #26
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by pilotbob View Post
With a file association you have the ability to form a command line based on the file clicked. There is a place holder for the file name clicked on, and I think the path too and also the current directory. This is how Word starts when you double click on a .doc file. Also, you can set up right click associations... so if you right click on a .doc file and choose print it knows what command to send to Word.

Right click on a DOC file and see how it is different menu than if you right click on say an ini file. Take a look at the file associations for a .doc file to see this. This is all built into the Windows shell.

BOb
An interesting benefit of this file association is that now the .lit conversion can be automated using batch files.

In the DOS Command Prompt, typing 'start /wait filename.lit' will have the same effect as double-clicking the .lit file. A batch file with one such line per .lit file to be converted can then be used to automate this process. You would have to add a part in the batch file to convert the .html to .lrf using your favorite conversion tool, though.

This is the approach I took when when converting .lit to .imp using Lit2sb.

It works quite well!

Last edited by nrapallo; 10-05-2008 at 07:39 PM.
nrapallo is offline   Reply With Quote