Page 1 of 1

[Solved] External calls

Posted: Fri Jun 01, 2007 7:19 pm
by olaio
Hi everyone,

Can we call an external aplication on a toplip macro?

Posted: Wed Jun 13, 2007 10:25 am
by Fabrice
Hi,

There is presently no way to call directly an external executable from within a TopLIP macro... But you could do so if driving TopSolid with its COM API ...

Posted: Tue Jun 26, 2007 4:39 pm
by Mark Oostveen
Well I did do it... With a macro....

So copy the text below in a lip file. Put the complete path of the executable between the brackets. Convert to lob and add to the menu of TopSolid... Now you can run a executable from the interface of TopSolid.

Don't forget the QuitMacro command :)

----------------------
(
FUNCTION launch Exe

WHEN WHO WHAT
23/04/06 MJO creation

STK IN :
STK OUT :
)

"[path and name of the exe file]" 0 CreateProcess

QuitMacro
----------------------

Mark

Posted: Tue Jun 26, 2007 5:44 pm
by olaio
That´s it :D

Thanks a lot!!!

Posted: Thu Jun 28, 2007 3:15 pm
by Fabrice
Oooouups ! :oops:

I missed that one !! :?

You are right, it can be done !

Thanx a lot Mark !