diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2019-10-15 09:37:23 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2019-10-15 15:54:41 +0200 |
commit | 35cef5c7256129d3d21f31cc0903c977f8de9cf6 (patch) | |
tree | 44c0e5ff839e6d924bf3ca863da2e704e6509c20 | |
parent | 242a6bbefc4c8561fb4355329a0a043803e515d9 (diff) |
Restrict warning to sys=UNIX
Warning applies only to UNIX like systems
Change-Id: I1fe93eef298bb7f3f00d0318edb4413672e93d1f
Reviewed-on: https://gerrit.libreoffice.org/80831
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | source/text/sbasic/python/main0000.xhp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/text/sbasic/python/main0000.xhp b/source/text/sbasic/python/main0000.xhp index 5faefe428e..867cd1ad4b 100644 --- a/source/text/sbasic/python/main0000.xhp +++ b/source/text/sbasic/python/main0000.xhp @@ -28,7 +28,11 @@ </section> <h2 id="hd_id3146957">Working with Python Scripts in %PRODUCTNAME</h2> <paragraph role="paragraph" id="N0102">You can execute Python scripts choosing <menuitem>Tools - Macros - Run Macro</menuitem>. Editing scripts can be done with your preferred text editor. Python scripts are present in various locations detailed hereafter. You can refer to Programming examples for macros illustrating how to run the Python interactive console from %PRODUCTNAME.</paragraph> - <warning id="par_id131568902936659">The %PRODUCTNAME scripting framework for Python is optional on some GNU/Linux distributions. If it is installed, selecting <menuitem>Tools – Macros - Run Macro...</menuitem> and checking <literal>%PRODUCTNAME Macros</literal> for the presence of <literal>HelloWorld – HelloWorldPython</literal> macro is sufficient. If absent, please refer to your distribution documentation in order to install the %PRODUCTNAME scripting framework for Python.</warning> + <switch select="sys"> + <case select="UNIX"> + <warning id="par_id131568902936659">The %PRODUCTNAME scripting framework for Python is optional on some GNU/Linux distributions. If it is installed, selecting <menuitem>Tools - Macros - Run Macro...</menuitem> and checking <literal>%PRODUCTNAME Macros</literal> for the presence of <literal>HelloWorld – HelloWorldPython</literal> macro is sufficient. If absent, please refer to your distribution documentation in order to install the %PRODUCTNAME scripting framework for Python.</warning> + </case> + </switch> <embed href="text/shared/guide/scripting.xhp#scripting"/> <embed href="text/sbasic/python/python_ide.xhp#pythonideh1"/> <embed href="text/sbasic/python/python_locations.xhp#pythonlocations1"/> |