As a temporary measure the following will give you a clue to the available objects, plus look at the existing scripts, plus watch for code snippets that Juan quite often includes in posts from time to time, this is how I have worked it out, works quite well.
View > Explorer Windows > Object Explorer