Difficulties to get started with desktop automation

I’m new to UI.Vision and I’m wondering if this is possible what I want to achieve. I need to launch a larger Windows application and siimulate some actions (clicks or menu). I can open the calculator from one example macro, but that’s about it.

Launched applications miraculously stay invisible, although the task is running. As recommended in the docs, I also created a batch script to launch the app, but then the keystrokes sent with XType end up in the terminal, rather than going to the application’s menu.

It is possible to create pivot table in excel using ui vision? - #8 by Quick-analytics recommends to record the macro, but the logs tell me that it is not possible:

[warning] Recording is only available for browser automation. Desktop automation macros are created by adding XClick and other visual commands step by step.

Is there any example macro that would launch an application (larger than just the calculator) and then puts the focus into that app so that I can trigger menu actions?

Thanks!

How do you launch the apps? With the RUN command? Maybe post a demo video?

Recording a macro is only possible for classic web automation, not the visual/OCR desktop automation.

PS: The “quick analytics” post you mentioned is a SPAM post with AI generated text, please ignore it. I just marked it as spam and hope it gets deleted asap.

UI.Vision can automate desktop apps, but focus issues are common. To ensure keystrokes go to the right window, use XClick on the app’s UI to bring it into focus before XType. Recording isn’t supported for desktop macros—build them manually with visual commands. For Excel tasks like pivot tables, you’ll need precise XClick/XType steps or use scripting via Excel macros instead. Bible Chat Ai

Best Regards,
Thomas Henry