Just found that one can compare files from same pane!

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Just found that one can compare files from same pane!

Post by *Yuta »

It's too good for not to share this.
To do this I normally used to put both panes on same directory and then select the files to compare.
I just ocurred to me to select two files from same pane and compare to find it worked as intended!.

Once more, thanks Chirstian!. 8)
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

Oops!
Looks like someone has just said it before.
http://www.ghisler.ch/board/viewtopic.php?t=16105

But hey! here's another trick I just found out.
If you press HOME and then SHIFt-F6, you'll be editing the path. So, no mouse needed!.
If you press CTRL-C you can paste the path on another program.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Yuta wrote:If you press HOME and then SHIFt-F6, you'll be editing the path. So, no mouse needed!.
Wow, rather cool, thanks for the hint.
I used this in a related feature request.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
solid
Power Member
Power Member
Posts: 755
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

If you press HOME and then SHIFt-F6, you'll be editing the path. So, no mouse needed!.
If you press CTRL-C you can paste the path on another program.
You can also use cm_EdithPath (just map it to some hotkey) for direct editing of path.

Also, cm_CopySrcPathToClip and cm_CopyTrgPathToClip
for directly copying the path to clipboard (from source and target panels, respectively)

Just to save some keystrokes :)
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

Yuta wrote:If you press HOME and then SHIFt-F6, you'll be editing the path. So, no mouse needed!.
If you press CTRL-C you can paste the path on another program.
Ctrl-P will copy path to cmd-line, then press right arrow and Ctrl-X - doing the same job except if you are on particular file, you do not have to jump to beginning of directory.
Also... try Ctrl-Enter and Ctrl-Shift-Enter :-)
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

OK, I didn't realize that would be nice not to loose cursor position.
So I merged ado and solid suggestions and convinced me to reassign Ctrl-P to cm_CopySrcPathToClip, as I never use it for the original purpose.
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

solid wrote:
If you press HOME and then SHIFt-F6, you'll be editing the path. So, no mouse needed!.
If you press CTRL-C you can paste the path on another program.
You can also use cm_EdithPath (just map it to some hotkey) for direct editing of path.

Also, cm_CopySrcPathToClip and cm_CopyTrgPathToClip
for directly copying the path to clipboard (from source and target panels, respectively)

Just to save some keystrokes :)
There´s one problem with that, it doesn't put a trailing "". Can I have TC to add it?. i.e. for me is not the same to have:

"c:\Data\Xnview" than "c:\Data\Xnview"

Does someone found out how to copy the full current path to the clipboard with just one hotkey?
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Yuta,
Does someone found out how to copy the full current path to the clipboard with just one hotkey?
Assign a hotkey to the command cm_CopySrcPathToClip.

HTH
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.
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

Hacker wrote:Yuta,
Does someone found out how to copy the full current path to the clipboard with just one hotkey?
Assign a hotkey to the command cm_CopySrcPathToClip.

HTH
Roman
That was solid's suggestion. Please, reread my last post.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Ah, sorry. It's been a long day.
AHK comes to mind.

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.
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

Hacker wrote:Ah, sorry. It's been a long day.
AHK comes to mind.

Roman
Seems like a complicated tool and, if I undertood well, I must run an external program for it to work!

I settled for assigning cm_EdithPath to Ctrl-SPACE, ASAIK it isn't preassigned to anything. It's now only a one handed operation to copy the path, Ctrl-SPACE and CTRL-C. Seems good for me.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Seems like a complicated tool and, if I undertood well, I must run an external program for it to work!
No, and no. :)

The easy way to do the script would be something like:

Code: Select all

#IfWinActive, ahk_class TTOTAL_CMD
; Your shortcut for cm_CopySrcPathToClip, for instance Ctrl-Shift-P
$~^+p::
	Sleep, 1000
	Clipboard = %Clipboard%\
Return
You can compile the script with the ahk2exe tool which is included in the Autohotkey package and then you can run it without AHK installed.

HTH
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.
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

Hacker wrote:
Seems like a complicated tool and, if I undertood well, I must run an external program for it to work!
No, and no. :)

The easy way to do the script would be something like:

Code: Select all

#IfWinActive, ahk_class TTOTAL_CMD
; Your shortcut for cm_CopySrcPathToClip, for instance Ctrl-Shift-P
$~^+p::
	Sleep, 1000
	Clipboard = %Clipboard%\
Return
You can compile the script with the ahk2exe tool which is included in the Autohotkey package and then you can run it without AHK installed.

HTH
Roman
OK, I finally got it to work. The documentation for first time users is lousy.

Code: Select all

This program installs as a resident program that monitors keyboard usage, but there's no need to install anything. You just run "Autohotkey.exe Script.ahk" and the script becomes active.
Now, where is this info said?. Before I ran the Autohotkey.exe file I didn't know if I was about to install a program or not.

@Hacker
Your cript works exaclty as expected, thanks.
Post Reply