Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File and Folder together for internal association

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
msrox
Junior Member
Junior Member


Joined: 13 Mar 2008
Posts: 38

PostPosted: Wed Apr 11, 2012 6:04 am    Post subject: File and Folder together for internal association Reply with quote

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
View user's profile Send private message
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 1303
Location: Netherlands

PostPosted: Thu Apr 12, 2012 2:20 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
msrox
Junior Member
Junior Member


Joined: 13 Mar 2008
Posts: 38

PostPosted: Tue Apr 24, 2012 6:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4527
Location: Russian Federation

PostPosted: Wed Apr 25, 2012 12:14 am    Post subject: Reply with quote

Maybe you can simply create buttonbar button or usercommand to be placed into main menu? It will work with selection.
_________________
VirtualPanel plugin: Temporary panel for TC (forum)
TOTALCMD.NET: TCFS2, NTLinks, CopyTree, AskParam, ConPaste, Sudo…
Back to top
View user's profile Send private message Send e-mail
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 1303
Location: Netherlands

PostPosted: Wed Apr 25, 2012 3:40 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
msrox
Junior Member
Junior Member


Joined: 13 Mar 2008
Posts: 38

PostPosted: Sun Apr 29, 2012 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 1303
Location: Netherlands

PostPosted: Mon Apr 30, 2012 2:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 1303
Location: Netherlands

PostPosted: Mon Apr 30, 2012 9:02 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
msrox
Junior Member
Junior Member


Joined: 13 Mar 2008
Posts: 38

PostPosted: Mon Apr 30, 2012 8:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 1303
Location: Netherlands

PostPosted: Tue May 01, 2012 2:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
msrox
Junior Member
Junior Member


Joined: 13 Mar 2008
Posts: 38

PostPosted: Tue May 01, 2012 3:08 am    Post subject: Reply with quote

so, literally, there is no way to that in TC using interanl association! is this right?
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 4527
Location: Russian Federation

PostPosted: Tue May 01, 2012 3:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
msrox
Junior Member
Junior Member


Joined: 13 Mar 2008
Posts: 38

PostPosted: Tue May 01, 2012 3:30 am    Post subject: Reply with quote

ok, thank you for the replies.
cheers,
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group