Activate and navigate to a directory automatically
Moderators: Hacker, petermad, Stefan2, white
Activate and navigate to a directory automatically
is there anyway to activate (bring in front) TC and navigate to a specific directory using a code in Autoit?
I am using this code to copy of the selected files in TC into clipboard using Autoit:
$hwnd = WinGetHandle("[Active]")
DllCall("user32.dll", "int", "SendMessage", "hwnd", $hwnd , "int" , 1075 , "int", 2018, "int", 0)
I am wondering if there is something like this to activate the TC and navigate to a specific directory without using Send() command like this to get the right panel to c: drive:
Send("!+{F2}")
Sleep(50)
Send("c")
thanks for your reply in advance.
I am using this code to copy of the selected files in TC into clipboard using Autoit:
$hwnd = WinGetHandle("[Active]")
DllCall("user32.dll", "int", "SendMessage", "hwnd", $hwnd , "int" , 1075 , "int", 2018, "int", 0)
I am wondering if there is something like this to activate the TC and navigate to a specific directory without using Send() command like this to get the right panel to c: drive:
Send("!+{F2}")
Sleep(50)
Send("c")
thanks for your reply in advance.
For me this works perfectmsrox wrote:I am using this command:
totalcmd.exe /O /R="d:\doc"
but when the left panel is active running this command does not activated the right panel. I also tried /P=R command, but with no luck! Is there any way to change the active panel of the running TC?
Thanks in advance,
TOTALCMD64.EXE /o /r=c:\temp /p=r
If the left panel was active before it activates the right panel