Page 1 of 1

Directly go to Find text in Search function

Posted: 2009-05-11, 07:10 UTC
by pgriffet
Hi Christian, this is Pierre from Belgium.
I use the "Find text" in the Search function hundred times a day but the cursor is always in the "Search for" field, which is for me not interesting.
So I press CTRL+ALT+F7 and then ALT+X but sometimes, if I missed the CTRL+AL+F7, ALT+X closes TC, which is really annoying.

Is it possible to add a switch in wincmd.ini (or another way) which should directly put the cursor in the "Find text" field ? Or create an internal command named "Find text" ?

Can somebody tell me if it's possible to do this with Autohotkey ? I know it can do stuff like that but I've never used it.

Thanks in advance.

Posted: 2009-05-11, 07:48 UTC
by Vansumsen
:arrow: pgriffet

Just a solution if you use an external language (wcmd_fra.lng or wcmd_eng.lng...)

Edit your used language file, in the entry "5607=Te&xt(e)" and move the "&" who is before the "x" before the "T".
Save the changed file.
Exit TC and reload TC.

The new shortcut for "Find text" ist "Alt+T".

If you use the wcmd_dut.lng the shortcut is already "ALT+T"

Friendly

Paul

Posted: 2009-05-11, 08:04 UTC
by pgriffet
Thanks Paul, your solution avoids the unwanted close of TC but I still look for a shortcut which should directly go to "find text".

Posted: 2009-05-11, 10:43 UTC
by ArchCarrier
AutoHotkey:

Code: Select all

#IfWinActive ahk_class TTOTAL_CMD

^!F7::
Send ^!{F7}
Send !t
return
Change the 't' in 'Send !t' to whatever letter is used to activate the text field.

(BTW: three Belgians in one thread!)

Posted: 2009-05-11, 19:12 UTC
by petermad
2pgriffet
So I press CTRL+ALT+F7
Just for other readers: CTRL+ALT+F7 is not the default shortcut to open the Find dialog - it is ALT+F7

Posted: 2009-05-11, 19:45 UTC
by ArchCarrier
Which means you need to change the line ^!F7:: to !F7:: if you have a standard install.

Posted: 2009-05-12, 04:01 UTC
by Samuel
As well as the line "Send ^!{F7}" to "Send !{F7}" ;)

Posted: 2009-05-12, 06:07 UTC
by Hacker
...or use ~!F7... ;)

Roman

Posted: 2009-05-12, 06:42 UTC
by pgriffet
Thanks to all.
Sorry for the mistake, it was of course ALT+F7.

Meanwhile, I installed Autohotkey and I created a script which does what I want but I do not have another use of this program which costs me 4 MB of RAM just for a shortcut, even with an executable script.
And as I have an old PC, I will continue to use the old way.

Still looking for an option within TC to activate "Find text".

Posted: 2009-05-12, 18:01 UTC
by Hacker
pgriffet,
Strange, it only takes ~1,4 MB of RAM here. Are you sure you are looking at the "Working Set Private" memory usage?

Roman

Posted: 2009-05-14, 07:08 UTC
by pgriffet
2Hacker

According to The PROCFS plugin, the exe script (which has a size of 200 KB) uses between 3.5 MB and 5 MB of RAM. I run XP SP1.
Actually, the size of RAM increases the first time I use the shortcut.