75 lines
820 B
ReStructuredText
75 lines
820 B
ReStructuredText
|
|
1.2) Tools
|
|
^^^^^^^^^^
|
|
|
|
Remember, always import library.
|
|
|
|
.. code-block:: python
|
|
|
|
import easymacro as app
|
|
|
|
|
|
**Info from PC**
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
* Operate system
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.OS)
|
|
|
|
* Current user
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.USER)
|
|
|
|
* Name PC
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.PC)
|
|
|
|
* Name desktop, only GNU/Linux
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.DESKTOP)
|
|
|
|
* Language
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.LANG)
|
|
|
|
* Language with variant
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.LANGUAGE)
|
|
|
|
* Application name
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.NAME)
|
|
|
|
* Application version
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.VERSION)
|
|
|
|
* In Windows
|
|
|
|
.. code-block:: python
|
|
|
|
app.msgbox(app.IS_WIN)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. _MRI: https://github.com/hanya/MRI
|