|
|
|
.. _module.robot.mouse:
|
|
|
|
|
|
|
|
####################################
|
|
|
|
6. Mouse
|
|
|
|
####################################
|
|
|
|
|
|
|
|
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.Mouse
|
|
|
|
:members:
|
|
|
|
:autosummary:
|
|
|
|
|
|
|
|
|
|
|
|
**********
|
|
|
|
References
|
|
|
|
**********
|
|
|
|
|
|
|
|
`reStructuredText`_
|
|
|
|
|
|
|
|
.. target-notes::
|
|
|
|
.. _`reStructuredText`: http://docutils.sourceforge.net/rst.html
|