File and Folder together for internal association
Moderators: Hacker, petermad, Stefan2, white
File and Folder together for internal association
I have created an internal association (verb=zip) that will compress files or folders.
If I choose couple of files and right-click->zip, the zipped file would be created. Same applied to couple of folders.
BUT, when I select a file and a folder together, then there is no zip in right-click.
How I can make TC to accept files and folders in Internal Association?
Thanks
If I choose couple of files and right-click->zip, the zipped file would be created. Same applied to couple of folders.
BUT, when I select a file and a folder together, then there is no zip in right-click.
How I can make TC to accept files and folders in Internal Association?
Thanks
to MVV:
I have already created buttons, but I was wondering if I can do it without using mouse as I am using keyboard all the time!
to white:
I have several internal associations. fo each of them I have defined an action called "Zip" with this command:
c:\AutoIt\AutoIt3.exe "c:\AutoIt\Scripts\zip.au3" "%2"
this works if I have same file types selected in TC e.g. jpg files. But once I select different file types like jpg and txt of combination of file and folders, then Zip action wont appear in righ click menu anymore, and I have to use the button I have created for this purpose. Any solution is highly appreciated? thanks in advance.
BTW, my OS is win7.
I have already created buttons, but I was wondering if I can do it without using mouse as I am using keyboard all the time!
to white:
I have several internal associations. fo each of them I have defined an action called "Zip" with this command:
c:\AutoIt\AutoIt3.exe "c:\AutoIt\Scripts\zip.au3" "%2"
this works if I have same file types selected in TC e.g. jpg files. But once I select different file types like jpg and txt of combination of file and folders, then Zip action wont appear in righ click menu anymore, and I have to use the button I have created for this purpose. Any solution is highly appreciated? thanks in advance.
BTW, my OS is win7.
If you select multiple files or folders with different internal associations the internal associations will not show up in the right click menu. That is normal. It does not make any difference if you name the action belonging to each association all Zip. Only the associations which are valid for all selected files and folders are shown.msrox wrote:to white:
I have several internal associations. fo each of them I have defined an action called "Zip" with this command:
c:\AutoIt\AutoIt3.exe "c:\AutoIt\Scripts\zip.au3" "%2"
this works if I have same file types selected in TC e.g. jpg files. But once I select different file types like jpg and txt of combination of file and folders, then Zip action wont appear in righ click menu anymore...
See Configuration/Options/Misc. Define a hotkey or alias and attach a custom command to it (select category "usercmd.ini", hit the new button and enter the same details as the buttons you created).msrox wrote:I have already created buttons, but I was wondering if I can do it without using mouse as I am using keyboard all the time!
How about this one:
Filter1=*.pdf
Filter1_open=""c:\PDF-XChange Viewer\PDFXCview\PDFXCview.exe" "%1""
Filter2=*.bmp *.jpg *.jpeg *.tiff *.tif *.gif *.png *.emf *.wmf *.cr2 *.svg *.jp2
Filter2_open=""c:\FastStone Image Viewer\FSViewer\FSViewer.exe" "%1""
Filter3=*.*
Filter3_Zip=c:\AutoIt\AutoIt3.exe "c:\AutoIt\Scripts\7-Zip\zip.au3" "%2"
this works individually for jpg or pdf files, but it does not work for both jpg and pdf files together! If I moved Filter3 to the top, then it works, but then it does not work for individual jpg or pdf files! is there any way to fix it just by using internal association?
thanks
Filter1=*.pdf
Filter1_open=""c:\PDF-XChange Viewer\PDFXCview\PDFXCview.exe" "%1""
Filter2=*.bmp *.jpg *.jpeg *.tiff *.tif *.gif *.png *.emf *.wmf *.cr2 *.svg *.jp2
Filter2_open=""c:\FastStone Image Viewer\FSViewer\FSViewer.exe" "%1""
Filter3=*.*
Filter3_Zip=c:\AutoIt\AutoIt3.exe "c:\AutoIt\Scripts\7-Zip\zip.au3" "%2"
this works individually for jpg or pdf files, but it does not work for both jpg and pdf files together! If I moved Filter3 to the top, then it works, but then it does not work for individual jpg or pdf files! is there any way to fix it just by using internal association?
thanks
No, this is by design. As stated in the help, Total Commander will use the filter which comes first in the list.msrox wrote:this works individually for jpg or pdf files, but it does not work for both jpg and pdf files together! If I moved Filter3 to the top, then it works, but then it does not work for individual jpg or pdf files! is there any way to fix it just by using internal association?
Yes, theese are type-specific ones.
But I recommend you to create user-command and assign a hotkey for it, as white suggested. So it will work w/o mouse, and you may add a hint for toolbar button with assigned hotkey. Also you can add user-command to main menu, and call it via hotkeys like Alt+underlined characters.
But I recommend you to create user-command and assign a hotkey for it, as white suggested. So it will work w/o mouse, and you may add a hint for toolbar button with assigned hotkey. Also you can add user-command to main menu, and call it via hotkeys like Alt+underlined characters.