- Aug
- 2,799
- 144
From the TCC,
entering;
...will do a File -> Open allowing the user to select a file to open.
I'm currently doing this using an AutoHotKey v2 HotString;
...which works, but is crude at best.
Ideally, instead of;
...I would prefer...
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
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