No tab with id: XXX

Hello

I am a beginner and this is my first Xclic with a nice error?

I want to click on the second button in the taskbar, is there a trick to achieve this?

I do not see how to do?

Have this bug when you run macro via command line ?

I have the error whatever the mode of launching, one of details I am in RDP connected on a VPS That is to say in remote mode.
Macros in Web mode work well, but Xclics and OCRxxxxx commands do not work.
Are there any checks to do before an Xclick?

Best regards

Waiting @admin for suggestion

Thank you.

Is it possible that the taskbar is not accessible? Is there an ok example to Xclick on a task bar?

I am getting the No Tab with ID: XXX when running a macro with XRUNandWAIT.

“Command”: “XRunAndWait”,
“Target”: “C:\Program Files\Google\Chrome\Application\chrome”,
“Value”: “file:///C:/Users/Jason.daniels/Downloads/ui.vision.html?direct=1&macro=EXP-NoResultsSOS”,
“Description”: “”

Any suggestions?

Solved my issue. I need to have the macro continue in the tab where the last macro stopped. Found this parameter and it works!

&continueInLastUsedTab=0/1 (default is 1) and using zero fixed my problem.

1 Like

Is there an ok example to Xclick on a task bar?

Hello

I found the cause of my error, I inverted the target and the values when I forced the XDestop mode

Before with error:
Command: XDesktopAutomation Target: “” Value: TRUE

After rectification of my error:
Command: XDesktopAutomation Target: TRUE Value: “”

I stupidly inverted the target and value which deactivated the XDesktopAutomation mode.

So this is a rookie mistake.

Closure of this question, thank you for your help …