Quote:
Originally Posted by pilotbob
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!