| View previous topic :: View next topic |
| Author |
Message |
msrox Junior Member

Joined: 13 Mar 2008 Posts: 38
|
Posted: Wed Apr 11, 2012 6:04 am Post subject: 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 |
|
| Back to top |
|
 |
white Power Member


Joined: 19 Nov 2003 Posts: 1303 Location: Netherlands
|
Posted: Thu Apr 12, 2012 2:20 am Post subject: |
|
|
Cannot confirm using TC 7.57a and TC 8.0 beta 24 32-bits. What version are you using? _________________ #16626 Personal licence |
|
| Back to top |
|
 |
msrox Junior Member

Joined: 13 Mar 2008 Posts: 38
|
Posted: Tue Apr 24, 2012 6:27 pm Post subject: |
|
|
I am using TC 7.57a
sorry for the late reply. the reason was that I haven't received any notification for your reply.
look forward to hearing from you regarding my issue.
thanks, |
|
| Back to top |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4527 Location: Russian Federation
|
|
| Back to top |
|
 |
white Power Member


Joined: 19 Nov 2003 Posts: 1303 Location: Netherlands
|
Posted: Wed Apr 25, 2012 3:40 am Post subject: |
|
|
2msrox
What is the file type ("Type name" in the Edit file type dialog) you use for the internal association?
What is your OS? _________________ #16626 Personal licence |
|
| Back to top |
|
 |
msrox Junior Member

Joined: 13 Mar 2008 Posts: 38
|
Posted: Sun Apr 29, 2012 8:10 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
white Power Member


Joined: 19 Nov 2003 Posts: 1303 Location: Netherlands
|
Posted: Mon Apr 30, 2012 2:15 am Post subject: |
|
|
| 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...
|
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. _________________ #16626 Personal licence |
|
| Back to top |
|
 |
white Power Member


Joined: 19 Nov 2003 Posts: 1303 Location: Netherlands
|
Posted: Mon Apr 30, 2012 9:02 am Post subject: |
|
|
| 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!
|
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). _________________ #16626 Personal licence |
|
| Back to top |
|
 |
msrox Junior Member

Joined: 13 Mar 2008 Posts: 38
|
Posted: Mon Apr 30, 2012 8:28 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
white Power Member


Joined: 19 Nov 2003 Posts: 1303 Location: Netherlands
|
Posted: Tue May 01, 2012 2:57 am Post subject: |
|
|
| 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?
|
No, this is by design. As stated in the help, Total Commander will use the filter which comes first in the list. _________________ #16626 Personal licence |
|
| Back to top |
|
 |
msrox Junior Member

Joined: 13 Mar 2008 Posts: 38
|
Posted: Tue May 01, 2012 3:08 am Post subject: |
|
|
| so, literally, there is no way to that in TC using interanl association! is this right? |
|
| Back to top |
|
 |
MVV Power Member


Joined: 03 Aug 2008 Posts: 4527 Location: Russian Federation
|
Posted: Tue May 01, 2012 3:24 am Post subject: |
|
|
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. _________________ VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo… |
|
| Back to top |
|
 |
msrox Junior Member

Joined: 13 Mar 2008 Posts: 38
|
Posted: Tue May 01, 2012 3:30 am Post subject: |
|
|
ok, thank you for the replies.
cheers, |
|
| Back to top |
|
 |
|