Exemplo n.º 1
0
 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");
     }
 }
Exemplo n.º 2
0
 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");
     }
 }
Exemplo n.º 3
0
 protected void reset(RPAWin32Automation component) // Reset the API of te component
 {
     reset((RPAComponent)component);
 }