Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Opening a directory via the TCEdit CLI drops you into the File Open dialog

Aug
2,799
144
From the TCC,
entering;

Code:
tcedit .

...will do a File -> Open allowing the user to select a file to open.

I'm currently doing this using an AutoHotKey v2 HotString;

Code:
:*:tcedit .::{
    If WinActive("ahk_exe tcc.exe") {
        Send "tcedit{Enter}"
        Sleep 1000
        Send "^o"
    }
}

...which works, but is crude at best.

Ideally, instead of;

Code:
tcedit .

...I would prefer...

Code:
tcedit e:\documents
tcedit r:\test

That is, if the tcedit argument is a folder,
open TCEdit with the File Open dialog,
in that folder,
letting the user select a file.

Joe
 
Back
Top