[TCScript] Open TC, create filelist, close TC

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
hippolyte
New Member
New Member
Posts: 1
Joined: 2005-12-22, 15:16 UTC

[TCScript] Open TC, create filelist, close TC

Post by *hippolyte »

Hello


I'm trying to get TC to issue some automatic tasks.
In my case, I'd like to have a shortcut on the desktop that runs TCScript to:
- runs a new TC
- Sets some directories (left and right windows)
- Branch view on one side
- use CatalogMaker packer to create a custom filelist
- close the new TC


When using TCScript I can send commands to an already running TC, no problem.
But if I try to run a new TC (using parameter /N) and send commands to this new instance, I can't. TCScript seems to send the commands to the first running TC, not the one it just opened.

Any help appreciated on this.


Thanks,
Hippolyte
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Have a look at AutoHotkey. There are a bunch of already existing examples for TC in the Wiki.

That will be able to fit all your needs.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply