|
-
Jun 17th, 2011, 10:37 AM
#1
Thread Starter
PowerPoster
Right-Click-> New HTML5 document?
Yo,
Been doin mainly web dev for the past year and it occurs to me: Why can't I right-click on my desktop and have a New HTML document show up? Just an empty shell with all the markup.
So, does anyone know of a way to get that? Maybe someone wrote a cool utility for that...? Ideally the result would be a new HTML5 document.
Thanks!
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Jun 17th, 2011, 11:13 AM
#2
Re: Right-Click-> New HTML5 document?
You could just create a template file for yourself: right-click on template file, copy, paste, rename it and start editing.
-
Jun 17th, 2011, 11:19 AM
#3
Thread Starter
PowerPoster
Re: Right-Click-> New HTML5 document?
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Jun 17th, 2011, 11:40 AM
#4
Re: Right-Click-> New HTML5 document?
 Originally Posted by Dave Sell
Where are they located?
if you read what he said:
 Originally Posted by SambaNeko
You could just create a template file for yourself: right-click on template file, copy, paste, rename it and start editing.
Then you'd know where it was, it'd be where you saved the template(s) when you create them.
-
Jun 17th, 2011, 12:41 PM
#5
Thread Starter
PowerPoster
Re: Right-Click-> New HTML5 document?
I neither created a template nor saved one. I thought he was referring to some files built into windows somewhere on the FS...
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Jun 17th, 2011, 01:06 PM
#6
Re: Right-Click-> New HTML5 document?
Nope, I meant to make a template file for yourself - you can customize it as much or as little as you want for your needs, then just keep it somewhere (on the desktop if you'd like) and make a duplicate copy when you start a new page.
-
Jun 17th, 2011, 01:07 PM
#7
Thread Starter
PowerPoster
Re: Right-Click-> New HTML5 document?
I guess I don't know what you mean by "Make a Temlate File" - you mean from MSWord? Or you mean just make the file once, then copy it later...
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Jun 17th, 2011, 02:07 PM
#8
Re: Right-Click-> New HTML5 document?
Create a text file, put the HTML you'd like to use as the starting point for future HTML files, and name it "template.htm." Place this file on your desktop, or in another convenient-to-you location. When you want to create a new HTML file, copy and paste this file, and then rename it.
A 'starting point' for an HTML 5 document could look like:
HTML Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="author" content="Your name?" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>Your title</title>
<link href="css/styles.css" type="text/css" rel="stylesheet" media="all" />
<link href="favicon.ico" rel="shortcut icon" />
</head>
<body>
<!-- Place content here -->
</body>
</html>
-
Jun 17th, 2011, 02:09 PM
#9
Re: Right-Click-> New HTML5 document?
 Originally Posted by Dave Sell
I guess I don't know what you mean by "Make a Temlate File" - you mean from MSWord? Or you mean just make the file once, then copy it later...
Well, just make a file that's a basic shell for what you'd need for an html5 file (make a template file), it looks like the basics aren't all that different for html5 as it has been for years:
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML5!</title>
<!--<link rel="stylesheet" href="css/main.css" type="text/css" />-->
</head>
<body id="index">
</body>
</html>
-
Jun 19th, 2011, 10:19 PM
#10
Re: Right-Click-> New HTML5 document?
Sounds like you want ShellNew in the Registry, to get a new item in the "New" context menu.
http://support.microsoft.com/kb/140333
-
Jun 19th, 2011, 10:23 PM
#11
Thread Starter
PowerPoster
Re: Right-Click-> New HTML5 document?
 Originally Posted by tr333
You sir, are awesome! I believe that is exactly what I am looking for; maybe I should have posted to a different forums... I will try this later this week and resolve it, thanks.
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Jun 20th, 2011, 01:01 AM
#12
Re: Right-Click-> New HTML5 document?
Glad that tr333 pointed that out; looks like you'll still need a template HTML file though, and I'd recommend using the markup that kows posted for that.
-
Jun 20th, 2011, 02:29 AM
#13
Re: Right-Click-> New HTML5 document?
 Originally Posted by SambaNeko
looks like you'll still need a template HTML file though, and I'd recommend using the markup that kows posted for that.
Yes. You put your template file into the ShellNew folder, and it will (after doing the appropriate registry configuration) allow you to right-click on the desktop and select "New->HTML5 File" as you currently would for a Text Document, etc.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|