Chicken of the VNC

I’m trying to click the connect button of a dialogue window but keep getting the following error:

System Events got an error: NSReceiverEvaluationScriptError: 4

I have got GUI scripting activated but I’m still getting the error.

Here is my applescript code:


tell application "Chicken of the VNC" to activate
tell application "System Events"
	click button "Connect" of group 1 of window "Connect"
end tell

Has anyone managed to GUI script “Chicken of the VNC”?

Browser: Safari 412
Operating System: Mac OS X (10.4)

Should’nt it be
button “Connect” of group 1 of group 1 of window “VNC Login” …?

I use the Scripting Addition Application “Extra Suites”

http://macupdate.com/info.php/id/9730

by using the line

tell application “Extra Suites” to ES type key “enter”

in the A/S

:o

In the end I solved the problem with a very simple solution:


tell application "System Events"
	keystroke return

Thanks for the hints.