Applescript and QuickTime X

Hello Scripters

I’m a totally new-bee in Applescript.
I need to do the following process in a script oder better in two scripts.

Process:
First action
Start a VNC client on Computer A and make a connection to Computer B.
Start QT and do record the screen of the VNC client of Computer B.

Second action
Stop recording of the screen of the VNC client of Computer B.
Save the recorded file to Directory A on Computer A.
Stop the VNC connection to Computer B.

So As much as I understand, I need to do more or less the following steps.

  • Get the name and directory of the VNC client
  • Tell the VNC client to make a connection to Computer B
  • Get the window properties of the VNC window with the connection to Computer B
  • Tell QT to start
  • Tell QT to make a recording of the VNC window of the connection to Computer B
  • Tell QT to stop the recording of the VNC window of the connection to Computer B
  • Tell QT to save the recording as *.mov to directory A with adding a number to the filename and adding +1 if the filename with the number does exist
  • Tell the VNC client to stop and quit the connection

This much I know, but then I get in trouble to go on.
What I also don’t know is a free VNC client which is Applescriptable.

I only can say thank you for anyones suggestions and help
Kind regards
Thomas Thaler