[Not bug]About Internal Association Open

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
kesdoputr
Member
Member
Posts: 159
Joined: 2007-12-27, 12:38 UTC

[Not bug]About Internal Association Open

Post by *kesdoputr »

Hello, i'm using TC 9.5b11 x32 on Windows 7SP1 x64.

I don't know it's bug or not, I have enable the option AssociationMultiVerbs, now i have a question below:

I want normal picture extension have seperate icon in TC but they have the same open action with vieas

Code: Select all

[Associations]
Filter1=*.bmp
Filter1.icon=my.icl,01
Filter2=*.jpg
Filter2.icon=my.icl,02
Filter3=*.gif
Filter3.icon=my.icl,03
Filter4=*.png
Filter4.icon=my.icl,04
Filter5=*.bmp *.jpg *.gif *.png
Filter5_open=""%COMMANDER_PATH%\TOOLS\Vieas\Vieas.exe" "%1""
But the open action don't show.
https://i.imgur.com/iLvawXF.png

When i move filter5 to filter1

Code: Select all

[Associations]
Filter1=*.bmp *.jpg *.gif *.png
Filter1_open=""%COMMANDER_PATH%\TOOLS\Vieas\Vieas.exe" "%1""
Filter2=*.bmp
Filter2.icon=my.icl,01
Filter3=*.jpg
Filter3.icon=my.icl,02
Filter4=*.gif
Filter4.icon=my.icl,03
Filter5=*.png
Filter5.icon=my.icl,04
Now open action is ok, but the icon all change to the exe's icon
https://i.imgur.com/EQlYBT0.png

I think it's maybe TC only check the first match extension's open and icon string.

Is this possible let TC use the second found open action if there is no open action at the first match?
Thanks for your reply.
Last edited by kesdoputr on 2020-01-01, 01:54 UTC, edited 1 time in total.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39791
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: About Internal Association Open

Post by *ghisler(Author) »

No, an empty action is interpreted as the system default action. Only additional verbs other than "open" are taken from all matching associations.
Author of Total Commander
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 9694
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: About Internal Association Open

Post by *petermad »

2kesdoputr
This is also discussed in viewtopic.php?f=14&t=54813
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.965 (x64)
TC 3.0 on Android 6.0
Get:
Extended Total Commander Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

User avatar
kesdoputr
Member
Member
Posts: 159
Joined: 2007-12-27, 12:38 UTC

Re: About Internal Association Open

Post by *kesdoputr »

2ghisler(Author) and petermad

Now i write separate open command for these extensions.
I just think the setting can be more simple that i can just define the icon and define the open action just for one line.
Like the discussion above.

This not a bug, i will change the title,thanks for your reply. :)

User avatar
Hacker
Moderator
Moderator
Posts: 11750
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: [Not bug]About Internal Association Open

Post by *Hacker »

Message from moderator Hacker

Moved to the English forum.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

Post Reply