{"id":10192,"date":"2023-10-26T15:39:23","date_gmt":"2023-10-26T12:39:23","guid":{"rendered":"https:\/\/trueconf.com\/blog\/?p=10192"},"modified":"2026-01-21T11:24:28","modified_gmt":"2026-01-21T08:24:28","slug":"launch-trueconf-client-applications-via-command-line-parameters","status":"publish","type":"post","link":"https:\/\/trueconf.com/blog\/knowledge-base\/launch-trueconf-client-applications-via-command-line-parameters","title":{"rendered":"Launch TrueConf Client Applications via Command Line Parameters"},"content":{"rendered":"<p>TrueConf <a href=\"https:\/\/trueconf.com\/downloads\" target=\"_blank\" rel=\"noopener\">client applications<\/a> for desktops (Windows, macOS, Linux) and <a href=\"https:\/\/trueconf.com\/products\/room.html\" target=\"_blank\" rel=\"noopener\">TrueConf Room<\/a> PC-based room software can be launched\u00a0 using command line parameters. In this case, upon opening the application users automatically can:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">Log in<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Connect to the right server<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Launch applications in the selected mode (full screen or minimized)<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Call users or join video conferences<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Launch another instance of application to control the second camera, e.g. to capture the second video source.<\/li>\n<\/ul>\n<h2 id=\"parameter-list\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">Parameter List<\/h2>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">In TrueConf applications for macOS and Linux, if you specify parameters with a <b>&#8220;\\&#8221;<\/b> character, you need to escape it with a second <b>&#8220;\\&#8221;<\/b> character, e.g., <b>&#8220;\/c \\\\c\\\\6427906610&#8221;<\/b>.<\/p>\n<\/div>\n<table style=\"overflow-x: auto; display: block;\" class=\"ui-mb-sm-1\">\n<tbody>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>Function<\/b><\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>Parameter and Use Case<\/b><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Login<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-l [user] -p [password] -e<\/b><br \/>\n<strong> -l maria -p 4839 -e<\/strong><\/p>\n<p><b>-l<\/b> specifies the authorization login. It is used in combination with the <b>-password -p<\/b> parameter which corresponds to the password needed for authorization.<br \/>\n<b>-e<\/b> is the parameter indicating that the password should be hashed instead of being used in an unencrypted form. It is used together with <b>login -l<\/b> and <b>password -p<\/b>.\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Connect to a <a href=\"https:\/\/trueconf.com\/products\/server\/video-conferencing-server.html\" target=\"_blank\" rel=\"noopener\">server<\/a> by its IP address or domain name<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-h [<\/b><b>server<\/b><b>]:[port]<\/b><\/p>\n<p><strong> -h 192.168.1.100:12345<\/strong><\/p>\n<p><strong>-h video.company.com<\/strong><\/p>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">If the <b>-h<\/b> parameter is used together with the <b>-d<\/b> parameter, you  can specify several TrueConf Server IP addresses or domain names (FQDNs) separated by commas. The application will connect to the first available server, for example <b>-d dns-server.name -h 192.168.1.100,192.168.1.101<\/b>.<\/p>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Forced authorization or connection to the server<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-lf<\/b><b><\/b><\/p>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">This parameter can be used to force a connection to the server specified with the <b>-h<\/b> parameter, as well as to authorize with the given username and password. If the key <b>-lf<\/b> is not specified and the user is already authorized on the server, there will be neither reconnection to the required server, nor authorization with a new account.<\/p>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Specify the domain, which SRV-records will be used to search for an available video conferencing server to connect to<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-d [domain_name]<\/b><\/p>\n<p><strong>-d company.com<\/strong><\/p>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">We recommend using this parameter together with <b>-h<\/b> to make sure that autologin works correctly if the server address is changed in the list of SRV records.<\/p>\n<\/div>\n<p>The <b>-d<\/b> parameter works in this way:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">All servers from the list for the <b>-h<\/b> parameter are marked as the servers from this domain.<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">A request for SRV records will be carried out with the help of DNS SRV Discovery. The request will take this form: <b>vcs2.tcp.[domain name]<\/b>. After that, one of <a href=\"https:\/\/docs.trueconf.com\/server\/en\/admin\/web-config\/#network-settings\" target=\"_blank\" rel=\"noopener\">available TrueConf Server instances<\/a> will be selected from the response received from the DNS server. However, if Discovery cannot find anything, the servers will be taken from the <b>-h<\/b> parameter.<\/li>\n<\/ul>\n<p>After the first successful connection, the TrueConf application will save all addresses that are specified in the <a href=\"https:\/\/docs.trueconf.com\/server\/en\/admin\/web-config#network-settings\" target=\"_blank\" rel=\"noopener\"><strong>External addresses<\/strong> list<\/a> of the server control panel.<\/p>\n<p>Of course, you will need to <a href=\"https:\/\/docs.trueconf.com\/server\/en\/admin\/start-settings\/#connection-using-auto-discovering\" target=\"_blank\" rel=\"noopener\">add a new SRV record<\/a> in your domain.\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\" colspan=\"2\"><b>Launch Applications in Different Modes<\/b><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Full screen (without interface elements)<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-f<\/b><\/p>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">This parameter is to be used in conjunction with <b>-c<\/b> parameter when automatically receiving and making video calls. It is also important to use this parameter if \u00a0you need to see users\u2019 images without interface elements during video conferences.<\/p>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Minimized<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-m<\/b><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">\u201cInstance\u201d mode<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-t [id]<\/b><\/p>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">By using this parameter, you\u2019ll launch the instance of your application with ID specified by the user.\u00a0Instance settings are saved separately from original settings. Once closed, these settings are saved and automatically brought back when restarted by using the same ID.<\/p>\n<\/div>\n<p>This feature may be helpful in several cases, for example, for connecting to the server when the parameter is used together with other parameters:<br \/>\n<b>-l<\/b> (login)<br \/>\n<b>-p<\/b> (password)<br \/>\n<b>-h<\/b> (indicates the server to which the application should connect)\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Select the monitor to display the TrueConf Room main screen<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-monitor [id]<\/b><b><\/b><\/p>\n<p><b>-monitor 2<\/b><b><\/b><\/p>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">\n<b>For TrueConf Room only<\/b><br \/>\nBy default the <a href=\"https:\/\/docs.trueconf.com\/room\/en\/scheme\/#main-screen\" target=\"_blank\" rel=\"noopener\">TrueConf Room main screen<\/a> is launched on the primary monitor of your operating system (e.g. indexed as <b>1<\/b> in Windows). With the <b>-monitor<\/b> parameter, you can change this setting, i.e. when you connect an additional monitor, you can display the TrueConf Room main screen on it by specifying the <b>-monitor 2<\/b> parameter. This will allow you to use different monitors to display the conference window and simultaneously control TrueConf Room via the web-based control panel.\n<\/p>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\" colspan=\"2\"><b>Call Users and Join Conferences<\/b><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Call users<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-c [user]<\/b><\/p>\n<p><strong>-c george<\/strong><\/p>\n<p><b>-c [user] @ [server_name]<\/b><\/p>\n<p><strong>-c george@company.com<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Join conferences on the server via \\c\\CID<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-c \\\u0441\\[CID]<\/b><\/p>\n<p><strong>-c \\c\\6427906610<\/strong><\/p>\n<p><b>-c \\\u0441\\[CID]@[server_name]#vcs<\/b><\/p>\n<p><strong>-c \\c\\6427906610@company.com#vcs<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Automatically close the application once the call\/conference is ended<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-ac<\/b><\/p>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">This parameter can only be used in conjunction with <b>-c<\/b> parameter.<\/p>\n<\/div>\n<p><strong>-c kate -ac<\/strong><\/p>\n<p><strong>-c \\c\\5427905512 -ac<\/strong><\/td>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\" colspan=\"2\"><b>Additional application parameters<\/b><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Change of the renderer type<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>-r [render-type] or &#8211;render [render-type]<br \/>\n-r opengl or &#8211;render opengl<br \/>\n<\/b><\/p>\n<p>Here, you can specify the type of renderer that will be used in the application. It may be helpful to try several values from the list below if there are some problems (\u201cartifacts\u201d) with application rendering. In case the problem persists, <a href=\"https:\/\/trueconf.com\/blog\/knowledge-base\/which-logs-are-required-to-submit-a-ticket-to-the-technical-support-department.html\" target=\"_blank\" rel=\"noopener\">collect logs<\/a> and <a href=\"https:\/\/trueconf.com\/support.html\" target=\"_blank\" rel=\"noopener\">submit a ticket<\/a> to TrueConf technical support. The following types of renderer are available:<b><\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--num\">gl<\/li>\n<li class=\"ui-list__item ui-list__item--num\">opengl<\/li>\n<li class=\"ui-list__item ui-list__item--num\">gles<\/li>\n<li class=\"ui-list__item ui-list__item--num\">opengles<\/li>\n<li class=\"ui-list__item ui-list__item--num\">directx<\/li>\n<li class=\"ui-list__item ui-list__item--num\">angle<\/li>\n<li class=\"ui-list__item ui-list__item--num\">soft<\/li>\n<li class=\"ui-list__item ui-list__item--num\">soft-gl<\/li>\n<li class=\"ui-list__item ui-list__item--num\">gdi<\/li>\n<\/ul>\n<p><\/b><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\">Launching the application with parameters from a file<\/td>\n<td style=\"padding: 8px 16px; border: 1px solid #d7d8d8; vertical-align: middle;\" class=\"primary-smallest-text\"><b>&#8211;settings [file-path]<br \/>\n&#8211;settings &#8220;C:\\Program Files\\TrueConf\\Client\\settings.json&#8221;<\/b><\/p>\n<p>Check the <a href=\"https:\/\/trueconf.com\/blog\/knowledge-base\/launching-trueconf-client-application-with-settings-taken-from-json-file.html\" target=\"_blank\" rel=\"noopener\">corresponding article<\/a> for more details on how the application can be launched with settings from a file.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Here:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\"><b>[user]<\/b> \u2014 user login<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><b>[password]<\/b> \u2014 user password <b>[server]<\/b> \u2014 TrueConf Server IP<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><b>[server_name]<\/b> \u2014 TrueConf Server FQDN<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><b>[port]<\/b> \u2014 port reserved for server control panel<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><b>[id]<\/b>\u00a0\u2014 unique ID for the instance of application<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><b>[CID]<\/b> \u2014 <a href=\"https:\/\/trueconf.com\/blog\/wiki\/conference-id\" target=\"_blank\" rel=\"noopener\">Conference ID<\/a><\/li>\n<\/ul>\n<p>Parameters can be combined at random. For example:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">To connect and log in on TrueConf Server, run the following command:\n<pre class=\"wrap:true lang:default decode:true \">TrueConf.exe -h 192.168.1.100:12345 -l maria -p 4839 -e<\/pre>\n<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">To be logged in and call the user, run the following command:\n<pre class=\"wrap:true lang:default decode:true \">TrueConf.exe  -c george -l maria -p 4839 -e<\/pre>\n<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">To be logged in and join the conference, run the following command:\n<pre class=\"wrap:true lang:default decode:true \">TrueConf.exe  -c \\c\\5427905512 -l maria -p 4839 -e<\/pre>\n<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">To launch another instance of application and connect to TrueConf Server via IP, run the following command:\n<pre class=\"wrap:true lang:default decode:true\">TrueConf.exe -t1  -h 192.168.1.100:12345 -lf<\/pre>\n<\/li>\n<\/ul>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">To launch another instance of the TrueConf Room application, connect to TrueConf Server using its domain name and display the application main screen on an additional monitor, run the following command:\n<pre class=\"wrap:true lang:default decode:true\">TrueConfRoom.exe -t1 -h video.company.com -lf -monitor 2<\/pre>\n<\/li>\n<\/ul>\n<h2 id=\"how-to-use-parameters\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">How to Use Parameters at Launch<\/h2>\n<h3 id=\"windows\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">On Windows<\/h3>\n<h4 id=\"windows-cli\" class=\"h6--main h6--thick black-text ui-mb-xs-3 ui-mt-md-1\">Using the command line<\/h4>\n<p class=\"primary-medium-text ui-mb-sm-1\">By default, the TrueConf application is not added to the <code>Path<\/code> environment variable. Therefore, to launch it via the command line, you must always use the full path to the executable file:<br \/>\n<b>`C:\\Program Files\\TrueConf\\Client\\TrueConf.exe<\/code>.<\/b><br \/>\nFor convenience, you can add the application&#8217;s folder to the <code>Path.<\/code> Run the following command as an administrator:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">setx PATH \"%PATH%;C:\\Program Files\\TrueConf\\Client\"<\/pre>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/dfgegergdfg.png\" data-rel=\"lightbox-gallery-iuR4lTJg\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/dfgegergdfg.png\" alt=\"\" width=\"535\" height=\"170\" class=\"aligncenter size-full wp-image-42172\" loading=\"lazy\" title=\"\"><\/a><\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">After executing the command, restart your OS. Now you can launch the application through the command line:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">TrueConf.exe -t 2 -h 10.110.2.123 -l danilov -p p@ssword123 -e<\/pre>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/fhtbthhrgbt.png\" data-rel=\"lightbox-gallery-iuR4lTJg\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/fhtbthhrgbt.png\" alt=\"\" width=\"642\" height=\"145\" class=\"aligncenter size-full wp-image-42173\" loading=\"lazy\" title=\"\"><\/a><\/p>\n<h4 id=\"windows-app-shortcut\" class=\"h6--main h6--thick black-text ui-mb-xs-3 ui-mt-md-1\">Using the Application Shortcut<\/h4>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--num\">Locate the TrueConf client shortcut on your desktop or taskbar.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">Right-click the shortcut and select <b>Properties<\/b>.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">Add the startup parameters in the Target field after the quotation marks enclosing the file name, for example, <code>-t 2 -h 10.110.2.123 -l danilov -p p@ssword123 -e`:<\/li>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image7-1.png\" data-rel=\"lightbox-gallery-iuR4lTJg\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image7-1-312x470.png\" alt=\"\" width=\"312\" height=\"470\" class=\"aligncenter size-medium wp-image-42175\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image7-1-312x470.png 312w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image7-1.png 359w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/a><\/p>\n<li class=\"ui-list__item ui-list__item--num\">Click <b>OK<\/b> to save the changes.<\/li>\n<\/ul>\n<h3 id=\"linux\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">On Linux<\/h3>\n<h4 id=\"linux-terminal\" class=\"h6--main h6--thick black-text ui-mb-xs-3 ui-mt-md-1\">Using the terminal<\/h4>\n<p class=\"primary-medium-text ui-mb-sm-1\">To launch the TrueConf application with parameters on Linux, you can use the terminal.<br \/>\nFirst, you need to determine the necessary parameters and select them from the table. After that, just enter the command into the terminal and press Enter. The following command is provided as an example:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">trueconf -t 2 -h 10.110.2.123 -l danilov -p p@ssword123 -e<\/pre>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image1-1.png\" data-rel=\"lightbox-gallery-iuR4lTJg\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image1-1-690x96.png\" alt=\"\" width=\"690\" height=\"96\" class=\"aligncenter size-medium wp-image-42168\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image1-1-690x96.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image1-1.png 757w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<h4 id=\"linux-sh-script\" class=\"h6--main h6--thick black-text ui-mb-xs-3 ui-mt-md-1\">Using a .sh script<\/h4>\n<p class=\"primary-medium-text ui-mb-sm-1\">To avoid typing the command repeatedly, you can automate the launch using a script.<\/p>\n<p>For convenience, it is recommended to do this in a separate folder, such as <code>tcscripts<\/code>. To create the folder, execute the command:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">mkdir \/home\/$USER\/tcscripts<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">Navigate to the directory and create a script using the command:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">printf '#!\/bin\/bash\\ntrueconf -t 2 -h 10.110.1.123 -l danilov -p p@ssword123 -e' > script.sh,<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">where:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\"><code>printf<\/code> \u2014 command for text processing;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>#!\/bin\/bash<\/code> \u2014 indicates the command execution environment;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>\\n<\/code> \u2014 newline character;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>trueconf<\/code> \u2014 command to launch the TrueConf application;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>-t 2<\/code> \u2014 parameter to create a new application instance with ID 2;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>-h 10.110.1.123<\/code> \u2014 parameter specifying the IP address of the server to connect to;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>-l danilov<\/code> \u2014 parameter specifying the login for authorization;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>-p p@ssword123<\/code> \u2014 parameter specifying the password for authorization;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>-e<\/code> \u2014 mandatory parameter when used with <code>-l<\/code> and <code>-p<\/code>;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>><\/code> \u2014 operator for redirecting output to the specified file;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>script.sh<\/code> \u2014 name of the script file.<\/li>\n<\/ul>\n<p class=\"primary-medium-text ui-mb-sm-1\">Next, make the script executable:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">sudo chmod +x script.sh<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">The script is now ready. You can execute it from the terminal with:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">.\/script.sh<\/pre>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image4.png\" data-rel=\"lightbox-gallery-iuR4lTJg\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image4-690x96.png\" alt=\"\" width=\"690\" height=\"96\" class=\"aligncenter size-medium wp-image-42167\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image4-690x96.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image4.png 757w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<h3 id=\"macos\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">On macOS<\/h3>\n<h4 id=\"macos-terminal\" class=\"h6--main h6--thick black-text ui-mb-xs-3 ui-mt-md-1\">Using the terminal<\/h4>\n<p class=\"primary-medium-text ui-mb-sm-1\">By default, the TrueConf application is not available for launch through the terminal. To avoid memorizing the path to the executable file, we will add an alias (symbolic link) to the standard directory \/usr\/local\/bin:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">sudo ln -s '\/Applications\/TrueConf Client.app\/Contents\/MacOS\/TrueConf Client' \/usr\/local\/bin\/trueconf<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">You can now launch the application with parameters directly:<\/p>\n<pre class=\"wrap:true lang:default decode:true \">trueconf -t 1 -h 10.110.2.240 -l danilov -p p@ssword123<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">Using this method requires the terminal window to remain open while the application is running.<\/p>\n<h4 id=\"macos-shortcuts\" class=\"h6--main h6--thick black-text ui-mb-xs-3 ui-mt-md-1\">Using Quick Command (Shortcuts)<\/h4>\n<p class=\"primary-medium-text ui-mb-sm-1\">You have likely encountered the <b>Shortcuts<\/b> application when using the Apple ecosystem. If not, here is a user guide.<\/p>\n<p>We have prepared a basic command for you to launch a separate instance of the TrueConf application, which can be added to your menu bar for quick access:<\/p>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image9.png\" data-rel=\"lightbox-gallery-iuR4lTJg\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image9-690x153.png\" alt=\"\" width=\"690\" height=\"153\" class=\"aligncenter size-medium wp-image-42166\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image9-690x153.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image9-768x171.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image9.png 792w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">Through the <b>Shortcuts<\/b> application, you can customize it to your needs:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">add new parameters;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">hardcode the executable command so that the application opens immediately when the shortcut is launched without requesting additional parameters;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">add your business logic.<\/li>\n<\/li>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image10.png\" data-rel=\"lightbox-gallery-iuR4lTJg\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2023\/10\/image10-690x448.png\" alt=\"\" width=\"690\" height=\"448\" class=\"aligncenter size-medium wp-image-42164\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image10-690x448.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image10-1024x664.png 1024w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image10-768x498.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image10-1536x997.png 1536w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2023\/10\/image10.png 1999w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TrueConf client applications for desktops (Windows, macOS, Linux) and TrueConf Room PC-based room software can be launched\u00a0 using command line parameters. In this case, upon opening the application users automatically can: Log in Connect to the right server Launch applications in the selected mode (full screen or minimized) Call users or join video conferences Launch [&hellip;]<\/p>\n","protected":false},"author":45,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[260],"tags":[246,275],"class_list":["post-10192","post","type-post","status-publish","format-standard","hentry","category-knowledge-base","tag-api-and-sdk","tag-conference-management","wpautop"],"_links":{"self":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/10192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/comments?post=10192"}],"version-history":[{"count":65,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/10192\/revisions"}],"predecessor-version":[{"id":42178,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/10192\/revisions\/42178"}],"wp:attachment":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/media?parent=10192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/categories?post=10192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/tags?post=10192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}