Window that stop Macro Sheduler

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

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 » Fri Jun 04, 2004 11:14 pm

I am curious where you get the window name "Cop" from.
The sample of the window information
I attach information of the window:

1377040 - #32770 "Seleccione directorio"
852968 - Static "N&ombre de archivo:"
1376990 - Edit "__TEST__.TM"
1246040 - Static "&Carpetas:"
1114802 - Static "c:\"
983840 - Static "Mostrar archivos de &tipo:"
1704868 - Static "U&nidades:"
2818762 - ComboBox "c: "
3015382 - Button "Aceptar"
2425760 - Button "Cancelar"
2229148 - Button "&Red..."
3212026 - Button "Ay&uda"
2687770 - Button "&Sólo lectura"
does not seem to reference that string anywhere.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Sat Jun 05, 2004 2:03 am

Dear Reimon,

I'm glad you've already solved your problem, and thank for your strong hug.

If you choose the MouseMove+LClick solution, make sure the window you're working with is maximized so that the mouse can be moved to exactly the same location. To maximize the window of interest, you use WindowAction>1,Window_Tilte.

Erratum
I was not thorough in my assertion on the blinking gear. Even when one or more Macro Scheduler scripts are still running, the gear could stop blinking especially when:
(1) many windows are running concurrently (for example, over 10 internet explorers are retrieving webpages simultaneously) and;
(2) Macro Scheduler is waiting for something (eg, SetFocus>, WaitWindowOpen>, WindowAction>,...etc.)
Under the above scenario, the gear could stop blinking indeed. Nonethless, you can still discern whether Macro Scheduler stops or not.
2 Ways to test:
(1) if the non-blinking gear is in bright yellow, Macro Scheduler is still running.
(2) Right-click the non-blinking gear (on the systray), if the "Break" option is not available (grayed out), it means no more Macro Scheduler scripts are running.

By the way, it's impossible for a script to stop Macro Scheduler unless the script contains:
Press SHIFT
Press ESC
Release SHIFT

Happy scripting. Have a nice weekend.

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