25 years ago in Windows 95/98 time, I remember a great, but not popular tool for desktop automation. It allows record mouse movements and does repetitive tasks. But it was also including his own very simple language similar to basic as far I remember. There was a library of examples also. I cannot find it now – but I think it was similar to https://www.perfectautomation.com/. Nowadays Microsoft starting to provide similar tools, so I think it is a wort of investigation.
Some useful links:
Power Apps – it is a quite old, but can be answer for child Scratch and App inventor – just see https://powerapps4kids.com/.
In my opinion, the above tools should be included in compulsory computer science studies, as well as Scratch and AppInventor.