set current directory

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
maqdev
Junior Member
Junior Member
Posts: 2
Joined: 2008-05-21, 16:45 UTC

set current directory

Post by *maqdev »

Hi!

Is it possible to set current directory within TCMD from some external application?

For example, could I send some message to the TCMD window to open some directory in the active panel.
Also I need to set cursor at some folder, or file.

May be this could be done with some (custom developed) plugin?

Thanks!
User avatar
nsp
Power Member
Power Member
Posts: 1913
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: set current directory

Post by *nsp »

maqdev wrote:Hi!

Is it possible to set current directory within TCMD from some external application?

For example, could I send some message to the TCMD window to open some directory in the active panel.
Also I need to set cursor at some folder, or file.

May be this could be done with some (custom developed) plugin?

Thanks!
see ahk and powerpro in total commander wiki !
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes there is, see this code sample in the Wiki:
http://www.ghisler.ch/wiki/index.php?title=TCUtils.cpp
Author of Total Commander
https://www.ghisler.com
maqdev
Junior Member
Junior Member
Posts: 2
Joined: 2008-05-21, 16:45 UTC

Post by *maqdev »

2ghisler(Author)
Thanks. It's exactly what I need.

Is there any command to set cursor position at some file or folder within a total commander ?
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

maqdev wrote:Is there any command to set cursor position at some file or folder within a total commander ?
Use cd Path\FileName
Post Reply