tcm75rc1: internal associations bug ?
Moderators: Hacker, petermad, Stefan2, white
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
Hacker,
I didn't know you could pick which association to launch it with in the file lists at will. How would you do that?
I see what you are saying now. That would be a problem unless it was added for the other areas, too, somehow.
I didn't know you could pick which association to launch it with in the file lists at will. How would you do that?
I see what you are saying now. That would be a problem unless it was added for the other areas, too, somehow.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
Either like this (gives you 5 options with cm_ContextMenu (right-click)I didn't know you could pick which association to launch it with in the file lists at will. How would you do that?
or 7 with cm_ContextMenuInternalCursor)
Code: Select all
Filter5=*.jpg *.gif *.png *.bmp
Filter5_open=**
Filter5_Imagine=""%COMMANDER_PATH%\PLUGINS\WLX\imagine\Imagine.exe" "%1""
Filter5_PaintShop Pro="%PROGRAMFILES%\PSP\PSP.EXE" %1
Filter5_IrfanView="%PROGRAMFILES%\IrfanView\i_view32.exe" "%1
Filter5_XnView=""%PROGRAMFILES%\XnView\xnview.exe" "%1""
Filter5_Lister=""%COMMANDER_PATH%\TOTALCMD.EXE" /S=L "%1""
Filter5_Default=**
Code: Select all
Filter1=*.txt *.ini *.css *.js
Filter1_open=*
Filter1_Metapad=""%COMMANDER_PATH%\TOOLS\metapad.exe" "%1""
Filter1_PlainEdit=""%PROGRAMFILES%\PlainEdit\PlainEdit.exe" "%2""
Filter1_Notepad=""%SYSTEMROOT%\notepad.exe" "%1""
Filter1_Default=**
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Basically there are commands for to open with the default association and commands to display a menu with all the others. They can be used everywhere.Then there are aliases, hotkeys and the (start) menu.
The suggested buttonbar's right click extension menu was just an optimization and might not be absolutely necessary.
Lefteous,
Roman
I think you are talking about something different than Boofo was. If I understood Boofo correctly, he suggested that if he clicks on image.jpg and the IA is set to open it in XnView, then defining a button pointing to image.jpg should also open it in XnView instead of the default SA. There currently is no internal solution neither for that nor any commands to display a menu with any other associations. Only for a file in the filelist. At least I am not aware of any.Basically there are commands for to open with the default association and commands to display a menu with all the others.
Roman
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.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
ButtonBar Icon
Thus having a single button with an action cm_Return, will allow you to open any file which you have assigned an Internal Association. Same with having a "cm_Return" in one of your MainMenu drop downs.
BTW, if you do an internal association for various sound files, you'll find the windows icons for those here in system32\mmsys.cpl
Internal Association:Command: cm_Return
Parameters: %S
Click Button, IrfanView plays wav.Filter2=*.wav
Filter2_open=""C:\Program Files\¤IMAGE\IrfanView\i_view32.exe" "%1""
Thus having a single button with an action cm_Return, will allow you to open any file which you have assigned an Internal Association. Same with having a "cm_Return" in one of your MainMenu drop downs.
BTW, if you do an internal association for various sound files, you'll find the windows icons for those here in system32\mmsys.cpl
Balderstrom,
Roman
But only a file in the file panel.Thus having a single button with an action cm_Return, will allow you to open any file which you have assigned an Internal Association
Roman
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.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
I'm not sure what you mean Hacker,
cm_Return will work for ButtonBar, DirectoryHotlist, MainMenu
As well we have cm_ContextMenu, cm_ContextMenuInternal and cm_ContextMenuInternalCursor, which can be assigned to a HotKey...
And with cm_Return, if you don't have an InternalAssociation defined, then control is passed over to Windows to figure out how to launch the item.
The only thing it doesn't work for is archives, unless you change your config and
uncheck [x] Treat archives like directories.
cm_Return will work for ButtonBar, DirectoryHotlist, MainMenu
As well we have cm_ContextMenu, cm_ContextMenuInternal and cm_ContextMenuInternalCursor, which can be assigned to a HotKey...
And with cm_Return, if you don't have an InternalAssociation defined, then control is passed over to Windows to figure out how to launch the item.
The only thing it doesn't work for is archives, unless you change your config and
uncheck [x] Treat archives like directories.
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
Yes, sir, that is what I meant.Hacker wrote:Lefteous,I think you are talking about something different than Boofo was. If I understood Boofo correctly, he suggested that if he clicks on image.jpg and the IA is set to open it in XnView, then defining a button pointing to image.jpg should also open it in XnView instead of the default SA. There currently is no internal solution neither for that nor any commands to display a menu with any other associations. Only for a file in the filelist. At least I am not aware of any.Basically there are commands for to open with the default association and commands to display a menu with all the others.
Roman
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
Internal Associations ONLY work for the file panels, not the buttonbar, hotlist, etc.Balderstrom wrote:I'm not sure what you mean Hacker,
cm_Return will work for ButtonBar, DirectoryHotlist, MainMenu
As well we have cm_ContextMenu, cm_ContextMenuInternal and cm_ContextMenuInternalCursor, which can be assigned to a HotKey...
And with cm_Return, if you don't have an InternalAssociation defined, then control is passed over to Windows to figure out how to launch the item.
The only thing it doesn't work for is archives, unless you change your config and
uncheck [x] Treat archives like directories.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Boofo, that is just not true.
Make an internal association, and put cm_return on a button like I indicated. It WILL open your Internally associated program.
Otherwise, I don't know what you are referring to.
In what instance would you ever launch a file.ext that isn't in the FileList?
Make an internal association, and put cm_return on a button like I indicated. It WILL open your Internally associated program.
Otherwise, I don't know what you are referring to.
In what instance would you ever launch a file.ext that isn't in the FileList?
Last edited by Balderstrom on 2009-08-20, 22:43 UTC, edited 1 time in total.