protected override void MergeLibrariesAndLoadVariables() { if (!loaded || !isVariable("$VisualStudio")) { loaded = cartes.merge(CurrentPath + "\\Cartes\\VisualStudio.rpa") == 1; } if (vsWindow == null) { vsWindow = GetComponent <RPAWin32Component>("$VisualStudio"); vsClose = GetComponent <RPAWin32Automation>("$VisualStudioClose"); } }
protected override void MergeLibrariesAndLoadVariables() { if (!isVariable("$OutlookMain")) { if (cartes.merge(CurrentPath + "\\Cartes\\Outlook.cartes.rpa") != 1) { throw new Exception("I cannot load the Outlook library"); } OutlookMain = GetComponent <RPAWin32Component>("$OutlookMain"); OutlookAllowBtnES = GetComponent <RPAWin32Automation>("$OutlookAllowES"); OutlookAllowAccessES = GetComponent <RPAWin32CheckRadioButton>("$OutlookAllowAccessES"); } }
protected void reset(RPAWin32Automation component) // Reset the API of te component { reset((RPAComponent)component); }