Total Commander Ultima Prime Board
How to associate a program with a given extension? - 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: Programs / Programy (https://tcup.pl/board/forumdisplay.php?fid=4)
+--- Thread: How to associate a program with a given extension? (/showthread.php?tid=583)

Pages: 1 2


How to associate a program with a given extension? - napra - 02-17-2009

I would like to associate a program with a given extension, in a way that when I press F3 the file would open, and when i am in quick view mode the file would also appear in the quick view panel, how to do this?

Namely, I would like to associate *.djvu files with windjview.


I think this type of modularity would be essential for the user to have some freedom in customizing TC UP to their own needs.

I have already looked at the topic of firefox, but that is a replacement, and that is not what I am interested.


Thanks in advance,


RE: How to associate a program with a given extension? - Yams - 02-18-2009

Possibly I already have answered on this question, please visit this post. If not - please write here again, I will make separate answer on this your question Smile


RE: How to associate a program with a given extension? - napra - 02-20-2009

Hi there,

I am here replying regarding my experience in configuring tc up for the djvu extension.

Thank you very much for your prompt reply. I have done as advised. The method that that you described worked with F4 but not with F3 (it produces the following error Format of the file <file.djvu > could not be determined)
Thinking better as I have understand the behaviour correctly the top right corner didn't have any effect. Why is that?

Nevertheless, I would prefer a full integration (namely to have the associations automatically in the programs menu for instance) and a way that I could import in a very quick way such menu entries and associations whenever I update or reinstall a new version of tcup. Maybe an ini file?
I understand that maybe this is not easy but I trust that maybe ULTIMA could do it.


Please give me some feedback
Once again thank you very much for all your time,
Best regards,
Nelson







(02-18-2009, 07:19 AM)Yams Wrote: Possibly I already have answered on this question, please visit this post. If not - please write here again, I will make separate answer on this your question Smile



RE: How to associate a program with a given extension? - ULTIMA PRIME - 02-21-2009

1. Open in Notepad++ (F4): <c:\Program Files>\TC UP\PLUGINS\Tools\OpenFileTC\F3.ini

2. Remove *.djvu extension in SupportedExts section

Code:
[Program5]
Name=XnView
FullPath=%COMMANDER_PATH%\PLUGINS\Media\XnView\xnview.exe
SupportedExts=djvu - REMOVE THIS EXTENSION
OpenAtOnceForAnyExt=1

3. Save INI file and go back to TC UP

4. Select *.djvu file and press F3

5. Set your program for this extension


RE: How to associate a program with a given extension? - str8 - 02-22-2009

So if i understand correctly i should be able to view files with ext. ".djvu" in TCUP using F3 button or with XnView? I tried both and both times got the error message saying "Format of this file could not be determined". What am I doing wrong?

Thank you.

P.S. Using Vista here.


RE: How to associate a program with a given extension? - spooky - 03-02-2009

iso files used to open in tcup
i installed poweriso which had the iso's opening in it
i disassoiated iso file in poweriso but still cannot open in tcup

wtf happened?

help


RE: How to associate a program with a given extension? - m^2 - 03-12-2009

(02-22-2009, 07:39 PM)str8 Wrote: So if i understand correctly i should be able to view files with ext. ".djvu" in TCUP using F3 button or with XnView? I tried both and both times got the error message saying "Format of this file could not be determined". What am I doing wrong?

Thank you.

P.S. Using Vista here.

What program do you get this message from? WinDjvu?
(03-02-2009, 09:45 AM)spooky Wrote: iso files used to open in tcup
i installed poweriso which had the iso's opening in it
i disassoiated iso file in poweriso but still cannot open in tcup

wtf happened?

help

PowerISO broke TC UP associations and when you removed theirs - there was nobody to restore ours. I'm affraid you need to run the installer once again.


RE: How to associate a program with a given extension? - str8 - 03-13-2009

m^2 Wrote:What program do you get this message from? WinDjvu?
Sorry, I misunderstood the post above mine. I thought I could view *.djvu type of files directly in XnView. I'm actually using DJVU Reader for this purpose now.


RE: How to associate a program with a given extension? - m^2 - 03-13-2009

(03-13-2009, 12:06 PM)str8 Wrote:
m^2 Wrote:What program do you get this message from? WinDjvu?
Sorry, I misunderstood the post above mine.

Indeed. Actually I missed that you're not the OP. Wink Avatars help.

(03-13-2009, 12:06 PM)str8 Wrote: I thought I could view *.djvu type of files directly in XnView. I'm actually using DJVU Reader for this purpose now.
You found a bug in TC UP. The included XnView version doesn't contain djvu plugin. You can get it from here.


RE: How to associate a program with a given extension? - str8 - 03-14-2009

'm^2 Wrote:You can get it from here.
Thank you very much for this link! I added this plugin to the XnView "Plugins" folder but I still get the error message "format could not be determined". Moreover this error message appears even when I try to view *pdf files. Both types are included in "supported formats" when I check. Do you know where the problem might be?
Thank you in advance for your help.