{"id":3581,"date":"2019-03-25T17:44:59","date_gmt":"2019-03-25T20:44:59","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/"},"modified":"2020-10-16T14:48:41","modified_gmt":"2020-10-16T17:48:41","slug":"using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/","title":{"rendered":"Using the Viewer in Elipse E3: Chapter 7 &#8211; Command Shortcuts."},"content":{"rendered":"<div align=\"justify\">\n<p>The E3 Viewer can be accessed via command line as follows:<\/p>\n<p><span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0 Viewer [server_name] [options]<\/span><\/p>\n<p>The <span style=\"font-family: Courier New;\">server_name<\/span> argument stands for the name of the computer where the E3 Server is running. If this argument is not informed, a dialog box is displayed requesting the application&#8217;s server path.<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5280\/1.png\" alt=\"\" width=\"330\" height=\"296\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>The command line configuration options are:<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5280\/2.png\" alt=\"\" width=\"489\" height=\"784\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p><b><span style=\"color: #3366ff; font-size: large;\"><br \/>\nPARAMS option<\/span><\/b><\/p>\n<p>The values passed in this option can be retrieved via scripts by using the Viewer <i>Params <\/i>property.<\/p>\n<p>All values return as strings. For example, if the Viewer&#8217;s command line contains the following parameters<br \/>\n<span style=\"font-family: Courier New;\"><br \/>\nViewer -params Language=ENU<\/span><\/p>\n<p>You can use the following code to check the Viewer&#8217;s initialization language<\/p>\n<p><span style=\"font-family: Courier New;\">\u00a0Sub InitialScreen_OnStartRunning()<\/span><\/p>\n<p>if Application.Params(&#8220;Language&#8221;)=&#8221;ENU&#8221;<br \/>\nItem(&#8220;Text1&#8221;).Value = &#8220;English (USA)&#8221;<br \/>\nElse<br \/>\nItem(&#8220;Text1&#8221;).Value = &#8220;Unknown Lanaguage&#8221;<br \/>\nEnd if<\/p>\n<p>End Sub<\/p>\n<p>The key&#8217;s string doesn&#8217;t differentiate between lower and upper case (that is, &#8220;language&#8221; and &#8220;Language&#8221; are read the same way), but the return values (especially if used with a <i>Select <\/i>command) do.<\/p>\n<p><b><span style=\"color: #3366ff; font-size: large;\">E3 WebViewer<\/span><\/b><\/p>\n<p>When installing the E3 WebViewer, the <b>e3web.asp<\/b>, <b>e3web2.asp<\/b>, <b>docwrite.asp<\/b>, <b>docwrite2.asp<\/b>, and <b>e3downloader.cab<\/b> files are available to be configured by the user.<\/p>\n<p>You can change <b>docwrite2.asp<\/b>&#8216;s source-code to meet the desired settings by using the parameters below:<\/p>\n<table border=\"1\" width=\"100%\" cellspacing=\"2\" cellpadding=\"2\" align=\"justify\" bgcolor=\"\">\n<tbody>\n<tr>\n<td style=\"font-weight: bold;\">\u00a0Description<\/td>\n<td>\u00a0<span style=\"font-weight: bold;\">Param name<\/span><\/td>\n<td>\u00a0<span style=\"font-weight: bold;\">Value<\/span><\/td>\n<\/tr>\n<tr>\n<td>\u00a0Domain<\/td>\n<td>\u00a0Domain<\/td>\n<td>\u00a0Server name<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Initial Screen<\/td>\n<td>\u00a0Screen<\/td>\n<td>\u00a0Screen name<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Enable ping<\/td>\n<td>\u00a0Ping<\/td>\n<td>\u00a0True or False<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Cache directory<\/td>\n<td>\u00a0cachepath<\/td>\n<td>\u00a0Directory<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Other servers<\/td>\n<td>\u00a0useservers<\/td>\n<td>\u00a0True or False<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Viewer Only<\/td>\n<td>\u00a0StartReadOnly<\/td>\n<td>\u00a0True or False<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Parameters<\/td>\n<td>\u00a0Params<\/td>\n<td>\u00a0Param1=Value1 Param2=Value2 &#8230;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>Example:<\/p>\n<pre>var conteudo = \"< object classid='clsid:7EB4D157-FACC-45BB-9536-C14B9DCE3CA7'\"; conteudo += \" width='100%' height='100%'>\";\r\nvar domain = \"192.0.0.21\";\r\nconteudo += '< PARAM NAME=\"Domain\" VALUE=\" ' + domain + '\">';\r\nconteudo += '< PARAM NAME=\"Screen\" VALUE=\"\">';\r\nconteudo += '< PARAM NAME=\"CachePath\" VALUE=\"\">';\r\nconteudo += '< PARAM NAME=\"Ping\" VALUE=\"0\">';\r\nconteudo += '< PARAM NAME=\"StartReadOnly\" VALUE=\"FALSE\">';\r\nconteudo += '< PARAM NAME=\"Params\" VALUE=\"Param1=Valor1 Param2=Valor2 Param3=Valor3\">';\r\nconteudo += '< \/object>';\r\ndocument.write(conteudo);<\/pre>\n<p><b><span style=\"color: #3366ff; font-size: large;\">Exercises<\/span><\/b><\/p>\n<ol>\n<li>Create a Viewer shortcut connecting to the local server on a screen other than the initial one.<\/li>\n<li>Set up a Viewer shortcut that passes three different parameters. All these parameters must be on the initial page, in displays.<\/li>\n<li>Set up the <b>docwrite2.asp<\/b> file to make the application open on a specific screen on Viewer Only mode.<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The E3 Viewer can be accessed via command line as follows: \u00a0\u00a0\u00a0\u00a0 Viewer [server_name] [options] The server_name argument stands for the name of the computer where the E3 Server is&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[767],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using the Viewer in Elipse E3: Chapter 7 - Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.[:] - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.\" \/>\n<meta property=\"og:description\" content=\"The E3 Viewer can be accessed via command line as follows: \u00a0\u00a0\u00a0\u00a0 Viewer [server_name] [options] The server_name argument stands for the name of the computer where the E3 Server is&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:44:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-16T17:48:41+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5280\/1.png\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"Using the Viewer in Elipse E3: Chapter 7 &#8211; Command Shortcuts.\",\"datePublished\":\"2019-03-25T20:44:59+00:00\",\"dateModified\":\"2020-10-16T17:48:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/\"},\"wordCount\":667,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Viewer\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/\",\"name\":\"[:pt]Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.[:en]Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:44:59+00:00\",\"dateModified\":\"2020-10-16T17:48:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using the Viewer in Elipse E3: Chapter 7 &#8211; Command Shortcuts.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using the Viewer in Elipse E3: Chapter 7 - Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.[:] - Elipse Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.[:en]Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.[:] - Elipse Knowledgebase","og_description":"The E3 Viewer can be accessed via command line as follows: \u00a0\u00a0\u00a0\u00a0 Viewer [server_name] [options] The server_name argument stands for the name of the computer where the E3 Server is&hellip;","og_url":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:44:59+00:00","article_modified_time":"2020-10-16T17:48:41+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5280\/1.png"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"Using the Viewer in Elipse E3: Chapter 7 &#8211; Command Shortcuts.","datePublished":"2019-03-25T20:44:59+00:00","dateModified":"2020-10-16T17:48:41+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/"},"wordCount":667,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Viewer"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/","url":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/","name":"[:pt]Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.[:en]Using the Viewer in Elipse E3: Chapter 7 - Command Shortcuts.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:44:59+00:00","dateModified":"2020-10-16T17:48:41+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-7-command-shortcuts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Using the Viewer in Elipse E3: Chapter 7 &#8211; Command Shortcuts."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3581"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=3581"}],"version-history":[{"count":2,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3581\/revisions"}],"predecessor-version":[{"id":11760,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3581\/revisions\/11760"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=3581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=3581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=3581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}