<spanid="pyopenrpa-robot"></span><h2>pyOpenRPA Robot<aclass="headerlink"href="#module-pyOpenRPA.Robot.UIDesktop"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">Get_OSBitnessInt</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#Get_OSBitnessInt"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.Get_OSBitnessInt"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">PWASpecification_Get_PWAApplication</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inControlSpecificationArray</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#PWASpecification_Get_PWAApplication"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.PWASpecification_Get_PWAApplication"title="Permalink to this definition">¶</a></dt>
<dd><p>#Backend selection - attribute “backend” (“win32” || “uia”) in 1-st list element</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inControlSpecificationArray</strong>– List of dict, dict in pywinauto.find_windows notation</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">PWASpecification_Get_UIO</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inControlSpecificationArray</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#PWASpecification_Get_UIO"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.PWASpecification_Get_UIO"title="Permalink to this definition">¶</a></dt>
<dd><p>#Backend def selection - attribute “backend” (“win32” || “uia”) in 1-st list element
#old name - GetControl</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inControlSpecificationArray</strong>– List of dict, dict in pywinauto.find_windows notation</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelectorSecs_WaitAppear_Bool</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationList</span></em>, <emclass="sig-param"><spanclass="n">inWaitSecs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelectorSecs_WaitAppear_Bool"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelectorSecs_WaitAppear_Bool"title="Permalink to this definition">¶</a></dt>
<dd><p>Wait for UI object will appear in GUI for inWaitSecs seconds.</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelectorSecs_WaitDisappear_Bool</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationList</span></em>, <emclass="sig-param"><spanclass="n">inWaitSecs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelectorSecs_WaitDisappear_Bool"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelectorSecs_WaitDisappear_Bool"title="Permalink to this definition">¶</a></dt>
<dd><p>Wait for UI object will disappear in GUI for inWaitSecs seconds.</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelectorUIOActivity_Run_Dict</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span></em>, <emclass="sig-param"><spanclass="n">inActionName</span></em>, <emclass="sig-param"><spanclass="n">inArgumentList</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inkwArgumentObject</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelectorUIOActivity_Run_Dict"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelectorUIOActivity_Run_Dict"title="Permalink to this definition">¶</a></dt>
<dd><p>Run the activity in UIO (UI Object)</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>inUIOSelector</strong>– UIOSelector - List of items, which contains condition attributes</p></li>
<li><p><strong>inActionName</strong>– UIOActivity (name) activity name string from Pywinauto</p></li>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_Exist_Bool</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_Exist_Bool"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_Exist_Bool"title="Permalink to this definition">¶</a></dt>
<dd><p>Check if object is exist by the UIO selector.</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_FocusHighlight</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_FocusHighlight"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_FocusHighlight"title="Permalink to this definition">¶</a></dt>
<dd><p>Set focus and highlight (draw outline) the element (in app) by the UIO selector.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inUIOSelector</strong>– UIOSelector - List of items, which contains condition attributes</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_GetChildList_UIOList</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inBackend</span><spanclass="o">=</span><spanclass="default_value">'win32'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_GetChildList_UIOList"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_GetChildList_UIOList"title="Permalink to this definition">¶</a></dt>
<dd><p>Get list of child UIO’s by the parent UIOSelector</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>inUIOSelector</strong>– UIOSelector - List of items, which contains condition attributes</p></li>
<li><p><strong>inBackend</strong>– “win32” or “uia”</p></li>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_Get_BitnessInt</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationList</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_Get_BitnessInt"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_Get_BitnessInt"title="Permalink to this definition">¶</a></dt>
<dd><p>Detect process bitness by the UI Object UIO Selector.</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_Get_BitnessStr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationList</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_Get_BitnessStr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_Get_BitnessStr"title="Permalink to this definition">¶</a></dt>
<dd><p>Detect process bitness by the UI Object UIO Selector.</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_Get_UIO</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationList</span></em>, <emclass="sig-param"><spanclass="n">inElement</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inFlagRaiseException</span><spanclass="o">=</span><spanclass="default_value">True</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_Get_UIO"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_Get_UIO"title="Permalink to this definition">¶</a></dt>
<dd><p>Get the pywinauto object by the UIO selector.</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_Get_UIOActivityList</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_Get_UIOActivityList"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_Get_UIOActivityList"title="Permalink to this definition">¶</a></dt>
<dd><p>Get the list of the UI object activities</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inUIOSelector</strong>– UIOSelector - List of items, which contains condition attributes</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_Get_UIOInfo</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_Get_UIOInfo"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_Get_UIOInfo"title="Permalink to this definition">¶</a></dt>
<dd><p>Get the UIO dict of the attributes</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inUIOSelector</strong>– UIOSelector - List of items, which contains condition attributes</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_Get_UIOList</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationList</span></em>, <emclass="sig-param"><spanclass="n">inElement</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inFlagRaiseException</span><spanclass="o">=</span><spanclass="default_value">True</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_Get_UIOList"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_Get_UIOList"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_Highlight</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_Highlight"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_Highlight"title="Permalink to this definition">¶</a></dt>
<dd><p>Highlight (draw outline) the element (in app) by the UIO selector.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inUIOSelector</strong>– UIOSelector - List of items, which contains condition attributes</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_SafeOtherGet_Process</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_SafeOtherGet_Process"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_SafeOtherGet_Process"title="Permalink to this definition">¶</a></dt>
<dd><p>Safe get other process or None if destination app is the other/same bitness</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inUIOSelector</strong>– UIO Selector of the UI object</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>None or process (of the other bitness)</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_SearchChildByMouse_UIO</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inElementSpecification</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_SearchChildByMouse_UIO"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_SearchChildByMouse_UIO"title="Permalink to this definition">¶</a></dt>
<dd><p>UIOSelector (see description on the top of the document)
#old name - AutomationSearchMouseElement</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inElementSpecification</strong>– UIOSelector of the UI Object</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>pywinauto element wrapper instance or None</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_SearchChildByMouse_UIOTree</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inUIOSelector</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_SearchChildByMouse_UIOTree"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_SearchChildByMouse_UIOTree"title="Permalink to this definition">¶</a></dt>
<dd><p>!!!!Safe call is included (you can set activity and UIDesktop will choose the bitness and return the result)!!!!!</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inUIOSelector</strong>– UIOSelector of the UI Object</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelector_TryRestore_Dict</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationList</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelector_TryRestore_Dict"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelector_TryRestore_Dict"title="Permalink to this definition">¶</a></dt>
<dd><p>Try to restore (maximize) window, if it’s minimized. (!IMPORTANT! When use UIA framework minimized windows doesn’t appear by the UIOSelector. You need to try restore windows and after that try to get UIO)</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>inSpecificationList</strong>– UIOSelector - List of items, which contains condition attributes</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelectorsSecs_WaitAppear_List</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationListList</span></em>, <emclass="sig-param"><spanclass="n">inWaitSecs</span></em>, <emclass="sig-param"><spanclass="n">inFlagWaitAllInMoment</span><spanclass="o">=</span><spanclass="default_value">False</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelectorsSecs_WaitAppear_List"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelectorsSecs_WaitAppear_List"title="Permalink to this definition">¶</a></dt>
<dd><p>Wait for many UI object will appear in GUI for inWaitSecs seconds.</p>
<li><p><strong>inWaitSecs</strong>– Float value (seconds) for wait UI element appear in GUI</p></li>
<li><p><strong>inFlagWaitAllInMoment</strong>– True - Wait all UI objects from the UIOSelector list to be appeared</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>List of index, which UI object UIO will be appeared. Example: [1] # Appear only UI object with UIO selector: [{“title”:”notepad”},{“title”:”Cancel”}]</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Robot.UIDesktop.</code><codeclass="sig-name descname">UIOSelectorsSecs_WaitDisappear_List</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inSpecificationListList</span></em>, <emclass="sig-param"><spanclass="n">inWaitSecs</span></em>, <emclass="sig-param"><spanclass="n">inFlagWaitAllInMoment</span><spanclass="o">=</span><spanclass="default_value">False</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Robot/UIDesktop.html#UIOSelectorsSecs_WaitDisappear_List"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Robot.UIDesktop.UIOSelectorsSecs_WaitDisappear_List"title="Permalink to this definition">¶</a></dt>
<dd><p>Wait for many UI object will disappear in GUI for inWaitSecs seconds.</p>
<li><p><strong>inWaitSecs</strong>– Float value (seconds) for wait UI element disappear in GUI</p></li>
<li><p><strong>inFlagWaitAllInMoment</strong>– True - Wait all UI objects from the UIOSelector list to be disappeared.</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>List of index, which UI object UIO will be disappeared. Example: [1] # Disappear only UI object with UIO selector: [{“title”:”notepad”},{“title”:”Cancel”}]</p>