<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Mattias,<br>
<br>
You may try using Python script. An example:<br>
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/14764126/how-to-make-a-python-script-which-can-logoff-shutdown-and-restart-a-computer">http://stackoverflow.com/questions/14764126/how-to-make-a-python-script-which-can-logoff-shutdown-and-restart-a-computer</a><br>
<br>
Unfortunaltelly I'dont have so much experience using Python but this
is just a direction you can go.<br>
You can always use any other language, even Excel VBA shoul work.<br>
<br>
<br>
good luck<br>
Michal<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 2015-05-20 13:49, Mattias Ericsson
wrote:<br>
</div>
<blockquote
cite="mid:%3C777D646A442160489D76D7417D2960316030EFA9@Varmex2011%3E"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-postmall17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Dear TRNSYS users!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I am running standalone
simulations on a virtual computer for which I pay a fee for
every hour of runtime. I would like to have the computer
shut off once the simulation is finished so I don’t have to
pay for unnecessary hours if I start a simulation in the
evening that finishes in the middle of the night.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I am creating
distributable applications which I run on this virtual
computer.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:SV"
lang="EN-GB">Bets regards<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="mso-fareast-language:SV"
lang="EN-GB">Mattias Ericsson<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span
style="color:#1F497D;mso-fareast-language:SV" lang="EN-GB"><o:p> </o:p></span></i></p>
<p class="MsoNormal"><i><span
style="color:#1F497D;mso-fareast-language:SV"><img
id="Bild_x0020_1"
src="cid:part1.06010809.03000705@put.poznan.pl"
alt="VX2" height="89" width="125"></span></i><i><span
style="color:#1F497D;mso-fareast-language:SV" lang="EN-GB"><o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span
style="color:#1F497D;mso-fareast-language:SV" lang="EN-GB"><o:p> </o:p></span></i></p>
<p class="MsoNormal"><span style="mso-fareast-language:SV"
lang="EN-GB">VÄRMEX AB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:SV"
lang="EN-GB">Solkraftsvägen 12<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:SV"
lang="EN-GB">135 70 Stockholm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:SV"
lang="EN-GB">Växel : 08-448 71 90<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:SV"
lang="EN-GB">Mobil: 070- 516 76 19<o:p></o:p></span></p>
<p class="MsoNormal"><u><span
style="color:blue;mso-fareast-language:SV"><a
moz-do-not-send="true"
href="mailto:mattias.ericsson@varmex.se"><span
style="color:blue">mattias.ericsson@varmex.se</span></a></span></u><span
style="color:#1F497D;mso-fareast-language:SV"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
</body>
</html>