<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ultraedit.com/index.php?action=history&amp;feed=atom&amp;title=Create_and_edit_scripts</id>
		<title>Create and edit scripts - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ultraedit.com/index.php?action=history&amp;feed=atom&amp;title=Create_and_edit_scripts"/>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Create_and_edit_scripts&amp;action=history"/>
		<updated>2026-06-17T14:47:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://wiki.ultraedit.com/index.php?title=Create_and_edit_scripts&amp;diff=834&amp;oldid=prev</id>
		<title>Idmadmin at 15:28, 5 January 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Create_and_edit_scripts&amp;diff=834&amp;oldid=prev"/>
				<updated>2018-01-05T15:28:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 15:28, 5 January 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;﻿[[Category:Advanced tab]][[File:UltraEdit script.png|right|thumb|alt=screenshot of script file open in UltraEdit|Example of script open for editing in UltraEdit]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;﻿[[Category:Advanced tab]][[File:UltraEdit script.png|right|thumb|alt=screenshot of script file open in UltraEdit|Example of script open for editing in UltraEdit]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Scripting in UltraEdit / UEStudio is enabled through embedding of the JavaScript engine.&amp;#160; This allows you to access the power and flexibility of the full JavaScript language while using unique UltraEdit [scripting commands] to specifically interact with the editor and open files.&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Scripting in UltraEdit / UEStudio is enabled through embedding of the JavaScript engine.&amp;#160; This allows you to access the power and flexibility of the full JavaScript language while using unique UltraEdit [&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[Scripting reference|&lt;/ins&gt;scripting commands&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;] to specifically interact with the editor and open files.&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Creating a script in UltraEdit is as simple as creating a new file, writing the code for the script, and saving it with a .js file extension. To see documentation on all available scripting commands and techniques, see the [[Scripting reference]] topic. There are also many [https://www.ultraedit.com/downloads/extras/macros-scripts.html#scripts scripts available for download] from the main UltraEdit website. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Creating a script in UltraEdit is as simple as creating a new file, writing the code for the script, and saving it with a .js file extension. To see documentation on all available scripting commands and techniques, see the [[Scripting reference]] topic. There are also many [https://www.ultraedit.com/downloads/extras/macros-scripts.html#scripts scripts available for download] from the main UltraEdit website. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Idmadmin</name></author>	</entry>

	<entry>
		<id>https://wiki.ultraedit.com/index.php?title=Create_and_edit_scripts&amp;diff=833&amp;oldid=prev</id>
		<title>Idmadmin: Created page with &quot;﻿Category:Advanced tabExample of script open for editing in UltraEdit  Scriptin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ultraedit.com/index.php?title=Create_and_edit_scripts&amp;diff=833&amp;oldid=prev"/>
				<updated>2018-01-05T15:27:47Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;﻿&lt;a href=&quot;/Category:Advanced_tab&quot; title=&quot;Category:Advanced tab&quot;&gt;Category:Advanced tab&lt;/a&gt;&lt;a href=&quot;/File:UltraEdit_script.png&quot; title=&quot;File:UltraEdit script.png&quot;&gt;right|thumb|alt=screenshot of script file open in UltraEdit|Example of script open for editing in UltraEdit&lt;/a&gt;  Scriptin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;﻿[[Category:Advanced tab]][[File:UltraEdit script.png|right|thumb|alt=screenshot of script file open in UltraEdit|Example of script open for editing in UltraEdit]]&lt;br /&gt;
&lt;br /&gt;
Scripting in UltraEdit / UEStudio is enabled through embedding of the JavaScript engine.  This allows you to access the power and flexibility of the full JavaScript language while using unique UltraEdit [scripting commands] to specifically interact with the editor and open files.  &lt;br /&gt;
&lt;br /&gt;
Creating a script in UltraEdit is as simple as creating a new file, writing the code for the script, and saving it with a .js file extension. To see documentation on all available scripting commands and techniques, see the [[Scripting reference]] topic. There are also many [https://www.ultraedit.com/downloads/extras/macros-scripts.html#scripts scripts available for download] from the main UltraEdit website. &lt;br /&gt;
&lt;br /&gt;
Because scripts are based upon JavaScript syntax and use the .js file extension, UltraEdit / UEStudio syntax highlight these files with special highlighting support for the scripting commands unique to UltraEdit / UEStudio.&lt;br /&gt;
&lt;br /&gt;
You can run a script that hasn&amp;#039;t yet been added to the list of scripts by clicking the &amp;#039;&amp;#039;&amp;#039;Play script&amp;#039;&amp;#039;&amp;#039; icon (not opening the dropdown sub-menu) in the  [[:Category:Advanced tab|Advanced tab]] while the script is the active file. Clicking &amp;#039;&amp;#039;&amp;#039;Play script&amp;#039;&amp;#039;&amp;#039; will run the active file as a script and write any error our output information to the [[output window]]. This provides a convenient way for testing and troubleshooting scripts as you are composing them.&lt;br /&gt;
&lt;br /&gt;
Once your script is complete, you can add it in the [[Scripts]] window. There, you can assign the script a hotkey or chord, and once it has been added to UltraEdit as a script, you can play it via one of several ways:&lt;br /&gt;
&lt;br /&gt;
* By double-clicking it in the [[Script list]] window &lt;br /&gt;
* By clicking it in the &amp;#039;&amp;#039;&amp;#039;Play script&amp;#039;&amp;#039;&amp;#039; dropdown sub-menu&lt;br /&gt;
* By pressing its assigned hotkey&lt;br /&gt;
* By adding it to the ribbon / toolbar (v25 and later)&lt;br /&gt;
&lt;br /&gt;
You can edit a script via one of several ways:&lt;br /&gt;
&lt;br /&gt;
* By opening the .js script file directly via the [[File open]] dialog&lt;br /&gt;
* By selecting &amp;quot;Edit script&amp;quot; from the [[Script list]] context menu&lt;br /&gt;
* By clicking the &amp;#039;&amp;#039;&amp;#039;Edit&amp;#039;&amp;#039;&amp;#039; button in the [[Scripts]] window&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;idm-see-also&amp;quot;&amp;gt;&lt;br /&gt;
See also: &lt;br /&gt;
* [[Scripting reference]]&lt;br /&gt;
* [[Scripts]]&lt;br /&gt;
* [[Script list]]&lt;br /&gt;
* [[Settings:Scripting|Settings &amp;amp;raquo; Scripting]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Idmadmin</name></author>	</entry>

	</feed>