I absolutely agree with Ron and Craig above. Another good resource that is easy to get at is the Scripting Guide. From the Help Menu, click Books, then Select the scripting guide. The other really helpful resource is the Scripting Index which is also under the Help menu tab.
This Mastering JMP topic is pretty good too (I might be biased) except that I hear the presenter goes a little fast.
Automating Analysis and Reporting Using JMP Scripts | JMP
JMP Systems Engineer, Health and Life Sciences (Pharma)