Hello all,
I want to screen scrape a citrix application using server side java script.
Currently I am making use of WScript.Shell ActiveXObject and try the following :

var objShell =new ActiveXObject("WScript.Shell");

objShell.AppActivate("Metaframe Presentation Server"); // this is the title of the citrix dialog that opens up once the application gets launched.

objShell.SendKeys ("{ENTER}")

Using AppActivate, the focus is transferred to the dialog mentioned above, but then the SendKeys do not work.
Do I need to do it differently?

Please provide your valuable help.