On the bottom left of the Script Editor, directly above the Help button, is the Description pane. The Description pane shows you the necessary syntax for any item you select in the Object browser.
For example, if, in the Object browser, you navigate to Application, then ActiveDocument, then Sections, then Query, and then Methods and select Activate(), the description pane reads void Activate().
This display indicates that the Activate() method does not accept arguments.
If you select Export(), the description pane reads
void Export(String Filename, BqExportFileFormat FileFormat, [optional] Boolean IncludeHeaders)
This display indicates that Export() accepts three arguments, two required and one optional.