PureBytes Links
Trading Reference Links
|
Yes I do it for, running many system
tests at once. A bit experimental but I have more than 100
system test (takes about 40 minutes with 550 Mhz machine ), and I run them every
night. I just cut, a small part of my Visual Basic automation program,
to give you an idea. Following codes runs MS and sets the loading options number
of days to 301. As you see this done mainly mimicing key strokes.
regards,
sub
small_part()
MetaStockPath = "C:\Program
Files\METASTOCK7\MetaStock" If Right(MetaStockPath,
1) <> "\" Then MetaStockPath = MetaStockPath & "\" ' make sure a
backslash is at the end of the pathMetaStockRun = MetaStockPath &
"MSWIN.EXE"MetaStockRun = Shell(MetaStockRun,
vbNormalFocus)Do DoEvents
ReportReady = FindWindow("MetaStockMainWnd", "MetaStock Professional")Loop
Until ReportReady <> 0Call wait(0.3)SendKeys "^o",
TrueDo DoEvents ReportReady =
FindWindow("#32770", "Open")Loop Until ReportReady <> 0Call
bekle(0.3)'--------------------LOAD OPTIONS DAN YUKLENECEK GUN SAYISI
GIRISI-------------If gunyukle = 301 Then SendKeys
"%p", True SendKeys "l", True
Do
DoEvents ReportReady =
FindWindow("#32770", "Load Options") Loop Until
ReportReady <> 0 Call
bekle(0.2) SendKeys "301", TrueElse: End
If
end sub()
.
----- Original Message
-----
From: "Nicholas Kormanik"
<<FONT face="Comic Sans MS"
color=#008080 size=2>nkormanik@xxxxxxxxx<FONT face="Comic Sans MS"
color=#008080 size=2>>
To: <<A
href="mailto:metastock@xxxxxxxxxxxxx"><FONT face="Comic Sans MS" color=#008080
size=2>metastock@xxxxxxxxxxxxx<FONT face="Comic Sans MS"
color=#008080 size=2>>
Sent: Thursday, March 14,
2002 6:40 PM
Subject: Automatic
Execution of Explorations
<FONT color=#008080
size=2>|
| Folks,| | I'd like to be able to set up a desktop
'macro/script/batch language'| that opens MetaStock (7.2), and atomically
runs a set of sequential| explorations.| | Do any of you now do that
successfully? If so, how?| | Thanks,| Nicholas| |
| | | |
|