Help me setting up a task with tasker on my phone.

Job ID: 35505335

Budget: €8 – €30 EUR

Hi all

I have a Mi 9T pro. Pop-up camera is broken and I make it stick out all the time so I can continue to use the phone. Replacement of camera and motor didn't help. As I want to continue to use this phone I try to make my life less miserable.

I get a ugly message (a warning message) when it tries to pop-up or close the camera. It goes like this:

Attention
Couldn't close front camera multiple times. Try calibrating the camera.

I get 2 options: Cancel and Calibrate

Here is a link to the ugly message I get on the screen:

https://www.pure-editions.com/shop/image/errormessage.jpeg

How can I make tasker click automatically on cancel when this message pops up?

Anyone can help. Should be a fairly small task, but I'm not into programming.
Related categories: AutoHotkey Android SDK