<?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[last modified date in status bar?]]></title><description><![CDATA[<p dir="auto">is it possible to have last modified date in status bar?</p>
<p dir="auto">it’s nice to have as a feature and useful sometimes,<br />
can it be displayed somehow in npp (settings or plugin)?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15698/last-modified-date-in-status-bar</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 09:20:36 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15698.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 May 2018 08:40:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 25 Sep 2018 21:34:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/salviasage" aria-label="Profile: SalviaSage">@<bdi>SalviaSage</bdi></a></p>
<p dir="auto">Testing is always appreciated in case there are any bugs that show up.</p>
<p dir="auto">The plugin itself is mostly stable as far as the set of features it has, so theres no immediate plans to add new functionality but that doesn’t others may have ideas I’ve never thought of.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35091</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35091</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Tue, 25 Sep 2018 21:34:14 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 25 Sep 2018 00:01:43 GMT]]></title><description><![CDATA[<p dir="auto">Yea, those builds worked.</p>
<p dir="auto">It was my own fault, I copied an earlier .dll by accident which doesn’t have that feature. Your guess was right.</p>
<p dir="auto">Also, I am looking forward to the next release. Let me know if you need a tester or very simple code work, I would love to be of help  : )  : )</p>
<p dir="auto">See ya,</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35066</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35066</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Tue, 25 Sep 2018 00:01:43 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Mon, 24 Sep 2018 02:06:31 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">But, there isn’t a built .dll file for this</p>
</blockquote>
<p dir="auto">There are no official releases yet but there are some one Appveyor.</p>
<blockquote>
<p dir="auto">Can you please give me more instructions on how to build this or you can release a .dll of v0.7.1.23</p>
</blockquote>
<p dir="auto">Not really because I’m not sure what is causing those errors. There seems to be some configuration issues beyond anything LuaScript related because it is not finding platform toolsets or even “windows.h” header files. Also I’m not quite ready to create any official releases as there are still some problems I need to address before then.</p>
<blockquote>
<p dir="auto">Can you please update that area which deals with how to build LuaScript from source?</p>
</blockquote>
<p dir="auto">No because that is all that needs done assuming MSVC is configured correctly. The Appveyor script is simply calling <code>msbuild</code> and it compiles it.</p>
<hr />
<p dir="auto">So…did you try one of the releases above I suggested using? If so did they work for you?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35050</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35050</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Mon, 24 Sep 2018 02:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Mon, 24 Sep 2018 01:32:29 GMT]]></title><description><![CDATA[<p dir="auto">dail, I can see that the latest beta version of your plugin is v0.7.1.23</p>
<p dir="auto">But, there isn’t a built .dll file for this, so I downloaded the source and the MSVS told me that I don’t  have the xp v14.00 tools installed or something. So, I launched the MSVS installer and installed that under c++ tools. And then, when I tried to build it I got a whole bunch of errors.</p>
<p dir="auto">Here is a screenshot of the errors: <a href="https://i.imgur.com/FRGtDej.png" rel="nofollow ugc">https://i.imgur.com/FRGtDej.png</a></p>
<p dir="auto">So… Can you please give me more instructions on how to build this or you can release a .dll of v0.7.1.23</p>
<p dir="auto">Simply opening LuaScript.sln in MSVS and pressing f7 does not do anything like you say in your description page.<br />
Can you please update that area which deals with how to build LuaScript from source?</p>
<p dir="auto">Thanks man…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35049</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35049</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Mon, 24 Sep 2018 01:32:29 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Sun, 23 Sep 2018 18:10:10 GMT]]></title><description><![CDATA[<p dir="auto">My guess is that since it is reporting <code>winfile</code> as null then you do not have a version of LuaScript that supports this. The official v0.7.1 available via the plugin manager will not work. You have to grab one of the versions listed above.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35045</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35045</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Sun, 23 Sep 2018 18:10:10 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Sun, 23 Sep 2018 13:45:17 GMT]]></title><description><![CDATA[<p dir="auto">It does, but this particular code does not work for me as of this date. I fear windows OS might have changed something, since this script calls something from the OS.</p>
<pre><code>npp.AddEventHandler({"OnSave", "OnSwitchFile", "OnLangChange"}, function()
    -- Make sure it is a "real" file first
    if npp:GetCurrentDirectory() == "" then
        return
    end

    local text = npp.LanguageDescription[npp.BufferLangType[npp.CurrentBufferID]] .. " - " .. os.date('%d/%m/%Y %H:%M', winfile.attributes(npp:GetFullCurrentPath(), "modification"))
    npp.StatusBar[STATUSBAR_DOC_TYPE] = text
end)
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/35043</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35043</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Sun, 23 Sep 2018 13:45:17 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Sun, 23 Sep 2018 08:25:15 GMT]]></title><description><![CDATA[<p dir="auto">lua script implementation works fine with 7.5.8</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35042</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35042</guid><dc:creator><![CDATA[patrickdrd]]></dc:creator><pubDate>Sun, 23 Sep 2018 08:25:15 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Sun, 23 Sep 2018 00:26:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a></p>
<p dir="auto">Hi dail, I just tested your script today and it is not working anymore on notepad++ v7.5.8</p>
<p dir="auto">Can you please also check it and maybe we can come up with a fix.</p>
<pre><code>File:8: attempt to index a nil value (global 'winfile')
stack traceback:
    File:8: in function &lt;File:3&gt;
Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/35036</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35036</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Sun, 23 Sep 2018 00:26:32 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Thu, 17 May 2018 12:18:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/patrickdrd" aria-label="Profile: patrickdrd">@<bdi>patrickdrd</bdi></a></p>
<p dir="auto">The Lua I posted above simply askes the operating system (i.e. Windows) when the file was last modified. Even if the file isn’t being saved from Notepad++, it would appear something else is changing the file’s modification timestamp.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32304</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32304</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Thu, 17 May 2018 12:18:24 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Thu, 17 May 2018 08:25:02 GMT]]></title><description><![CDATA[<p dir="auto">I’m also using the lua script too, not the python one</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32302</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32302</guid><dc:creator><![CDATA[patrickdrd]]></dc:creator><pubDate>Thu, 17 May 2018 08:25:02 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Thu, 17 May 2018 05:37:24 GMT]]></title><description><![CDATA[<p dir="auto">yes, I checked in windows explorer, it should be easy to reproduce it yourself</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32301</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32301</guid><dc:creator><![CDATA[patrickdrd]]></dc:creator><pubDate>Thu, 17 May 2018 05:37:24 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Mon, 14 May 2018 15:34:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/patrickdrd" aria-label="Profile: patrickdrd">@<bdi>patrickdrd</bdi></a></p>
<p dir="auto">something is strange here - how can python get a modified timestamp if the file doesn’t exist at all??<br />
The autosave plugin could explain why you see the continuous update of the timestamp<br />
but only if there is a file which can be saved.<br />
Sorry, but, are you really sure that the file doesn’t exist?</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32244</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32244</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 14 May 2018 15:34:20 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Mon, 14 May 2018 14:37:53 GMT]]></title><description><![CDATA[<p dir="auto">I think I’ve found a bug:</p>
<p dir="auto">I had around 10 tabs opened in npp, and my work shift is close to the end so I decided to close npp, so I pressed the x in the top right corner to find out that:</p>
<p dir="auto">there was a file open which was attached to an email,<br />
it was opened as read-only originally,<br />
I clicked on edit -&gt; clear read-only and I edited it,<br />
I never saved it,</p>
<p dir="auto">the date on the bottom left corner is updated continuously/ every minute that passes (on the clock), even though I’m not saving it (I can see a star on the top left corner - the star that means that the file is not saved),<br />
I opened the containing folder and the file doesn’t exist there,<br />
I’m using autosave plugin to run every time focus is switched off<br />
from the current file as well</p>
<p dir="auto">edit: more likely its an autosave bug</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32241</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32241</guid><dc:creator><![CDATA[patrickdrd]]></dc:creator><pubDate>Mon, 14 May 2018 14:37:53 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 17:55:02 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. the code works.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32160</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32160</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Tue, 08 May 2018 17:55:02 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 16:43:53 GMT]]></title><description><![CDATA[<p dir="auto">Not sure. You can download a prelease though.</p>
<ul>
<li><a href="https://ci.appveyor.com/project/dail8859/luascript/build/0.7.1.17/job/y59mk73sah5pdhma/artifacts" rel="nofollow ugc">32 bit</a></li>
<li><a href="https://ci.appveyor.com/project/dail8859/luascript/build/0.7.1.17/job/o2l6ce1difme1ovf/artifacts" rel="nofollow ugc">64 bit</a></li>
</ul>
<p dir="auto">Just drop the DLL in with the other plugins. Edit the startup script with <code>Plugins &gt; LuaScript &gt; Edit startup script</code> and put the above code in there, save, and restart Notepad++.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32154</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32154</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Tue, 08 May 2018 16:43:53 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 16:34:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a><br />
Nice, I will be using your script then.<br />
When is the release of the next version of luascript?</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32153</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32153</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Tue, 08 May 2018 16:34:31 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 14:39:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">Ah. Thanks for clarifying.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32147</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32147</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Tue, 08 May 2018 14:39:34 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 14:38:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a></p>
<p dir="auto">unfortunately not, as python script hasn’t been updated with recent npp messages yet.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32146</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32146</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Tue, 08 May 2018 14:38:21 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 14:42:23 GMT]]></title><description><![CDATA[<p dir="auto">Using LuaScript I’ve been able to keep the doc type and display the file modification time. Should be easily translatable to PythonScript.</p>
<p dir="auto">Note this works with a yet-to-be released version of LuaScript</p>
<pre><code>npp.AddEventHandler({"OnSave", "OnSwitchFile", "OnLangChange"}, function()
	-- Make sure it is a "real" file first
	if npp:GetCurrentDirectory() == "" then
		return
	end

	local text = npp.LanguageDescription[npp.BufferLangType[npp.CurrentBufferID]] .. " - " .. os.date('%d/%m/%Y %H:%M', winfile.attributes(npp:GetFullCurrentPath(), "modification"))
	npp.StatusBar[STATUSBAR_DOC_TYPE] = text
end)
</code></pre>
<p dir="auto">Gives the results:</p>
<p dir="auto"><img src="https://camo.nodebb.org/0185bdc3855cbb630b12bdbf6fc699674b2d8f4c?url=https%3A%2F%2Fi.imgur.com%2FxpMgx7D.jpg" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/32145</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32145</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Tue, 08 May 2018 14:42:23 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 13:30:46 GMT]]></title><description><![CDATA[<p dir="auto">I don’t think you need the original contents, if we’re talking about the first tab,<br />
is DOCTYPE really that important for you?<br />
If so, why?<br />
I can’t think that’s important, that’s why I’m overwriting it</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32141</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32141</guid><dc:creator><![CDATA[patrickdrd]]></dc:creator><pubDate>Tue, 08 May 2018 13:30:46 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 12:55:31 GMT]]></title><description><![CDATA[<p dir="auto">I still can’t figure out how to add the timestamp and still keep the original contents of a statusbar section.</p>
<p dir="auto">Scott Sumner, I would appreciate it very much if you can fix this code and post it here. thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32136</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32136</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Tue, 08 May 2018 12:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Tue, 08 May 2018 05:17:39 GMT]]></title><description><![CDATA[<p dir="auto">from Npp import editor, notepad, SCINTILLANOTIFICATION, NOTIFICATION, STATUSBARSECTION<br />
import os<br />
from datetime import datetime</p>
<p dir="auto">def StatusbarSelOverride(args):<br />
modified_time = os.path.getmtime(notepad.getCurrentFilename())<br />
last_modified_date = datetime.fromtimestamp(modified_time)<br />
notepad.setStatusBar(STATUSBARSECTION.DOCTYPE, ‘Mod: {:%d/%m/%Y %H:%M}’.format(last_modified_date))</p>
<p dir="auto">editor.callback(StatusbarSelOverride, [SCINTILLANOTIFICATION.UPDATEUI])<br />
notepad.callback(StatusbarSelOverride, [NOTIFICATION.FILESAVED])<br />
notepad.callback(StatusbarSelOverride, [NOTIFICATION.READY])</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32116</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32116</guid><dc:creator><![CDATA[patrickdrd]]></dc:creator><pubDate>Tue, 08 May 2018 05:17:39 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Mon, 07 May 2018 21:21:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/patrickdrd" aria-label="Profile: patrickdrd">@<bdi>patrickdrd</bdi></a>, have you been able to get this working? I’ve been trying here from my end. I can’t get the last modified date to display on the statusbar. If you have been able to get this working, can you please post the code?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32108</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32108</guid><dc:creator><![CDATA[SalviaSage]]></dc:creator><pubDate>Mon, 07 May 2018 21:21:19 GMT</pubDate></item><item><title><![CDATA[Reply to last modified date in status bar? on Sun, 06 May 2018 15:27:58 GMT]]></title><description><![CDATA[<p dir="auto">yes, it works CF</p>
<p dir="auto">I tried BUFFERACTIVATED  but it didn’t work</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32090</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32090</guid><dc:creator><![CDATA[patrickdrd]]></dc:creator><pubDate>Sun, 06 May 2018 15:27:58 GMT</pubDate></item></channel></rss>