Forum Discussion

p_bremm11's avatar
p_bremm11
Contributor
10 years ago

Compare regions using variable?

In my test when I compare a region use the following script (Delphi example):   Regions.Danfe_CT_2_4242_Parte1.Check(Aliases.AcroRd32.wndAcrobatSDIWindow.AVSplitterView.AVSplitterView.AVSplitatio...
  • HKosova's avatar
    10 years ago

    Hi Patrick,

     

    Here's how you can use the variables in your example:

     

    strRegionName := 'Danfe_CT_2_4242_Parte1';
    strMaskName := 'DANFE_CT_48_Parte1_Mask';

    Regions.Items(strRegionName).Check(Aliases.AcroRd32.wndAcrobatSDIWindow.AVSplitterView.AVSplitterView.AVSplitationPageView.AVSplitterView.AVScrolledPageView.AVScrollView.AVPageView, false, false, 0, 0, strMaskName);