When will "Find Files" window stop being modal?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
asmodeus
Junior Member
Junior Member
Posts: 31
Joined: 2009-07-14, 06:59 UTC

When will "Find Files" window stop being modal?

Post by *asmodeus »

Or whatever it calls. Sometimes search takes time and user (me :) wants to use TC. Right now, it's impossible to perform search and use other TC's functions. So why can't we? What's the reason for search window to be like it is?
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2asmodeus
Maybe this will answer your question:
http://www.ghisler.ch/board/viewtopic.php?t=7956
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

When searching for files, as opposed to inside files or inside archives - then something like Everything search engine is probably your best bet.

Everythng.ini settings:
open_folder_path_command=$exec("C:\Program Files\TotalCMD\TotalCMD.exe" /O /T /L="%1")
open_file_command=$exec("C:\Program Files\AutoHotKey\AutoHotKey.exe" "c:\Scripts\AutoHotKey\TCSelectFile.ahk" "%1")
open_folder_command=$exec("C:\Program Files\TotalCMD\TotalCMD.exe" /O /T /L="%1")
AHK TCSelectFile.ahk
fullpath = %1%
SplitPath, fullpath, gotoFile, gotoPath
Clipboard :=
Clipboard := gotoFile
ClipWait, 1
Run, "C:\Program Files\TotalCMD\TotalCMD.exe" /O /T /L="%gotoPath%"
WinWait, ahk_class TTOTAL_CMD
PostMessage, 0x433, 0x7F1 ;; equivalent: send command #2033, i.e ReSelectFileFromClip
PostMessage, 0x433, 0x805 ;; equivalent: send command #2053, ie GotoSelectedFile
Which will, when selecting a found file from Everything, Select that file in TC in the Left panel.
User avatar
asmodeus
Junior Member
Junior Member
Posts: 31
Joined: 2009-07-14, 06:59 UTC

Post by *asmodeus »

Balderstrom wrote:When searching for files, as opposed to inside files or inside archives - then something like Everything search engine is probably your best bet.

Everythng.ini settings:
open_folder_path_command=$exec("C:\Program Files\TotalCMD\TotalCMD.exe" /O /T /L="%1")
open_file_command=$exec("C:\Program Files\AutoHotKey\AutoHotKey.exe" "c:\Scripts\AutoHotKey\TCSelectFile.ahk" "%1")
open_folder_command=$exec("C:\Program Files\TotalCMD\TotalCMD.exe" /O /T /L="%1")
AHK TCSelectFile.ahk
fullpath = %1%
SplitPath, fullpath, gotoFile, gotoPath
Clipboard :=
Clipboard := gotoFile
ClipWait, 1
Run, "C:\Program Files\TotalCMD\TotalCMD.exe" /O /T /L="%gotoPath%"
WinWait, ahk_class TTOTAL_CMD
PostMessage, 0x433, 0x7F1 ;; equivalent: send command #2033, i.e ReSelectFileFromClip
PostMessage, 0x433, 0x805 ;; equivalent: send command #2053, ie GotoSelectedFile
Which will, when selecting a found file from Everything, Select that file in TC in the Left panel.
Well, this seems like a lot of work for a workaround (not even fix!) and requires to have AHK running at all times. Kinda hoped to accomplish everything with TC :)
User avatar
asmodeus
Junior Member
Junior Member
Posts: 31
Joined: 2009-07-14, 06:59 UTC

Post by *asmodeus »

fenix_productions wrote:2asmodeus
Maybe this will answer your question:
http://www.ghisler.ch/board/viewtopic.php?t=7956
Yes, they say NO there :)
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

That's not running AHK at all times. that is a non-persistent script. Launches when it is called, and then ends. And yes it is a small workaround.

Everything Search Engine is Faster, it finds things basically as fast as you can type, as it indexes your drives. Except the index is incredibly small.

Though your response has taught me one thing, stop offering "workarounds". Everytime the response is one of the following:
  1. I want an internal Solution,
    And I'd rather do without until an internal solution is provided.
  2. I don't want to use AHK
  3. That is too much hassle.
And with #3, it would probably take less time to download and install AHK+Everything and TRY it than it did for me to write the post detailing its use.

Guess you are going with Door#1. And since the original request is 4 years old, I guess you'll be waiting a while.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2asmodeus,

This would also work if you didn't want to use AHK:

Code: Select all

open_folder_path_command=$exec("C:\Program Files\totalcmd\TOTALCMD.EXE" /O /T /L="%1")
open_file_command=$exec("C:\Program Files\totalcmd\TOTALCMD.EXE" /O /T /L="%1")
open_folder_command=$exec("C:\Program Files\totalcmd\TOTALCMD.EXE" /O /T /L="%1")
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
asmodeus
Junior Member
Junior Member
Posts: 31
Joined: 2009-07-14, 06:59 UTC

Post by *asmodeus »

Balderstrom wrote:That's not running AHK at all times. that is a non-persistent script. Launches when it is called, and then ends. And yes it is a small workaround.

Everything Search Engine is Faster, it finds things basically as fast as you can type, as it indexes your drives. Except the index is incredibly small.

Though your response has taught me one thing, stop offering "workarounds". Everytime the response is one of the following:
  1. I want an internal Solution,
    And I'd rather do without until an internal solution is provided.
  2. I don't want to use AHK
  3. That is too much hassle.
And with #3, it would probably take less time to download and install AHK+Everything and TRY it than it did for me to write the post detailing its use.

Guess you are going with Door#1. And since the original request is 4 years old, I guess you'll be waiting a while.
I don't want to seem ungrateful or anything - I do appreciate your responses and advices, really :) It's just that it would be soooooooo much better to have this functionality built-in (response #1 :)

Also, is it possible to feed results into listbox with Everything? You know, for Multi-rename tool.

I tried Everything, by the way. It didn't work for some reason with my TC :) Keeps saying "Windows cannot find 'D:\Program Files (x86'. Make sure you typed the name correctly, and then try again." I run Windows 7 x64 and keep my program files on D:. And the path is correct, with quotes and everything - "D:\Program Files (x86)\Total Commander\TOTALCMD.EXE"

It's fast, otherwise :)
User avatar
asmodeus
Junior Member
Junior Member
Posts: 31
Joined: 2009-07-14, 06:59 UTC

Post by *asmodeus »

Ah, there's one more thing that I'm not sure if should create another thread: sometimes when copying/moving files from certain locations or archives there's no Background button, so the progress window is modal. Why is that?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

asmodeus wrote:Ah, there's one more thing that I'm not sure if should create another thread: sometimes when copying/moving files from certain locations or archives there's no Background button, so the progress window is modal. Why is that?
Because of packer plugins probably. Christian (and TC) doesn't know if plugin may work in multi-threaded mode. So, background operations currently may be performed only for zip archives, because TC has full internal zip support (and code is multi-thread-safe).
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Code

Post by *Phred »

Boofo wrote:2asmodeus,
This would also work if you didn't want to use AHK:

Code: Select all

open_folder_path_command=$exec("C:\Program Files\totalcmd\TOTALCMD.EXE" /O /T /L="%1")
open_file_command=$exec("C:\Program Files\totalcmd\TOTALCMD.EXE" /O /T /L="%1")
open_folder_command=$exec("C:\Program Files\totalcmd\TOTALCMD.EXE" /O /T /L="%1")
Boofo, could you explain that, please?
I suspect it's code attached to a button, but how?
Could you explain the code?
Regards, PhredE
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Phred, theese are the lines of Everything's INI.
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Post by *Phred »

Ah ha. Thanks.
Post Reply