Статьи с тэгом :
Закрыть
История изменений
Закрыть
Попробовать в облаке
Попробовать в облаке
Справочный центр
Десктопные редакторы ONLYOFFICE

Running ONLYOFFICE Desktop Editors with parameters

Десктопные редакторы ONLYOFFICEv8.2 История изменений десктопных редакторов ONLYOFFICE

Версия 8.2.0

Дата выпуска: 21.10.2024

Версия 8.1.1

Дата выпуска: 17.07.2024

Версия 8.1.0

Дата выпуска: 19.06.2024

Версия 8.0.1

Дата выпуска: 26.02.2024

Версия 8.0.0

Дата выпуска: 31.01.2024

Версия 7.5.1

Дата выпуска: 14.11.2023

Версия 7.5.0

Дата выпуска: 17.10.2023

Версия 7.4.1

Дата выпуска: 31.07.2023

Версия 7.4.0

Дата выпуска: 14.06.2023

Версия 7.3.3

Дата выпуска: 16.03.2023

Версия 7.3.0

Дата выпуска: 31.01.2023

Версия 7.2.1

Дата выпуска: 21.10.2022

Версия 7.2.0

Дата выпуска: 23.09.2022

Версия 7.1.1

Дата выпуска: 02.06.2022

Версия 7.1.0

Дата выпуска: 13.05.2022

Версия 7.0.0

Дата выпуска: 18.01.2022

Версия 6.4.2

Дата выпуска: 19.10.2021

Версия 6.4.1

Дата выпуска: 01.10.2021

Версия 6.3.1

Дата выпуска: 28.06.2021

Версия 6.2.0

Дата выпуска: 18.03.2021

Версия 6.1.0

Дата выпуска: 08.12.2020

Версия 6.0.2

Дата выпуска: 19.11.2020

Версия 6.0.1

Дата выпуска: 11.11.2020

Версия 6.0.0

Дата выпуска: 15.10.2020

Версия 5.6.4

Дата выпуска: 09.09.2020

Версия 5.6.0

Дата выпуска: 30.07.2020

Версия 5.5.1

Дата выпуска: 09.04.2020

Версия 5.4.2

Дата выпуска: 28.11.2019

Версия 5.4.1

Дата выпуска: 02.10.2019

Версия 5.3.5

Дата выпуска: 26.08.2019

Версия 5.3.3

Дата выпуска: 10.07.2019

Версия 5.2.8

Дата выпуска: 18.01.2019

Версия 5.2.4

Дата выпуска: 21.12.2018

Версия 5.1.27

Дата выпуска: 23.05.2018

Версия 4.8.7

Дата выпуска: 14.02.2018

Версия 4.8.6

Дата выпуска: 23.12.2017

Версия 4.4.1

Дата выпуска: 12.07.2017

Версия 4.3.2

Дата выпуска: 13.04.2017

Версия 4.2.2

Дата выпуска: 16.02.2017

Версия 4.2.1

Дата выпуска: 20.12.2016

Sometimes you might want to run ONLYOFFICE Desktop Editors for performing a specific task, e.g., creating a new file when running the app, opening an existing file for viewing only, or running the application in debug mode, etc. This can be done using command line flags.

List of available flags

Here you can find the flags which can be used when running ONLYOFFICE Desktop Editors and their short descriptions.

Running Desktop Editors in debug mode

This option can be used on all operating systems.

--ascdesktop-support-debug-info - is used to run ONLYOFFICE Desktop Editors in debug mode with the ability to open the console. To start working in debug mode, right-click any editable field on the top toolbar (for example, font list combo) and click Inspect Element.

Starting from version 7.1, you can also use the --ascdesktop-support-debug-info-keep flag specifying the necessary value:

--ascdesktop-support-debug-info-keep=1 - enables debug mode permanently and does not require a separate parameter for activating (the parameter is stored to the application settings file).

--ascdesktop-support-debug-info-keep=0 - disables debug mode permanently and requires a separate parameter for activating (the parameter is stored to the application settings file).

--ascdesktop-support-debug-info-keep=default - resets the default setting (removes the parameter from the application settings file).

Inspect element

Customizing Desktop Editors window

These options can be used on Linux OS.

--system-title-bar - is used to run ONLYOFFICE Desktop Editors in a system window.

System window

