From: Jim Langston on
das_chris wrote:
> Hello all!
>
> Some Background:
> I am studying mechanical engineering. For a project task, I have to
> set up a cycle of 4 programmes interacting into each others (Pro
> Engineer (CAD), Star Design (transforming shapes into meshes), Star CD
> (Fluid dynamics calculations), ModeFrontier (optimisation programme) -
> for those who are interested).
> Between the programmes, information has to be passed on in form of
> files.
> As this cycle is a iterative process, it is being repeated several
> hundred times. Therefore, I thought of writing a [b]Batch-File[/b],
> which starts the different programmes and executes the action that has
> to be done in each of the programmes.
>
> Now my question:
> Is it possible, to control a programme, using a batch file? e.g.
> opening word, loading an explicit file, running a macro and saving the
> file, using the *.txt format?

Google for winbatch. It used to be free once upon a time, I see it's
shareware now. There are probably exactly the same ones with other names.
Winbatch has been around since Win95 days. Click buttons, etc...


> If not - which is what I actually assume - can this be archieved by
> using another more powerful programming language?
>
> To go even further, can i adress options in the menu bar? which leads
> to "is a windows-based program fully controlable by another, self-
> written program?
>
>
> I hope, everybody understood what i meant and perhaps somebody can
> even give me some hints or even answers.
>
> Thank you very much for your time,
> best regards
> Christian
>
> Student of mechanical engineering, Germany



--
Jim Langston
tazmaster(a)rocketmail.com


From: CBFalconer on
das_chris wrote:
>
.... snip ...
>
> Thank you for your Info. I tried to run the source code you wrote
> down by inserting it into a textfile and saving it as a *.bat file.
> For some commands it said that it wouldnt know them. I am also by
> far not that much into programming as to be able to understand the
> source text you sent. I can identify some passages, but lots of it
> is just hieroglyphics to me. Thats my fault, not yours.

That's why it is a .btm file. It uses features available in 4dos,
but not in command.com, or any later Windoze shells.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.

** Posted from http://www.teranews.com **