 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] Re: Scripting question
| [mathcad] Re: Scripting question |
|
Author: Samir Khan
Posted: Fri, 26 Aug 2005 09:51:28 +0100
|
Mike,
This code I use in a Mathsoft PushButton to run an external DOS program
from within Mathcad.
Sub PushButn_Click()
Set WShell = CreateObject("WScript.Shell")
WShell.run "DOS commands go here",0,True
End Sub
Samir
"Austin, Mike"
<mike.austin@airb
us.com> To
Mathcad Discussion List
25/08/2005 14:57 "mathcad"
cc
Please respond to Subject
"mathcad" [mathcad] Scripting question
ptscience.com
I would like to be able to write an input file, run it with a Dos-based
program and read the output file - preferably as one process from within
Mathcad if possible. I can do the file input and output, but I am not
familiar with object scripting to run an external program. Does anyone have
an example script to run a Dos-based program on the command line and
return? Any Mathcad version will do.
STRESSWORK
Mike AUSTIN
on behalf of AIRBUS-UK
for Department - ESASU
NTC D2 09J
Phone: +44 (0)117 936 2688
Fax: +44 (0)117 936 5474
Mailto: "Mike.Austin"
This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.
|
[View Complete Thread]
Previous by date: [mathcad] Scripting question, Austin, Mike
Next by date: [mathcad] RE: Scripting question, Leslie Bondaryk
Previous thread: [mathcad] RE: AMD platform, Tong, Guang
Next thread: [mathcad] Re: Scripting question, Samir Khan
|
|
|