Post by Festus on Apr 22, 2020 22:14:40 GMT
Checking out MMM to loop a process in an application ...
This is what I have going so far, trying to detect when the process finishes so it can be looped ... That's the part that is not working.
There are Buttons and Text that are Disabled during the Run process and Enabled upon completion, my thoughts are to use that to detect when the process is finished and loop.
Better ideas are welcome ...
Also, I don't understand why I have to have,
The manual steps would be,
This is my application, I could just code in a loop, that is not what I want ...
Thank you.
(Shoot, the preview button is broke, I have no clue if this will be readable!)
This is what I have going so far, trying to detect when the process finishes so it can be looped ... That's the part that is not working.
There are Buttons and Text that are Disabled during the Run process and Enabled upon completion, my thoughts are to use that to detect when the process is finished and loop.
Better ideas are welcome ...
1 | IF | PROCESS NAME | MyApplication | EXIST | SELECT WINDOW BY NAME | MyApplication (4/21/2020, 4:48 PM)
2 | RUN ACTION | DEFINE STRING VARIABLE | %STRING%::DeleteMe.test
3 | X | X | 1000 | Keypress Alt+ | T
4 | X | X | 1000 | Keypress T
5 | X | X | 1000 | Keypress R
6 | X | X | 1000 | Keypress Alt+ | N
7 | X | X | 1000 | Keypress %string%
8 | X | X | 1000 | Keypress Alt+ | O
9 | X | X | 1000 | Keypress Alt+ | Y
10 | X | X | 1000 | Keypress Alt+ | C
11 | | PIXEL RANGE | At Location [X:107 Y:134]::Size [W:32 H:13] | CHANGES::50::0::2 | GOTO MACRO LINE | 3
Also, I don't understand why I have to have,
3 | X | X | 1000 | Keypress Alt+ | T
4 | X | X | 1000 | Keypress T
It should just be Alt-T, it doesn't work without the second T.The manual steps would be,
. Select Application
loop
. Alt-T (Select menu Test)
. R (Select submenu Run (Opens FileOpenDialog))
. Alt-N (Select text box Name (In FileOpenDialog))
. Input String data: Filename.ext (Input filename)
. Alt-O (Select Open, closes FileOpenDialog)
. Y (Select Yes to open file message)
. C (Select Complete to process type)
. Wait for Application to finish ...
repeat loop
loop
. Alt-T (Select menu Test)
. R (Select submenu Run (Opens FileOpenDialog))
. Alt-N (Select text box Name (In FileOpenDialog))
. Input String data: Filename.ext (Input filename)
. Alt-O (Select Open, closes FileOpenDialog)
. Y (Select Yes to open file message)
. C (Select Complete to process type)
. Wait for Application to finish ...
repeat loop
This is my application, I could just code in a loop, that is not what I want ...
Thank you.
(Shoot, the preview button is broke, I have no clue if this will be readable!)