Full Version: Desktop Notes
Dream.In.Code > Programming Tutorials > Windows Tutorials
biggles2008
Hi again.

Today i will be showing you how to have a notepad embedded on your desktop.

YOU WILL NEED:
Notepad (Ironically)
Right Click smile.gif
A Computer would make it easier.

This Desktop Notepad is basically HTML using the <Form> tag.

Okay lets begin:

1)Open Notepad: Start>All Programs>Accessories>Notepad.
Click to view attachment

Now here is the most imporant part, getting the code right:

CODE
<body bgcolor="#000000">
<center><form method="post" action="">
<textarea name="comments" cols="100" rows="35">

</textarea>
</form>
</center>
</body>


Lets disect it:
CODE
<body bgcolor="#000000">
Is basically the background colour of your desktop not the notepad.

CODE
<center>  </center>
aligns your text area in the center.

CODE
<form method="post" action="">
<textarea name="comments" cols="100" rows="35">

</textarea>
</form>
Is the text area. You can change the size of your text area on your desktop by changing the "Cols=" and the "Rows=" Colums the width and Rows the height.

Save the code as: <whatevername.html> e.g notepad.html
Click to view attachment

Now the last section, embedding it. (Not as hard as it sounds)

Go to your desktop>Right Click>Properties>Desktop(tab)>Browse> And locate the HTML file> Apply

Click to view attachment

Edit to your needs (size wise)

Thanks for reading.
gbertoli3
Nice Post but...

This only works on Windows XP and anything lower, not Windows Vista.

Still nice post.
biggles2008
Thank You, Sorry i did not state that not Vista Compatible:

Lesson 2: Dont Get Vista happy.gif
rampart
Nice!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.