Hello, on the beginning its always like that. I remember my begining, it was very hard to understand. So I started with a simple ones, like how to make new body, how to rename names and so on. This forum is very good, I got a lot of answers here. There are a lot of topics and solved problems.
I also made web page about this topic, you can find simple Macros there with explanations.
CATScript is VBScript that utilizes Automation API, so learning it breaks in two:
1. Study VBScript - pick any book.
2. Learn Automation API - refer to V5Automation.chm in CATIA's code\bin directory for class description, search this forum and coe.org for samples.
But most importantly to automate any process you should have way more knowledge about it than an average user has.
To master CATScript you have to master CATIA.
Automation documentation can be found under Help > Infrastructure > Automation Documentation Home Page. The organization of those help files is different than the rest of Catia. It takes a little getting used to, but it's pretty thorough.
Not sure if that's the same content that ferdo is pointing you to. CHM files are passing into obsolescence. I don't think Windows 10 supports them any more.
"CHM files are passing into obsolescence. I don't think Windows 10 supports them any more."
Not even close. I have at least 3 copies of the automation CHM open on my screen, at any given time. Granted, most of them are VB/VBA, and that IS passing into obsolescence. But while syntax varies between languages, the API remains the same.