When you learn to ride a bike, you don't ask your parents every 100 metres whether you're doing it right.
As long as you don't fall, you're doing it right.
It's the same with programming.
If it works, then you've done a lot of things right. Maybe not efficiently or according to all the rules of programming, but it works.
You've been working with AutoIt long enough that you should have this confidence in your own abilities and not have to ask after every 5 lines of code.
Have more confidence! If it works, then it's good. If you get wrong results or error messages, that's the time to ask.
Just my 2 cents worth!
Written with the help of DeepL.com translator