change direktories in tzSkript

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
heron
Junior Member
Junior Member
Posts: 8
Joined: 2004-01-24, 22:29 UTC

change direktories in tzSkript

Post by *heron »

hi!
I just want to change the directory ...
->didn't find somethig like cm_ChangeDirektory
->tryed SendText("cd d:\foo"); SendVKey(VK_RETURN,2);
all that is send is cd dfoo ...

any ideas? (other than sending 12 direktories in a row???)
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

You may have a look Here

I think you'll find what you are looking for :D
TC#88260 -
heron
Junior Member
Junior Member
Posts: 8
Joined: 2004-01-24, 22:29 UTC

Post by *heron »

you mean in "http://fgartemann.free.fr/TCMD/Script/09.tcs" ?
you have to admid that this way of doing it is a pay in the ass...

i have to change into some directory like
c:\data\mp3\fun\wise - guys\skandal\some - stuff.mp3
where i have to use many different direktories there...

i found some workaround:

do
SendVKey(VK_TAB,2);
SendVKey(67,2); //'c'
SetClipbrd("d d:\download2\test\sorted\muell");
SendVKey(VK_LCONTROL,1);
SendVKey(86,2);
SendVKey(VK_LCONTROL,2);
SendVKey(VK_RETURN,2);
SendVKey(VK_TAB,2);

it uses the clipboard...
User avatar
franck8244
Power Member
Power Member
Posts: 703
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

I didn't know that SetClipbrd was working with such path, in fact I never tried it :) thanks for the info...

If Aezay fixed the SendText command we'll be able to do such things very easily...
TC#88260 -
Post Reply