AppleScript for EndNote X3?

Are there any EndNote X3 example Applescripts?  I tried a simple one and nothing happens.

I want to list the groups in a library. Here is my try using the Sample library:

tell application “EndNote X3”

get groups in “Sample_Library_X3.enl”

endtell

When I run the above script (after clicking on the Compile tool), nothing shows in the result window, and no error messages. Any ideas?