It is currently December 14th, 2018, 8:30 pm

Notepad++: Snippets for Rainmeter

Share your custom plugins and applications to enhance Rainmeter.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3053
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Notepad++: Snippets for Rainmeter

eclectic-tech » January 28th, 2016, 12:42 pm

Active Colors wrote:Sorry, but it seems I can't to install your snippets properly. Whenever I try to open Snippets in Notepad++ it throws me a message saying "Unable to find the database, check your installation!" and Snippets can't be loaded.

Could you describe the way you install snippets?
The 'Spoiler" section of the first post describes this.
Let me know if this still doesn't work for you.

I am using Snippets v1.2 (installed through Notepad++ Plugin Manager)
Notepad++ v6.8.8
User avatar
jsmorley
Developer
Posts: 18494
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Notepad++: Snippets for Rainmeter

jsmorley » January 28th, 2016, 12:45 pm

Active Colors wrote:Sorry, but it seems I can't to install your snippets properly. Whenever I try to open Snippets in Notepad++ it throws me a message saying "Unable to find the database, check your installation!" and Snippets can't be loaded.

Could you describe the way you install snippets?
Download the .zip file from the first post here, and unzip it somewhere. You will have a file "NppSnippets.sqlite", which is a MySQL database file.

Start Notepad++

Use the Plugins / Snippets menu select from the Notepad++ toolbar, to load the snippets panel on the right of the interface.
1.jpg
If you have any existing Rainmeter snippet library already installed, DELETE IT FIRST. Simply right-click the snippet header in the snippet panel and say "Delete library".
2.jpg
Right click the snippet header again, and say "Import library"
3.jpg
Find that "NppSnippets.sqlite" file in the "Open" dialog, and select it. Use the pull-down to first find "Rainmeter Templates" and select that to import it.
4.jpg
Again, right click the snippet header again, and say "Import library"

Find that "NppSnippets.sqlite" file in the "Open" dialog, and select it. Use the pull-down to first fine "Rainmeter Action Bangs" and select that to import it.
5.jpg
You can select which of the two Rainmeter snippet libraries you want to use with the snippet header pull-down.
6.jpg
You can close and open the snippet panel from the Plugins / Snippets toolbar item.
You do not have the required permissions to view the files attached to this post.
User avatar
Active Colors
Moderator
Posts: 498
Joined: February 16th, 2012, 3:32 am

Re: Notepad++: Snippets for Rainmeter

Active Colors » January 28th, 2016, 9:45 pm

As I told before the Snippets panel is not appearing. Whenever I try to open it it shows me an error as described in my previous post.
User avatar
jsmorley
Developer
Posts: 18494
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Notepad++: Snippets for Rainmeter

jsmorley » January 28th, 2016, 10:42 pm

Active Colors wrote:As I told before the Snippets panel is not appearing. Whenever I try to open it it shows me an error as described in my previous post.
I think you might want to open the Plugin Manager, and "reinstall" the core "snippets" plugin.
1.jpg
Or maybe "Remove" it and then "Install" it fresh.

Then use eclectic-tech's .zip to import the Rainmeter stuff.
You do not have the required permissions to view the files attached to this post.
User avatar
Active Colors
Moderator
Posts: 498
Joined: February 16th, 2012, 3:32 am

Re: Notepad++: Snippets for Rainmeter

Active Colors » January 31st, 2016, 12:23 pm

jsmorley, Snippets finally work after installing it from plugin manager. Before I was downloading it from author's page (which is newer version than in the plugin manager). Thank you.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3053
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Notepad++: Snippets for Rainmeter

eclectic-tech » January 31st, 2016, 12:34 pm

Active Colors wrote:jsmorley, Snippets finally work after installing it from plugin manager. Before I was downloading it from author's page (which is newer version than in the plugin manager). Thank you.
I have used both versions of Snippets, V1.2 & V1.3, and both work.

The installation has to be done manually, if you download the newer version from the website.

There is no real advantage in using the newer version, so installing through Notepad++'s Plugin Manager is the recommended method to get started.

Glad to hear you got it working.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3053
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Notepad++: Snippets for Rainmeter

eclectic-tech » December 9th, 2016, 11:17 pm

Updated the snippet libraries in the first post to include the new Shape meters and InputText options.

Download the zip, expand it, and import the updated 'Rainmeter Templates' library.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3053
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Notepad++: Snippets for Rainmeter

eclectic-tech » August 29th, 2017, 8:37 pm

Updated Snippet Library

String meter includes FontWeight.
TransformationMatrix parameter description corrected (skew x & skew Y were reversed).

Link in first post contains updated Snippet Libraries. :welcome:
User avatar
dvo
Posts: 538
Joined: February 7th, 2016, 6:08 am

Re: Notepad++: Snippets for Rainmeter

dvo » August 30th, 2017, 10:34 am

plugin has no 64bit.dll any more in dropbox .... so doesn't work for me .... :D
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3053
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Notepad++: Snippets for Rainmeter

eclectic-tech » August 31st, 2017, 2:37 pm

dvo wrote:plugin has no 64bit.dll any more in dropbox .... so doesn't work for me .... :D
I informed the author about this in April. He has been busy with life and was going to look into alternate distribution methods. I replied to your PM with more info.

I am using the 32-bit version of Notepad++ and version 1.3 of Snippets on my 64-bit system. :)

EDIT: If you use the Plugin Manager in Notepad++, you can install the latest version (1.4) of Snippets, which includes the 64-bit library. BTW, using Notepad++'s Plugin Manager is the preferred way to add/remove plugins in Notepad++. :D
pluginmgr.png
You do not have the required permissions to view the files attached to this post.