New Reply

Controlling Mathematica Through the MS-DOS Command Line in VBA for CST MWS

 
Share Thread
Nov9-11, 07:43 PM   #1
 

Controlling Mathematica Through the MS-DOS Command Line in VBA for CST MWS


Hi, guys. I need to control Mathematica through the MS-DOS command line in Visual Basic for Applications as part of a macro for CST Microwave Studio. I can call Mathematica through the command line just fine with

Code:
Shell("math", vbNormalFocus)
but when I try to enter commands afterward, such as

Code:
Shell ("1+1", vbNormalFocus)
then VBA interprets this as me wanting to open another command line box instead of using the one I just opened and which has the Mathematica interface up. I've searched the internet for a few hours trying to fix this with no luck, so I thought I'd ask you guys. It seems like if I just knew one or two more lines of code I could fix this. Any help would be greatly appreciated.

On a side note: the variety of VBA that CST's macro system uses is WinWrap Basic.
PhysOrg.com science news on PhysOrg.com

>> Leading 3-D printer firms to merge in $403M deal (Update)
>> LA to give every student an iPad; $30M order
>> CIA faulted for choosing Amazon over IBM on cloud contract
New Reply

Tags
command line, cst, mathematica, microwave studio, vba

Similar discussions for: Controlling Mathematica Through the MS-DOS Command Line in VBA for CST MWS
Thread Forum Replies
Unable To Pass Arguments to Mathematica Script Through MS-DOS Command Line Math & Science Software 0
area command in Matlab or Mathematica or Maple Math & Science Software 2
What command to be used in Mathematica Math & Science Software 1
Mathematica, Plot3D command and 3D points Math & Science Software 2
A question about Manipulate command in Mathematica General Math 1