I record a macro which does following:
I have 2 progs, Prog A and Prog B (Editor).
If I press the Hotkey "F7" my recorded macro goes to Prog A copy a line
change the window to prog B and paste the copied line in it
then it goes back to Prog A goes a line down and copy this line
change to Prog B and past this line in it. An so on....I have totaly around 200'000 lines.
The macro runs, but after 60 seconds it stops for some reason. The macro scheduler hangs up
and I have to restart the macro scheduler and restart the macro.
Do anybody know how it could be the problem?
PS: Sorry for my bad englisch. I'm german speaking.
Macro stops after 60 seconds. I need help.
Moderators: JRL, Dorian (MJT support)
My macro for Hotkey F7:
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>232,748
Wait>0.01
LClick
Wait>0.01
MouseMove>348,373
Wait>0.01
LClick
Wait>0.01
Press Down
Wait>0.01
LClick
Wait>0.01
Press CTRL
Wait>0.01
Press ALT
Wait>0.01
Send>c
Wait>0.01
Release ALT
Wait>0.01
Release CTRL
Wait>0.01
MouseMove>393,750
Wait>0.01
LClick
WaitWindowOpen>Ausgabe - Editor
MoveWindow>Ausgabe - Editor,137,103
ResizeWindow>Ausgabe - Editor,854,370
Wait>0.01
Press CTRL
Wait>0.01
Send>v
Wait>0.01
Release CTRL
Wait>0.01
Press Backspace
Wait>0.01
Press CTRL
Wait>0.01
Send>s
Wait>0.05
Release CTRL
Wait>0.01
Press F7
Wait>0.5
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>232,748
Wait>0.01
LClick
Wait>0.01
MouseMove>348,373
Wait>0.01
LClick
Wait>0.01
Press Down
Wait>0.01
LClick
Wait>0.01
Press CTRL
Wait>0.01
Press ALT
Wait>0.01
Send>c
Wait>0.01
Release ALT
Wait>0.01
Release CTRL
Wait>0.01
MouseMove>393,750
Wait>0.01
LClick
WaitWindowOpen>Ausgabe - Editor
MoveWindow>Ausgabe - Editor,137,103
ResizeWindow>Ausgabe - Editor,854,370
Wait>0.01
Press CTRL
Wait>0.01
Send>v
Wait>0.01
Release CTRL
Wait>0.01
Press Backspace
Wait>0.01
Press CTRL
Wait>0.01
Send>s
Wait>0.05
Release CTRL
Wait>0.01
Press F7
Wait>0.5
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Ouch - that's asking for trouble. Instead, the script should either just loop back to the top, or be scheduled with a repeat interval.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Like this:
Label>top
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>232,748
Wait>0.01
LClick
Wait>0.01
MouseMove>348,373
Wait>0.01
LClick
Wait>0.01
Press Down
Wait>0.01
LClick
Wait>0.01
Press CTRL
Wait>0.01
Press ALT
Wait>0.01
Send>c
Wait>0.01
Release ALT
Wait>0.01
Release CTRL
Wait>0.01
MouseMove>393,750
Wait>0.01
LClick
WaitWindowOpen>Ausgabe - Editor
MoveWindow>Ausgabe - Editor,137,103
ResizeWindow>Ausgabe - Editor,854,370
Wait>0.01
Press CTRL
Wait>0.01
Send>v
Wait>0.01
Release CTRL
Wait>0.01
Press Backspace
Wait>0.01
Press CTRL
Wait>0.01
Send>s
Wait>0.05
Release CTRL
Wait>0.05
Goto>top
Label>top
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>232,748
Wait>0.01
LClick
Wait>0.01
MouseMove>348,373
Wait>0.01
LClick
Wait>0.01
Press Down
Wait>0.01
LClick
Wait>0.01
Press CTRL
Wait>0.01
Press ALT
Wait>0.01
Send>c
Wait>0.01
Release ALT
Wait>0.01
Release CTRL
Wait>0.01
MouseMove>393,750
Wait>0.01
LClick
WaitWindowOpen>Ausgabe - Editor
MoveWindow>Ausgabe - Editor,137,103
ResizeWindow>Ausgabe - Editor,854,370
Wait>0.01
Press CTRL
Wait>0.01
Send>v
Wait>0.01
Release CTRL
Wait>0.01
Press Backspace
Wait>0.01
Press CTRL
Wait>0.01
Send>s
Wait>0.05
Release CTRL
Wait>0.05
Goto>top
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?