Page 1 of 1
“Hot” Attribute header…
Posted: 2008-09-20, 04:34 UTC
by Clo

Hello !
• When one clicks on the Attribute “tab” in the sorting header, one gets of course an error beep and a blinking selection…
• Instead, I would like an option making the tab “hot” then able to open the
Change Attribute
dialogue for the marked item in the list.
• The Search returned nothing about this, but indeed I can't read the German threads…

KR
Claude
Clo
Posted: 2008-09-20, 08:45 UTC
by petermad
I would like to see the Attribute header tab used for something meaningfull too - but I would prefer that clicking the Attribute header would show the file list unsorted (cm_SrcUnsorted).
Posted: 2008-09-20, 10:20 UTC
by Sombra
Hello Claude
Also I think that such behaviour in attribute header could be improved.
• Instead, I would like an option making the tab “hot” then able to open the Change Attribute
dialogue for the marked item in the list.
This sound good, but IMHO, I would prefer activate this feature by
double click in attrib. header. My reason: Attributes and date header are close together, some times this could activate the popup window for "change attributes" by an error of precision with the mouse.
but I would prefer that clicking the Attribute header would show the file list unsorted (cm_SrcUnsorted).
Hello Petermad,
Hmmm.... I dislike a bit with this. IMHO Pressing in attrib. header is not related to unsorted method. And this feature can be done pressing Shift and mouse in active header order.
Maybe in a future, TC will support the feature for sort by attribute. No very useful in a local drive, but useful in a FTP connection.
An opinion more

Best Regards.
1 or 2, no matter
Posted: 2008-09-20, 15:59 UTC
by Clo
2
Sombra

Hello J. M. !
• Nothing against a double-click…
- Anyway, using an INI entry, one could be able to choose the wished behaviour, for instance :
HotAttribTab=Flag
0 : No change, alarm beep (default)
1 : Opens "Change attributes" dialogue via 2-click
2 : Shows the lists "Unsorted"
3 : Shows the list sorted "by attribute"

KR
Claude
Clo
Posted: 2008-09-22, 12:16 UTC
by TieFighter
Hello,
I like the Clo proposal seems reconciled many advantages and gives to the Attribute header tab a utility.
Posted: 2008-09-22, 14:42 UTC
by Sombra
Hello,
I said it, because IMHO click in headers columns should be reserved to define the order of the columns. Imagine an unreal scenario:
- Some day... Click in header is set to change attributes or unsorted method.
- Time later: the feature sort by attributes is added.
- How should be implemented?
Predefined actions in TC are very difficult to change. For example:
The refresh action (F2) is implemented many time ago and there are many discussions in forum about a change for assign F2 to rename.
OR... I read time ago about the shorcut for MRT which was changed to the current CTRL+M
Of course, the solution given by
Clo in his last post, would satisfy to the most of users.
You can try the next dirty ahk script for view how this feature could be.
Code: Select all
; Double click in header columns open the change attributes window
; Detect double click code: http://www.autohotkey.com/forum/viewtopic.php?p=62779#62779
#IfWinActive ahk_class TTOTAL_CMD
~LButton::
Loop {
LButtonDown := GetKeyState("LButton","P")
If (!LButtonDown)
Break
}
WaitTime:=DllCall( "GetDoubleClickTime" )/1000
KeyWait, LButton, D T%WaitTime%
MouseGetPos, , , , sControl
If (errorlevel = 0) AND (sControl = "THeaderClick2" OR sControl = "THeaderClick1")
GoSub, OnDoubleClick
Return
OnDoubleClick:
PostMessage 1075, 502,,, ahk_class TTOTAL_CMD
Return
Sorry to the ahk gurus in the forum. I know that it could be done better.