Hi, Camargo, Thales
For an operator-controlled HMI, I’d start with Power Automate for desktop rather than Task Scheduler. You can record the steps you already perform in the trend-recorder application, then create separate flows for Start, Stop, and Save and start next cycle. Power Automate can interact with buttons and fields in Windows applications, and each flow can have a desktop shortcut that operators select on the HMI screen.
For the save flow, have it stop the recording, save the file using a name such as Trend_2026-09-27_15-40, check that the file was saved, and only then start the next recording. The exact steps depend on what your recorder software supports. If it offers its own automation commands or a way to name files automatically, use those in preference to simulated screen clicks.
One important check before setting this up: launching flows from desktop shortcuts requires Power Automate Premium or a pay-as-you-go environment. Also, some custom application controls may not be detected reliably, so test the full stop-save-restart cycle on the HMI before relying on it.
Thank you for your patience in reading, I hope this information has been helpful to you.
If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment."
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.