I don't understand all this scripting code. What I need to do is find a programmer familar with Macro Scheduler to put this together for me.
What I have been able to do and figure out is by creating the process I need accomlished unattened by using a start macro, a download data from device macro, a save data macro and a end program macro it works.
But I don't know what complications may arise if any.
Looking at the script provided to save the data file, I don't have a clue as to hwo to insert it and tweak it.
I tried capturing a log but it seems to say the same thign as the script, showign no errors jsut start top end of the macro.
The macro stats by opening the program and ait's next command is a ctrl r which startsa the downloading from the data lgger. Thats where I there must be a problem. It take some time to fetch the data it is recived in packets 1-9 from a serial device on the end of a ethernet cable connected to the data recorder at 2400 baud. I uses a com port redirector that enables the serial port to see the device at it's ip address. It's made by Newport Electronic ( Micro Server)
Here is the script for eachrocess that is allowing the procedure to complete I have each macro starting seperately.
Start:
// C:\Program Files\MJT Net Ltd\Macro Scheduler\Recorder BackUp.scp
// Recorded on Sunday, October 24, 2004, at 03:09 AM
// Run program and wait for it to be active
Change Directory>C:\Program Files\MadgeTech 2.00
Run Program>C:\Program Files\MadgeTech 2.00\MadgeTech2.exe
WaitWindowOpen>
// Ensure it always opens with the same dimensions
MoveWindow>,225,240
ResizeWindow>,574,287
// Focus the app
SetFocus>
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>422,504
Wait>3.03
Press CTRL
WaitWindowOpen>MadgeTech
MoveWindow>MadgeTech,-4,-4
ResizeWindow>MadgeTech,1032,742
Wait>0.86
Send>r
Wait>0.66
Release CTRL
WaitWindowOpen>MadgeTech - [Graph]
MoveWindow>MadgeTech - [Graph],-4,-4
ResizeWindow>MadgeTech - [Graph],1032,742
Wait>40.89
Press Enter
WaitWindowOpen>MadgeTech Data Recorder Software
MoveWindow>MadgeTech Data Recorder Software,330,194
ResizeWindow>MadgeTech Data Recorder Software,363,152
Wait>1.39
Fetch Data:
// C:\Program Files\MJT Net Ltd\Macro Scheduler\Recorder Download Data.scp
// Recorded on Sunday, October 24, 2004, at 03:00 AM
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>218,40
Wait>2.08
LClick
Wait>0.75
MouseMove>225,72
Wait>0.82
LClick
WaitWindowOpen>MadgeTech - [Graph]
MoveWindow>MadgeTech - [Graph],-4,-4
ResizeWindow>MadgeTech - [Graph],1032,742
Wait>65.94
Press CTRL
Wait>0.05
Press ALT
Wait>0.53
Press ALT
Save Data:
// C:\Program Files\MJT Net Ltd\Macro Scheduler\Recorder Data Save.scp
// Recorded on Sunday, October 24, 2004, at 03:00 AM
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>634,240
Wait>1.64
LClick
WaitWindowOpen>MadgeTech - [Graph - (Unsaved)]
MoveWindow>MadgeTech - [Graph - (Unsaved)],-4,-4
ResizeWindow>MadgeTech - [Graph - (Unsaved)],1032,742
Wait>0.73
MouseMove>67,59
Wait>4.28
LClick
WaitWindowOpen>MadgeTech
MoveWindow>MadgeTech,392,333
ResizeWindow>MadgeTech,248,126
Wait>0.02
MouseMove>496,435
Wait>2.07
LClick
WaitWindowOpen>Save Data File...
MoveWindow>Save Data File...,0,0
ResizeWindow>Save Data File...,563,419
Wait>5.46
Send>ColdStorage
Wait>1.72
MouseMove>508,340
Wait>1.15
LClick
WaitWindowOpen>Save Data File...
MoveWindow>Save Data File...,359,333
ResizeWindow>Save Data File...,314,126
MouseMove>471,430
Wait>2.59
LClick
WaitWindowOpen>MadgeTech - [Graph - (Unsaved)]
MoveWindow>MadgeTech - [Graph - (Unsaved)],-4,-4
ResizeWindow>MadgeTech - [Graph - (Unsaved)],1032,742
Wait>4.49
Press CTRL
Wait>0.03
Press ALT
The last macro I failed to save to display here is a CTRL-Q which closes the program.
Instead of having seperate macros can I copy and paste this code inorder of need thru the editor to creat a sincge macro?
________
marijuana vaporizer