<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Batch file open, select all, copy]]></title><description><![CDATA[<p dir="auto">I’ve put some batch files together using python that collects specific information from the file in a specific directory then creates a text file based on that information. It then opens that text file (just changed the software it opens it with from notepad to notepad++) so I can view the info. The next step, which I currently do manually, is to hit “select all” and “copy” so I can then paste the info to a couple other locations. I would like to automate the “select all” and “copy” parts of this process via the command line (I know it doesn’t seem like much, but by automating every possible step in the process I have cut significant time off finishing the processes as well as taken away issues caused by human error). I am brand new to Notepad++ so I am hoping someone can assist me with this project. Thank you so much.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18169/batch-file-open-select-all-copy</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 11:13:21 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18169.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Sep 2019 05:24:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Batch file open, select all, copy on Mon, 02 Sep 2019 00:00:28 GMT]]></title><description><![CDATA[<p dir="auto">Oops, I meant to put:</p>
<p dir="auto">INPUTBOX “$(FILE_NAME): Enter arguments or none to continue.”<br />
cd “$(CURRENT_DIRECTORY)”<br />
C:\Python37\python.exe “$(FILE_NAME)” $(INPUT)</p>
<p dir="auto">which gives you the option to give Python some command line arguments.</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/post/46731</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46731</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Mon, 02 Sep 2019 00:00:28 GMT</pubDate></item><item><title><![CDATA[Reply to Batch file open, select all, copy on Sun, 01 Sep 2019 23:47:40 GMT]]></title><description><![CDATA[<p dir="auto">Adam,</p>
<p dir="auto">Install NppExec -&gt; Open your Python script in Npp -&gt; Execute -&gt;</p>
<p dir="auto">cd “$(CURRENT_DIRECTORY)”<br />
C:\Python37\python.exe “$(FILE_NAME)”</p>
<p dir="auto">-&gt; Select the output in the NppExec console -&gt; Control C -&gt; Done</p>
<p dir="auto">You may need to change the path above to where your Python install is located. If you do a lot of this, you can save the script to reuse in NppExec and it will appear under the Macro menu.</p>
<p dir="auto">Happy Pythoning 🐍</p>
<p dir="auto">Steve</p>
]]></description><link>https://community.notepad-plus-plus.org/post/46730</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46730</guid><dc:creator><![CDATA[Steven Haymes]]></dc:creator><pubDate>Sun, 01 Sep 2019 23:47:40 GMT</pubDate></item><item><title><![CDATA[Reply to Batch file open, select all, copy on Sun, 01 Sep 2019 12:56:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adam-olp" aria-label="Profile: Adam-Olp">@<bdi>Adam-Olp</bdi></a></p>
<p dir="auto">I’d say forget the “via the command line” part.</p>
<p dir="auto">Record a 2-step macro to do ctrl+a and then ctrl+c?</p>
<p dir="auto">But I hardly think it worth it.  You seemed to agree in your post.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/46724</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46724</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 01 Sep 2019 12:56:48 GMT</pubDate></item><item><title><![CDATA[Reply to Batch file open, select all, copy on Sun, 01 Sep 2019 11:41:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adam-olp" aria-label="Profile: Adam-Olp">@<bdi>Adam-Olp</bdi></a></p>
<p dir="auto">what do you mean by <em>using python that collects specific information</em> ?<br />
You are using a local python installation or pythonscript plugin fro npp?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/46723</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46723</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 01 Sep 2019 11:41:24 GMT</pubDate></item></channel></rss>