You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
.. _module.robot.uiweb:
|
|
|
|
####################################
|
|
3. UIWeb
|
|
####################################
|
|
|
|
Here you can find the functions description for interaction with desktop GUI applications
|
|
|
|
How to use both x32 and x64 python processes (it can be helpfully, if another app GUI is on another bitness than your app)
|
|
|
|
.. code-block:: python
|
|
|
|
from pyOpenRPA.Robot import UIDesktop
|
|
#Section for robot init
|
|
lPyOpenRPA_SettingsDict = {
|
|
"Python32FullPath": "..\\Resources\\WPy32-3720\\python-3.7.2\\python.exe", #Set from user: "..\\Resources\\WPy32-3720\\python-3.7.2\\OpenRPARobotGUIx32.exe"
|
|
"Python64FullPath": "..\\Resources\\WPy64-3720\\python-3.7.2.amd64\\python.exe", #Set from user
|
|
"Python32ProcessName": "pyOpenRPA_UIDesktopX32.exe", #Config set once
|
|
"Python64ProcessName": "pyOpenRPA_UIDesktopX64.exe" #Config set once
|
|
}
|
|
# Init the pyOpenRPA configuration
|
|
UIDesktop.Utils.ProcessBitness.SettingsInit(lPyOpenRPA_SettingsDict)
|
|
# Now you can use pyOpenRPA with both bitness.
|
|
|
|
|
|
.. automodule:: pyOpenRPA.Robot.UIDesktop
|
|
:members:
|
|
:autosummary:
|
|
|
|
|
|
**********
|
|
References
|
|
**********
|
|
|
|
`reStructuredText`_
|
|
|
|
.. target-notes::
|
|
.. _`reStructuredText`: http://docutils.sourceforge.net/rst.html
|