![]() |
|
OpenFileTC -how I can add new app? - Printable Version +- Total Commander Ultima Prime Board (https://tcup.pl/board) +-- Forum: Total Commander Ultima Prime (https://tcup.pl/board/forumdisplay.php?fid=1) +--- Forum: Questions / Pytania (https://tcup.pl/board/forumdisplay.php?fid=29) +--- Thread: OpenFileTC -how I can add new app? (/showthread.php?tid=835) |
OpenFileTC -how I can add new app? - damat - 07-08-2010 I want to add DjVuReader to F3 viewer. I haven't guessed how I can do it in GUI, though guessed to edit ini files directly: Code: [Program11]DjVuReader appeared in the list of applications but when I press F3 on djvu file, I have an error: Quote:Format of the file <_.djvu> couldn't be determined. What's wrong? RE: OpenFileTC -how I can add new app? - Yams - 07-08-2010 In this case you need to change settings as follow: Code: [Program11]You don't need to put next options because they are the same as default: Code: OpenAtOnceForAnyExt=0Also you don't need to show how application must work on one extension: Code: djvu_OpenAtOnce=1Code: ForceRunOnAnyExt=1About CmdLine= param: syntax of this parameter is the follow: Code: [EXTENSION]_CmdLine=[Command line to open this extension]RE: OpenFileTC -how I can add new app? - damat - 07-08-2010 Hi! Thanks for quick answer. But your code gives same result: it doesn't work. What else can be wrong? RE: OpenFileTC -how I can add new app? - Yams - 07-08-2010 Please write here a link to download this application. RE: OpenFileTC -how I can add new app? - damat - 07-08-2010 http://www.skan.ru/en/file/djvureader.zip RE: OpenFileTC -how I can add new app? - Yams - 07-08-2010 Please try to add the follow param to all params of [Program11] section: Code: OpeningOption=4Also, this application has troubles if OpenFileTC tries to open it using standart methods. So you need to check that this app need to use fourth type of solution: "Run application on each file separately, also send this file as a parameter with quotes" (OpeningOption=4). So this section will be: Code: [Program11]RE: OpenFileTC -how I can add new app? - damat - 07-11-2010 Hi! I have tried it, but the result is still the same. My OS is Win7 x64, probably, that's is the reason. Thanks a lot for all your efforts! |