All of a sudden...one macro runs VERY slow!

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
dickalp
Newbie
Posts: 1
Joined: Tue May 18, 2004 2:54 pm

All of a sudden...one macro runs VERY slow!

Post by dickalp » Tue May 18, 2004 3:02 pm

Can anyone help? Worked fine until recently. Here is the script for the slow one:

// C:\Program Files\MJT Net Ltd\Macro Scheduler\Start Recording.scp
// Recorded on Friday, October 31, 2003, at 02:46 PM

//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>601,76
WaitWindowOpen>Guided Tour Author
MoveWindow>Guided Tour Author,-4,-4
ResizeWindow>Guided Tour Author,1032,748
Wait>.04
LClick
Wait>.07
MouseMove>960,89
Wait>188978557.52
LClick
WaitWindowOpen>Modify a Tour
MoveWindow>Modify a Tour,176,86
ResizeWindow>Modify a Tour,672,568
Wait>.02
MouseMove>303,276
Wait>.021
LClick
Wait>.07
MouseMove>311,322
Wait>.03
LClick


Here is one that DOES work:

// C:\Program Files\MJT Net Ltd\Macro Scheduler\Save and go to next.scp
// Recorded on Friday, January 16, 2004, at 09:19 AM

//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>343,357
WaitWindowOpen>Modify a Tour
MoveWindow>Modify a Tour,176,86
ResizeWindow>Modify a Tour,672,568
Wait>4294967.1
LClick
Wait>12884901.74
MouseMove>448,603
Wait>150323852.63
LClick
WaitWindowOpen>Publish Tour LIVE
MoveWindow>Publish Tour LIVE,290,332
ResizeWindow>Publish Tour LIVE,449,119
Wait>4294967.1
MouseMove>470,423
Wait>133143983.9
LClick
WaitWindowOpen>Guided Tour Author
MoveWindow>Guided Tour Author,-4,-4
ResizeWindow>Guided Tour Author,1032,748
Wait>.03
MouseMove>597,76
Wait>.07
LClick
Wait>.03
MouseMove>961,90
Wait>.05
LClick
WaitWindowOpen>Modify a Tour
MoveWindow>Modify a Tour,176,86
ResizeWindow>Modify a Tour,672,568
Wait>.03
MouseMove>306,276
Wait>.05
LClick
Wait>.08
MouseMove>313,318
Wait>.04
LClick
Dick Alpert
HSH Milwaukee

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue May 18, 2004 10:01 pm

May I suggest that you eliminate or reduce the amount of time in your Wait> commands?

Wait>188978557.52 = 3149642.625 minutes = 52494.044 hours = 2187.251days = 5.988 years!

If you look at the log for the file, you will be able to see where the delay is. Caution: a newer version may be released before the log file is complete.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

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