Blogs >> Technology >>
Run Script On Shutdown
I Found A way To Run The Script Or To Print A Message
Before Window Shutdown.So I Implement This Trick On My Programming.
This Application Can Allow You To Print Any Message
Before You Shutdown Or Log off Your Window.
Some People Forget To Charge There Wireless Mouse Or Keyboard After Shutting Down There System.
So This Application May Useful To Them.
*/
/* Use this with templates/template-threecol.html */
body {
-moz-background-inline-policy:continuous;
background:#ffffff;
border-top:10px solid #EEEEEE;
color:$textcolor;
font:small/20px georgia,verdana,arial;
margin:0;
text-align:center;
}
a:link {
color:$linkcolor;
text-decoration:none;
}
a:visited {
color:$visitedlinkcolor;
text-decoration:none;
}
a:hover {
border-bottom:1px dotted;
color:#444444;
text-decoration:none;
}
a img {
border-width:0;
}
#header-wrapper {
margin:20px auto 25px;
width:1060px;
}
#header-inner {
background-position:center center;
margin-left:auto;
margin-right:auto;
}
#header {
color:$pagetitlecolor;
margin:5px;
text-align:center;
}
#header h1 {
font:$pagetitlefont;
letter-spacing:-1px;
margin:5px 5px 0;
padding:15px 20px 6px;
text-transform:none;
}
#header a {
color:$pagetitlecolor;
text-decoration:none;
}
#header a:hover {
border:0 none;
color:#666666;
}
#header .description {
font: $descriptionfont;
color: $descriptioncolor;
letter-spacing:3px;
margin:0 5px 5px;
padding:0 20px 15px;
text-transform:none;
}
#header img {
margin-left:auto;
margin-right:auto;
}
#outer-wrapper {
font:$bodyfont;
margin:0 auto;
text-align:left;
width:1060px;
}
#main-wrapper {
border:1px solid #CCCCCC;
float:left;
margin-bottom:20px;
overflow:hidden;
padding-bottom:17px;
width:648px;
word-wrap:break-word;
}
#sidebar-wrapper {
float:right;
overflow:hidden;
padding:45px 10px 0 20px;
width:175px;
word-wrap:break-word;
}
h2 {
border-bottom:1px dotted #CCCCCC;
font:$headerfont;
color:$sidebarcolor;
letter-spacing:1px;
margin:1.5em 0 0.75em;
padding-left:15px;
padding-right:15px;
text-transform:none;
}
h2.date-header {
border:medium none navajoWhite;
color:#999999;
font-family:georgia;
font-size:14px;
letter-spacing:3px;
margin:0 0 -15px;
padding:0;
text-align:center;
text-transform:none;
}
.post {
font-size:1.15em;
line-height:165%;
margin-bottom:15px;
text-align:justify;
}
.post h3 {
color:$titlecolor;
font-family:georgia;
font-size:30px;
font-weight:normal;
line-height:1.4em;
margin:0 0 2px;
padding:0;
text-align:center;
}
.post h3 a, .post h3 a:visited, .post h3 strong {
color:$titlecolor;
display:block;
font-weight:normal;
text-decoration:none;
}
.post h3 strong, .post h3 a:hover {
border:medium none;
color:#333333;
padding:0 15px;
}
.post-body {
line-height:22px;
padding:0 15px;
}
.post-body blockquote {
color:#666666;
font-style:italic;
line-height:1.3em;
}
.post-footer {
-moz-background-inline-policy:continuous;
background:url("http://3.bp.blogspot.com/_u1lLXYtR-ow/SmRhd66x_VI/AAAAAAAABGg/bj7NUtlOJgY/s400/metadata-bg.png") no-repeat scroll center top transparent;
border-bottom:1px dotted #CCCCCC;
color:#999999;
font:$postfooterfont;
letter-spacing:0;
margin:0.75em 0;
padding:20px 15px 40px;
text-align:center;
text-transform:none;
}
.comment-link {
margin-left:0;
}
.post img {
border:0 none;
}
.post blockquote {
margin-bottom:1em;
margin-left:20px;
margin-right:20px;
}
.post blockquote p {
margin:0.75em 0;
}
.comment-author {
}
#comments h4 {
color:#666666;
font-size:14px;
font-weight:bold;
letter-spacing:0;
line-height:1.4em;
margin:1em 0;
text-transform:none;
}
#comments-block {
line-height:1.6em;
margin:1em 0 1.5em;
}
#comments-block .comment-author {
-moz-background-inline-policy:continuous;
background:none repeat scroll 0 0 #EEEEEE;
border:1px solid #EEEEEE;
font-size:15px;
font-style:italic;
font-weight:normal;
margin-right:20px;
padding:10px;
}
#comments .blogger-comment-icon, .blogger-comment-icon {
-moz-background-inline-policy:continuous;
background:none repeat scroll 0 0 #E8DEC4;
border-color:#E8DEC4;
border-style:solid;
border-width:2px 1px 1px;
line-height:16px;
padding:5px;
}
#comments-block .comment-body {
border-left:1px solid #EEEEEE;
border-right:1px solid #EEEEEE;
margin-left:0;
margin-right:20px;
padding:7px;
}
#comments-block .comment-footer {
border-bottom:1px solid #EEEEEE;
border-left:1px solid #EEEEEE;
border-right:1px solid #EEEEEE;
font-size:11px;
line-height:1.4em;
margin:-0.25em 20px 2em 0;
padding:5px;
text-transform:none;
}
#comments-block .comment-body p {
margin:0 0 0.75em;
}
.deleted-comment {
color:gray;
font-style:italic;
}
#blog-pager-newer-link {
float:left;
}
#blog-pager-newer-link a {
-moz-background-inline-policy:continuous;
background:none repeat scroll 0 0 #444444;
color:#FFFFFF;
float:left;
font-variant:small-caps;
padding:8px 10px;
}
#blog-pager-newer-link a:hover {
-moz-background-inline-policy:continuous;
background:none repeat scroll 0 0 #333333;
border:medium none;
}
#blog-pager-older-link {
float:right;
}
#blog-pager-older-link a {
-moz-background-inline-policy:continuous;
background:none repeat scroll 0 0 #444444;
color:#FFFFFF;
float:left;
font-variant:small-caps;
padding:8px 10px;
}
#blog-pager-older-link a:hover {
-moz-background-inline-policy:continuous;
background:none repeat scroll 0 0 #333333;
border:medium none;
}
#blog-pager {
text-align:center;
width:600px;
margin-left:20px;
}
.feed-links {
clear:both;
line-height:2.5em;
}
.sidebar {
color:$sidebartextcolor;
font-size:90%;
line-height:1.5em;
}
.sidebar2 {
color:#666666;
font-size:90%;
line-height:1.5em;
}
.sidebar ul {
list-style:none outside none;
margin:0;
padding:0;
}
.sidebar2 ul {
list-style:none outside none;
margin:0;
padding:0;
}
.sidebar li {
-moz-background-inline-policy:continuous;
background:url("http://3.bp.blogspot.com/_u1lLXYtR-ow/SmRhmTaTYtI/AAAAAAAABGo/gyJymyfGO9E/s400/bullet.png") no-repeat scroll left 4px transparent;
line-height:1.5em;
margin:0 0 5px;
padding:0 15px 0.25em;
}
.sidebar2 li {
-moz-background-inline-policy:continuous;
background:url("http://3.bp.blogspot.com/_u1lLXYtR-ow/SmRhmTaTYtI/AAAAAAAABGo/gyJymyfGO9E/s400/bullet.png") no-repeat scroll right 4px transparent;
line-height:1.5em;
margin:0 0 5px;
padding:0 15px 0.25em;
text-indent:-15px;
}
.sidebar .widget, .main .widget {
margin:0 0 1.5em;
padding:0 0 1.5em;
}
.sidebar2 .widget, .main .widget {
margin:0 0 1.5em;
padding:0 0 1.5em;
}
#sidebar2 .sidebar2 li {
-moz-background-inline-policy:continuous;
background:url("http://3.bp.blogspot.com/_u1lLXYtR-ow/SmRhmTaTYtI/AAAAAAAABGo/gyJymyfGO9E/s400/bullet.png") no-repeat scroll right 6px transparent;
line-height:1.5em;
margin:0 0 5px;
padding:0 15px 0.25em;
text-indent:-15px;
}
.sidebar .widget, .main .widget {
margin:0 0 1.5em;
padding:0 0 1.5em;
}
.sidebar2 .widget, .main .widget {
margin:0 0 1.5em;
padding:0 0 1.5em;
}
.main .Blog {
border-bottom-width:0;
}
.profile-img {
border:1px solid #CCCCCC;
float:left;
margin:0 5px 5px 0;
padding:4px;
}
.profile-data {
color:#999999;
font:bold 78%/1.6em 'Trebuchet MS',Trebuchet,Arial,Verdana,Sans-serif;
letter-spacing:0.1em;
margin:0;
text-transform:uppercase;
}
.profile-datablock {
margin:0.5em 0;
}
.profile-textblock {
line-height:1.6em;
margin:0.5em 0;
}
.profile-link {
font:78% 'Trebuchet MS',Trebuchet,Arial,Verdana,Sans-serif;
letter-spacing:0.1em;
text-transform:uppercase;
}
#footer {
color:#999999;
font:italic 11px/160% georgia;
letter-spacing:0;
margin-bottom:20px;
text-align:center;
}
#sidebar-wrapperL {
float:left;
overflow:hidden;
padding:45px 20px 0 10px;
text-align:right;
width:175px;
word-wrap:break-word;
}
#page-info {
-moz-background-inline-policy:continuous;
background:url("http://1.bp.blogspot.com/_u1lLXYtR-ow/SmRiDSyN6qI/AAAAAAAABG4/6Gzg4Xtuo9A/s400/info_bg.png") repeat-x scroll 0 0 #CCCCCC;
color:#FFFFFF;
font-size:1.2em;
font-variant:small-caps;
margin-top:0;
padding:3px 0 4px;
text-align:center;
}
#page-info span {
-moz-background-inline-policy:continuous;
background:none repeat scroll 0 0 #CCCCCC;
letter-spacing:3px;
padding:0 3px;
}
.hentry {
margin:20px 0 31px;
overflow:hidden;
}
.post-author {
-moz-background-inline-policy:continuous;
background:url("http://3.bp.blogspot.com/_u1lLXYtR-ow/SmRh0dLbfMI/AAAAAAAABGw/KNiTWeCiFeA/s400/lala.png") no-repeat scroll center bottom transparent;
color:#999999;
font-family:georgia;
font-size:12px;
font-style:italic;
letter-spacing:2px;
margin:0 0 10px;
padding:0 0 20px;
text-align:center;
}
#comments {
margin-left:15px;
}
#Attribution1 {
display:none;
}
body#layout #footer {
display:none;
}
body#layout #addthis_toolbox {
display:none;
}
body#layout #crosscol-wrapper {
display:none;
}
body#layout #searchbox {
display:none;
}
#PageList1 {
background:url("http://1.bp.blogspot.com/_uW7vQWFtStk/TJyAttRMtnI/AAAAAAAACLM/LR2nIiwNWH4/s1600/tab.png") repeat-x scroll 0 0 transparent;
border-bottom:1px solid #EEEEEE;
height:38px;
}
.first-links {
font-size:12px;
}
.second-links {
}
#footer a {
color:#666666;
}
.PageList li.selected a {
background:url("http://1.bp.blogspot.com/_uW7vQWFtStk/TJyAtxr7LqI/AAAAAAAACLU/r_MkwOqT1Pg/s1600/active.png") repeat-x scroll 0 0 transparent;
font-weight:normal;
text-decoration:none;
}
.PageList li a:hover {
background:url("http://1.bp.blogspot.com/_uW7vQWFtStk/TJyAtxr7LqI/AAAAAAAACLU/r_MkwOqT1Pg/s1600/active.png") repeat-x scroll 0 0 transparent;
border-color:-moz-use-text-color #CCCCCC -moz-use-text-color -moz-use-text-color;
border-style:none solid none none;
border-width:medium 1px medium medium;
font-weight:normal;
text-decoration:none;
}
.PageList li a {
border-right:1px solid #CCCCCC;
color:#333333;
font:13px georgia;
padding:12px 20px;
text-shadow:0 1px 0 #FFFFFF;
}
.crosscol .PageList li, .footer .PageList li {
background:none repeat scroll 0 0 transparent;
float:left;
list-style:none outside none;
margin:0;
padding:10px 0;
}
.post-share-buttons {
display:inline-block;
margin:15px 0.5em 0 !important;
vertical-align:middle;
width:106px;
}
]]>
Before Window Shutdown.So I Implement This Trick On My Programming.
This Application Can Allow You To Print Any Message
Before You Shutdown Or Log off Your Window.
Some People Forget To Charge There Wireless Mouse Or Keyboard After Shutting Down There System.
So This Application May Useful To Them.
Some Programmers Need To Run Some Script
And To Change Registry Value Or System Configuration
Before The System Shutdown
So This Is The Key Feature Of This Application.You Can Download It From Here
|