Wednesday, September 7, 2011

Scripting --> How to PopUp Applet Using scripting

Using below code we can pop up applet using scripting



case "MyTest":
var oServiceAF = TheApplication().GetService("SLM Save List Service");
var inputPropAF = TheApplication().NewPropertySet();
var outputPropAF = TheApplication().NewPropertySet();
inputPropAF.SetProperty("Applet Name",);
inputPropAF.SetProperty("Applet Mode", "6");
oServiceAF.InvokeMethod("LoadPopupApplet", inPropAF, outPropAF);
return(CancelOperation);