Script to logon remote machine

Can someone tell me how to script Ctrl+Alt+Delete?

I’m currently connected to a windows machine through EggPlant remote connection and this machine freequently logoff user account if the machine unattended for 30mins.

So I need to manually select from Remote connection header Control -> and Send Control-Alt-Delete and then enter my work credentials to logon.

Can it be done automatically with the script?


This will depend on the VNC server you are using, since this sequence has to be injected at the right level in the OS for it to be recognized. I think you can do it with RealVNC, but not with Ultra or TightVNC. The actual command is quite simple however:

typeText controlKey, altKey, DeleteKey