Script Automation: Recording User Actions with Nicolas Arnaud-Cormos | #QtWS23
Abstract: QML is a versatile and powerful component of all Qt applications, beyond the already established use case of building advanced UIs. It can be easily used for in-application scripting [1], leveraging the C++/QML integration in Qt. This has been used internally in our migration helper tool, but beyond just script automation one of the features we wanted was a way for the user to record a script based on the actions he was doing, so he can save it and replay it later. The underlying idea is close to what the text editing macros in Qt Creator can do, with the difference that the output is a script that can be easily edited or amended after recording. In this session, I will show how such a system can be added to an existing application in the least intrusive way possible, how to make it generic enough for handling almost any kind of API, what are the prerequisites for such a system, and how to handle some corner cases.
About the Speaker: Nicolas Arnaud-Cormos has been working with Qt for more than half of his life already, on multiple Qt widgets or QML projects, with a particular emphasis on API design and software architecture. He is a senior software engineer and trainer at KDAB since 2007, and a runner enthusiast in his free time.
Oh, here is more
Webinar: Designing for Modern Devices - Challenges and Trends for Designers of Embedded Applications
Join Qt Group, Creative Navy & Create Next to uncover the future of designing for embedded devic...
Watch VideoWebinar: When Healthcare HMI and Hardware Fail: Lessons in Building Safe, Compliant, and Future-Proof HIT Systems
This webinar is part of a two-part series that explores how medical Human–Machine Interfaces (HMIs) ...
Watch VideoWebinar: How to 10x Development Speed when Building an ADAS HMI Towards Production
Surround Reality (SR) is rapidly gaining traction because it provides the situational awareness toda...
Watch VideoWebinar: Safe, Smart, Seamless: Navigating HMI Hurdles in Lab Equipment
This webinar is part of a two-part series that explores how medical Human–Machine Interfaces (HMIs) ...
Watch Video