--custom-title-bar - is used to run ONLYOFFICE Desktop Editors in a standard window (not a system one). This flag is used to cancel the effect of the --system-title-bar flag.

Standard window

Running Desktop Editors along with opening a file in a certain mode

These options can be used on Windows and Linux OS.

--review=path/to/file - is used to open an existing DOCX file in the Track Changes mode without the ability to disable this mode. The XLSX and PPTX files will be opened in the viewing mode, as the track changes mode is not currently supported in spreadsheets and presentations.

--view=path/to/file - is used to open an existing DOCX, XLSX, or PPTX file in the viewing mode without the ability to switch to the editing mode.

Replace path/to/file with an actual full path to an existing file. The file path must be enclosed in double quotes. E.g.:

--review="C:\Users\username\Documents\Document1.docx" for Windows

--review="/home/username/Documents/Document1.docx" for Linux

--force-use-tab - is used together with the --review=path/to/file or --view=path/to/file flags to open an existing DOCX file in a new tab of the main window. Otherwise, the document opens in a separate window.

Examples of using two flags together:

--review="C:\Users\username\Documents\Document1.docx" --force-use-tab or --view="C:\Users\username\Documents\Document1.docx" --force-use-tab - for Windows

--review="/home/username/Documents/Document1.docx" --force-use-tab or --view="/home/username/Documents/Document1.docx" --force-use-tab - for Linux

Running Desktop Editors as an independent process

This option can be used on all operating systems.

--single-window-app - is used to run the desktop editors in a new application as an independent process in case one instance of the application is already launched. If you close the first application, you’ll not see the "All the editor windows will be closed" warning and the second one will remain opened.

Connecting Desktop Editors to the ONLYOFFICE cloud

These options can be used on all operating systems.

--ignore-certificate-errors - is used to disable the certificate validity check so that you can connect desktop editors to the ONLYOFFICE cloud in case you use a self-signed SSL certificate on your ONLYOFFICE portal.

--lock-portals - is used to hide the Connect to cloud section.

--unlock-portals - is used to display the hidden Connect to cloud section.

Creating new files when opening Desktop Editors

These options can be used on all operating systems.

--new:word - is used to run the desktop editors and create a new local DOCX file.

--new:cell - is used to run the desktop editors and create a new local XLSX file.

--new:slide - is used to run the desktop editors and create a new local PPTX file.

Using flags on different operating systems

This process differs depending on the operating system - Windows, Linux, or Mac OS. Please choose the corresponding tab to read detailed instructions for your OS:

On Windows, there are two ways to launch the application: through the shortcut or the terminal.

Option 1. Run the app through the shortcut:

  1. Right-click the application shortcut on the desktop screen.
  2. Choose Properties.
  3. Open the Shortcut tab.
  4. In the Target field, after the path to the application, enter a space and then type the necessary flag.
  5. Click the Apply button.

    Shortcut

  6. You will need to provide administrator permissions to change this settings. Click Continue.
  7. Launch the application by clicking the shortcut.

Option 2. Run the app through the Run window:

  1. Press Win+R.
  2. In the appeared Run window, enter the path to the application, add a space and then type the necessary flag, for example:
    "%ProgramFiles%\ONLYOFFICE\DesktopEditors\DesktopEditors" --ascdesktop-support-debug-info

    Run

  3. Click the OK button.

On Linux, use the terminal to run ONLYOFFICE Desktop Editors using flags:

  1. Press CTRL+ALT+T. The terminal will be opened.
  2. In the command line, enter /usr/bin/desktopeditors, add a space and then type the necessary flag, for example:
    /usr/bin/desktopeditors --ascdesktop-support-debug-info

    Terminal

  3. Press Enter.

On Macos, use the terminal to run ONLYOFFICE Desktop Editors using flags:

  1. Press Command+Space.
  2. In the appeared Spotlight window, type Terminal in the search line:

    Spotlight

  3. Choose the Terminal option. The terminal will be opened.
  4. In the command line, enter the path to the application, add a space and then type the necessary flag, for example:
    "/Applications/ONLYOFFICE.app/Contents/MacOS/ONLYOFFICE" --ascdesktop-support-debug-info

    Terminal

  5. Press Enter.
Скачать Скажите "Нет" Microsoft Поддержка всех основных платформ:
Windows, Linux and и OS
Вас также может заинтересовать:
Закрыть