Hi!
Altough there is similar questions in this forum, my doubt is about the user choose when to pause the macro.
Suppose that my macro is running in a loop, showing some results to the user.
I would want to permit that the user could stop the execution/pause the macro whith a command based in some results, do some action on that page e send another command to the macro go on the execution in its normal path.
I have done a macro that run a code in a infinite loop. In each step, three links are open and the macro see in the page opened, if there are some information that would be relevant. If there are, a notification is showed at the page to the user. The macro pauses and after some time execute again.
The main macro call three macros: run_bens, run_oficio, run_penhora. Each one, opens a new page and see if that page has some information. If it has, a notification is send to the user.
I would like to know how can the user send a command to pause the macro only when he resolve that the notification is relevant to him, then, he pause the macro, open the links that the macro found the information, then he edit them. After he ends the edition, the user send na another command to the macro goes on.
the site has a page with a table with several links. In each circle the macro will open all of them and search for a specific information on them.
In each page opened, the macro will search the rows of the table, supose, identify in the the colunm “Confirmado”, rows without any value (empty). In this case, the macro will return four occurrences.
After the first circle ends (after open all the links and verify all the pages), the macro will present the notifications to the user.
After 10 seconds the macro will run this again.
My question is:
Is it possible to the user to give a command only WHEN he want (for example a Ctrl+A) to pause the macro, go into the pages that the macro identified to be updated, edit them, and after give na another command (for example Ctrl+B) to resume the macro execution.
That is, he can view the notifications and do nothing or if he guess that is the correct moment to do the updates. And the macro goes on.
Best,