{"id":405,"date":"2018-03-28T11:26:40","date_gmt":"2018-03-28T04:26:40","guid":{"rendered":"http:\/\/www.texteditor.pro\/support\/?page_id=405"},"modified":"2025-04-21T19:02:47","modified_gmt":"2025-04-21T17:02:47","slug":"application-params","status":"publish","type":"page","link":"https:\/\/www.texteditor.pro\/support\/application-params\/","title":{"rendered":"Application params"},"content":{"rendered":"<p>Syntax: <em>TextEditorPro.exe [filename] [-appinipath] [-noini] [-noskin] [-mi] [-inifilename={name}] [-inipath={path}] [-addfont=\u2018{filename}\u2019]<br \/>\n<\/em><\/p>\n<table frame=\"hsides\" rules=\"rows\" border=\"1\">\n<tbody>\n<tr>\n<th style=\"text-align: left; width: 250px;\"><b>Param<\/b><\/th>\n<th style=\"text-align: left;\"><b>Description<\/b><\/th>\n<\/tr>\n<tr valign=\"top\">\n<td>-appinipath or -a<\/td>\n<td>INI files are saved into application path instead of user application data path (e.g. C:\\Users\\&lt;user&gt;\\AppData\\Local\\TextEditorPro).<\/p>\n<p><strong>Note!<\/strong> Since version 19.3.0, if TextEditorPro.ini is in the application path, the -appinipath parameter is not required.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-noini or -ni<\/td>\n<td>INI files are not read or written.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-noskin or -ns<\/td>\n<td>Disable skin-engine.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-inifilename={name} or -if={name}<\/td>\n<td>INI files are saved using a name instead of application name (e.g. -inifilename=TextEditorPro64).<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-inipath={path} or -ip={path}<\/td>\n<td>INI files are saved into a defined path.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-addfont=\u2018{filename}\u2019 or -af='{filename}&#8217;<\/td>\n<td>Add true type fonts without installing them (e.g. -addfont=\u2018c:\\fonts\\font.ttf\u2019). Several fonts can be added in the same way.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-mi or -m<\/td>\n<td>Allow multiple instances.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-search={text} or -s={text}<\/td>\n<td>Search from file.<\/td>\n<\/tr>\n<\/tr>\n<tr valign=\"top\">\n<td>-combine or -c<\/td>\n<td>TextEditorPro.exe -c destination.txt source1.txt source2.txt source3.txt&#8230;<br \/>\n<b>Note!<\/b> The encoding of the new file comes from the first combined file. There must be at least two files to combine.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Run application commands<\/h2>\n<table frame=\"hsides\" rules=\"rows\" border=\"1\">\n<tbody>\n<tr>\n<th style=\"text-align: left; width: 250px;\"><b>Param<\/b><\/th>\n<th style=\"text-align: left;\"><b>Description<\/b><\/th>\n<\/tr>\n<tr valign=\"top\">\n<td>-runcommand or -rc<\/td>\n<td>TextEditorPro.exe -rc &lt;command&gt;<br \/>\nRun application command.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-runcommandfile or -rcf<\/td>\n<td>TextEditorPro.exe -rcf &#8220;&lt;filename&gt;&#8221;<br \/>\nRun application commands from file.<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>-showcommandlist or -scl<\/td>\n<td>TextEditorPro.exe -scl<br \/>\nShow the list of all commands.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><b>Note!<\/b> Command file can also be run from the application &#8211; Tools > Run command file <b>or<\/b> from the file pop-up menu.<\/p>\n<h3>Example<\/h3>\n<pre># Hello, World! \n\nFileNew\nInsertText(\"Hello, World!\")\n\/\/ Sleep(1000);\nFileSaveAs(\"C:\\Temp\\Hello.txt\")\nFileClose<\/pre>\n<p>All lines that do not start with the character are skipped.<\/p>\n<p>If you need to slow down the execution to see what happens, use the Sleep(&lt;milliseconds&gt;) command.<\/p>\n<p><b>Note!<\/b> This is an early version and bugs may occur. Changes are expected in the next versions as automatic tests progress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Syntax: TextEditorPro.exe [filename] [-appinipath] [-noini] [-noskin] [-mi] [-inifilename={name}] [-inipath={path}] [-addfont=\u2018{filename}\u2019] Param Description -appinipath or -a INI files are saved into&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-405","page","type-page","status-publish","hentry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.texteditor.pro\/support\/wp-json\/wp\/v2\/pages\/405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.texteditor.pro\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.texteditor.pro\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.texteditor.pro\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.texteditor.pro\/support\/wp-json\/wp\/v2\/comments?post=405"}],"version-history":[{"count":38,"href":"https:\/\/www.texteditor.pro\/support\/wp-json\/wp\/v2\/pages\/405\/revisions"}],"predecessor-version":[{"id":1206,"href":"https:\/\/www.texteditor.pro\/support\/wp-json\/wp\/v2\/pages\/405\/revisions\/1206"}],"wp:attachment":[{"href":"https:\/\/www.texteditor.pro\/support\/wp-json\/wp\/v2\/media?parent=405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}