It is currently September 18th, 2024, 1:33 pm

Clickable Notes Help

Get help with installing and using Rainmeter.
Watlovesmushroom
Posts: 1
Joined: December 10th, 2011, 2:32 am

Clickable Notes Help

Post by Watlovesmushroom »

Hi!

I am completely unskilled at using rainmeter.

I was wondering if someone can teach me.

How to make a list of notes clickable and can be linked to folders?

Like the notes in Gnometer. I want them to be highlightable and when you click them they go to a folder. Does anyone know how to do that?

Any help would be greatly appreciated.

Thank you
M.M.
Posts: 7
Joined: December 6th, 2011, 2:02 am

Re: Clickable Notes Help

Post by M.M. »

Watlovesmushroom wrote:Hi!

I am completely unskilled at using rainmeter.

I was wondering if someone can teach me.

How to make a list of notes clickable and can be linked to folders?

Like the notes in Gnometer. I want them to be highlightable and when you click them they go to a folder. Does anyone know how to do that?

Any help would be greatly appreciated.

Thank you
Well, I've never used Gnometer, nor have I bothered to try to make text highlightable, but I can help with the bit about linking text to folders.
Since you said that you're "completely unskilled at using Rainmeter", I'll first direct you to Rainmeter 101.
Once you understand the basics of how a skin works, open the skin you'd like to edit.
Find the meter of the text you'd like to link, for example:

Code: Select all

[meterProgramFiles]
Meter=STRING
MeterStyle=styleLeftText
X=...
Y=...
W=...
H=...
Text="Click here to open your Program Files."
Right now, our code just displays some text.
To turn that into a link, we need to add an action.
In our case, that would be

Code: Select all

LeftMouseDownAction=!Execute ["C:\Program Files"]
Some explanation:
LeftMouseDownAction= is pretty self-explanatory. It's the action that we want to perform when the left mouse button is pressed down over the text. There are other actions, which you can read more about here.
!Execute is a bang. I'd suggest that you read more about bangs here. !Execute is a special bang in that it can open files and folders.
["C:\Program Files"] is the path to the folder that we want to open, and we put it in [square brackets]. We're encasing the path in "quotes" because there's a space in it, which (without quotes) would end the path.

So, your meter should look something like

Code: Select all

[meterProgramFiles]
Meter=STRING
MeterStyle=styleLeftText
X=...
Y=...
W=...
H=...
Text="Click here to open your Program Files."
LeftMouseDownAction=!Execute ["C:\Program Files"]
If you need to open a normal folder, then that's it. You're done.
But what if we want to open one of Windows' special folders? Maybe My Computer, or the Recycle Bin? Those don't have normal paths.
What you can do, instead of using a path to the folder, is to use a shell: command.
For example, to open the Recycle Bin you would do

Code: Select all

LeftMouseDownAction=!Execute ["shell:RecycleBinFolder"]
You can see more shell commands here.

I hope this helped.

~M.M.