I'm having trouble with it getting my email
code:
Function called: OnGetScriptMenu
Function called: OnEvent_MenuClicked
Function called: OnWndSettingsEvent_CtrlClicked
Function called: OnWndAddAccountEvent_CtrlClicked
Error: 'objEnDec' is null or not an object (code: -2146823281)
File: GC_interfaces.js. Line: 208.
Function OnWndAddAccountEvent_CtrlClicked returned an error. Code: -2147352567
Function called: OnWndAddAccountEvent_CtrlClicked
Function called: OnWndAddAccountEvent_Cancel
Function called: OnWndAddAccountEvent_Destroyed
Function called: OnWndSettingsEvent_CtrlClicked
Function called: OnWndSettingsEvent_Cancel
Function called: OnWndSettingsEvent_Destroyed
that's the entire session
this is the part of the file which causes problems
code:
function OnWndAddAccountEvent_CtrlClicked(objPlusWnd, strControlId){
switch(strControlId){
case "btnAdd":
var strAddUserResult = addUser(WndAddAccount.GetControlText("lblUsername"),
objEnDec.Encrypt(WndAddAccount.GetControlText("lblPassword")),
arrUsernames, arrPasswords);
if(strAddUserResult == "true"){
WndSettings.Combo_AddItem("cbxGmailAccounts", arrUsernames[arrUsernames.length-1]);
WndSettings.Combo_SetCurSel("cbxGmailAccounts", WndSettings.Combo_GetCount("cbxGmailAccounts")-1);
WndSettings.Visible = true;
WndAddAccount.Close(0);
} else {
alert(WndAddAccount, strAddUserResult);
}
break;
default:
break;
}
}