Hi!
First, I hope you can excuse my horrible english level... I am Spanish, and I dont know too much of English...
Well, I want to ask you about my problem with Macro Scheduler. I am using it, for make some test to a application. The application, makes data base access and my Boss (in my work), wants to get a script for make the text automatically.
I must to buld one script which access to diferent menus options, and then show to the user a messagebox with the time access used for it.
I did record a macro, using the recorder in Macro Secheduler, and now I am trying to insert some instrucctions, but when I am trying it, I has find the next problem.
The script open a window (we can call it as a A window), select some values and click one button, well, in this moment appears a new window (we can call it, as a B window) with the next text: Esperando (in english waiting...). The dates are charged in the A window, and when all the dates are charged, the B window disapear, and the A window takes the focus. In this moment I need to insert a message box with the time, and close the window...
Well, the problem is the next, the script close the A window before the B window is closed.
I has try to use a CloseWindow command, and a WaitReady command, but I have no obtain any good result...
Can somebody help me with it?
My mail is: [email protected].
Thanks a lot for your attention
Problems with WaitWindowOpen... WaitWindosClosed...
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 1
- Joined: Wed Mar 02, 2005 10:31 am
Problems with WaitWindowOpen... WaitWindosClosed...
Iván Alameda Carballo
Aplications Designer & Development
IBERMATICA
Aplications Designer & Development
IBERMATICA
You would do _something_ like this:
WaitWindow>A
Send>stuff
..Click the button
WaitWindowOpen>Esperando
WaitWindowClosed>Esperando
SetFocus>A
MessageModal>whatever
CloseWindow>A
It is going to be somewhere along those lines. Feel free to provide screen shots. Also make sure you've gone through the "Scripting Windows for Beginners" guide in the help file as it will help you understand the sort of things you will need to do to make this work.
WaitWindow>A
Send>stuff
..Click the button
WaitWindowOpen>Esperando
WaitWindowClosed>Esperando
SetFocus>A
MessageModal>whatever
CloseWindow>A
It is going to be somewhere along those lines. Feel free to provide screen shots. Also make sure you've gone through the "Scripting Windows for Beginners" guide in the help file as it will help you understand the sort of things you will need to do to make this work.
MJT Net Support
[email protected]
[email protected]