Problems with macro record - movewindow and resizewindow

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Problems with macro record - movewindow and resizewindow

Post by adroege » Tue Jan 25, 2005 3:31 pm

This is a clip from a recorded macro, but the MoveWindow and ResizeWindow commands have not been coded correctly by the recorder.

The entry from the Tools/View System Windows shows the following
for the window in question.

2425216 - TFormActivityList "Activities List - Assigned To: START"

Notice it didn't fill in the x-coord !
Also notice on the resizewindow how the y-coord is a crazy number !

Yes, I probably can code around this.... but I usually include the
movewindow and resizewindow in my hand-coded scripts so that
the windows are in the same position/size for every run. I let macro
scheduler recorder determine these values for me by recording a test
macro, and then cut/pasting these lines into the script I'm hand-coding.

Can this bug be fixed quickly?

Thanks.


// C:\Program Files\MJT Net Ltd\Macro Scheduler\11.scp
// Recorded on Tuesday, January 25, 2005, at 09:57 AM

//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>664,179
Wait>0.9
LClick
WaitWindowOpen>Activities List - Assigned To
MoveWindow>Activities List - Assigned To, START,907
ResizeWindow>Activities List - Assigned To,116,4294966389
Wait>1.17
MouseMove>623,122
Wait>2.04
LDown
MouseMove>612,161

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts