<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MemoSoup &#187; Scripts</title>
	<atom:link href="http://www.memosoup.com/category/scripts/feed" rel="self" type="application/rss+xml" />
	<link>http://www.memosoup.com</link>
	<description>Mix of the things I always forget</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:24:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>VBA: how to read text file</title>
		<link>http://www.memosoup.com/20120205/vba-how-to-read-text-file.html</link>
		<comments>http://www.memosoup.com/20120205/vba-how-to-read-text-file.html#comments</comments>
		<pubDate>Sat, 04 Feb 2012 23:55:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VB]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[read]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=461</guid>
		<description><![CDATA[<p>This is just example, how to read text file in Visual Basic for Applications (for example, in Excel macro). </p> <p>It&#8217;s just a stub: there is no error processing here, the source file is really text file, no problems with permissions etc.</p> Sub read_from_text_file() txtFile = Application.GetOpenFilename(&#34;Text Files (*.txt), *.txt&#34;) If txtFile = False Then [...]]]></description>
			<content:encoded><![CDATA[<p>This is just example, how to read text file in Visual Basic for Applications (for example, in Excel macro). </p>
<p>It&#8217;s just a stub: there is no error processing here, the source file is really text file, no problems with permissions etc.</p>
<div class="codecolorer-container vb default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="vb codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #E56717; font-weight: bold;">Sub</span> read_from_text_file()<br />
<br />
txtFile = Application.GetOpenFilename(<span style="color: #800000;">&quot;Text Files (*.txt), *.txt&quot;</span>)<br />
<span style="color: #8D38C9; font-weight: bold;">If</span> txtFile = <span style="color: #00C2FF; font-weight: bold;">False</span> <span style="color: #8D38C9; font-weight: bold;">Then</span><br />
&nbsp; &nbsp; MsgBox <span style="color: #800000;">&quot;No file to process&quot;</span><br />
&nbsp; &nbsp; <span style="color: #E56717; font-weight: bold;">Exit</span> <span style="color: #E56717; font-weight: bold;">Sub</span><br />
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">If</span><br />
<br />
<span style="color: #151B8D; font-weight: bold;">Open</span> txtFile <span style="color: #8D38C9; font-weight: bold;">For</span> <span style="color: #151B8D; font-weight: bold;">Input</span> <span style="color: #151B8D; font-weight: bold;">As</span> #1<br />
&nbsp; &nbsp; &nbsp; <span style="color: #151B8D; font-weight: bold;">Input</span> #1, myString<br />
&nbsp; &nbsp; &nbsp; MsgBox myString<br />
<span style="color: #8D38C9; font-weight: bold;">Close</span> #1<br />
&nbsp; &nbsp;<br />
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #E56717; font-weight: bold;">Sub</span></div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20120205%2Fvba-how-to-read-text-file.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20120205/vba-how-to-read-text-file.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="VBA: how to read text file" data-url="http://www.memosoup.com/20120205/vba-how-to-read-text-file.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20120205/vba-how-to-read-text-file.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX: reset user password</title>
		<link>http://www.memosoup.com/20120130/aix-reset-user-password.html</link>
		<comments>http://www.memosoup.com/20120130/aix-reset-user-password.html#comments</comments>
		<pubDate>Mon, 30 Jan 2012 13:17:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=446</guid>
		<description><![CDATA[<p>Change the password for the user (as root):</p> passwd username <p>Reset the login counter and unlock the user:</p> chsec -f /etc/security/lastlog -a &#34;unsuccessful_login_count=0&#34; -s username chuser &#34;account_locked=false&#34; username Tweet news and informations&#160;automotive,business,crime,health,life,politics,science,technology,travelautomotive,business,crime,health,life,politics,science,technology,travel]]></description>
			<content:encoded><![CDATA[<p>Change the password for the user (as root):</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">passwd</span> username</div></div>
<p>Reset the login counter and unlock the user:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">chsec <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>security<span style="color: #000000; font-weight: bold;">/</span>lastlog <span style="color: #660033;">-a</span> <span style="color: #ff0000;">&quot;unsuccessful_login_count=0&quot;</span> <span style="color: #660033;">-s</span> username<br />
chuser <span style="color: #ff0000;">&quot;account_locked=false&quot;</span> username</div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20120130%2Faix-reset-user-password.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20120130/aix-reset-user-password.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="AIX: reset user password" data-url="http://www.memosoup.com/20120130/aix-reset-user-password.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20120130/aix-reset-user-password.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl: SOAP problem with dateTime</title>
		<link>http://www.memosoup.com/20111110/perl-soap-problem-with-datetime.html</link>
		<comments>http://www.memosoup.com/20111110/perl-soap-problem-with-datetime.html#comments</comments>
		<pubDate>Thu, 10 Nov 2011 16:29:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[perl soap date]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=428</guid>
		<description><![CDATA[<p>The following error message was received by Perl application: Unrecognized type &#8216;{http://www.w3.org/1999/XMLSchema}dateTime</p> <p>The problem is caused by &#8220;dateTime&#8221; type: it was not supported in the 1999 XML Specification. The solution is to switch to 2001 schema:</p> &#160;my $soap = SOAP::Lite-&#62;uri&#40; $NAMESPACE &#41;-&#62;proxy&#40; $PROXY_URL &#41;-&#62;xmlschema &#40;'2001'&#41;; Tweet news and informations&#160;automotive,business,crime,health,life,politics,science,technology,travelautomotive,business,crime,health,life,politics,science,technology,travel]]></description>
			<content:encoded><![CDATA[<p>The following error message was received by Perl application:<br />
<strong>Unrecognized type &#8216;{http://www.w3.org/1999/XMLSchema}dateTime</strong></p>
<p>The problem is caused by &#8220;dateTime&#8221; type: it was not supported in the 1999 XML Specification.<br />
The solution is to switch to 2001 schema:</p>
<div class="codecolorer-container perl default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$soap</span> <span style="color: #339933;">=</span> SOAP<span style="color: #339933;">::</span><span style="color: #006600;">Lite</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">uri</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">$NAMESPACE</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">proxy</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">$PROXY_URL</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">xmlschema</span> <span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'2001'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20111110%2Fperl-soap-problem-with-datetime.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20111110/perl-soap-problem-with-datetime.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Perl: SOAP problem with dateTime" data-url="http://www.memosoup.com/20111110/perl-soap-problem-with-datetime.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20111110/perl-soap-problem-with-datetime.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl: Soap deserialization error</title>
		<link>http://www.memosoup.com/20110729/perl-soap-deserialization-error.html</link>
		<comments>http://www.memosoup.com/20110729/perl-soap-deserialization-error.html#comments</comments>
		<pubDate>Fri, 29 Jul 2011 13:08:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[soap]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=423</guid>
		<description><![CDATA[<p>Sometimes the following error is displayed, if application uses the old version of CPAN SOAP module: &#8220;Client Application failed during request deserialization: no element found at line 1, column 0, byte -1 at XML/Parser.pm&#8221;</p> <p>The possilbe solution is to change SOAP::Transport::HTTP module (SOAP/Transport/HTTP.pm), function &#8220;handle&#8221;:</p> sysread&#40; STDIN, $buffer, $length &#41; <p>should be replaced by</p> read&#40; [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes the following error is displayed, if application uses the old version of CPAN SOAP module:<br />
<em>&#8220;Client Application failed during request deserialization: no element found at line 1, column 0, byte -1 at XML/Parser.pm&#8221;</em></p>
<p>The possilbe solution is to change SOAP::Transport::HTTP module (SOAP/Transport/HTTP.pm), function &#8220;handle&#8221;:</p>
<div class="codecolorer-container perl default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://perldoc.perl.org/functions/sysread.html"><span style="color: #000066;">sysread</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000000; font-weight: bold;">STDIN</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$buffer</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$length</span> <span style="color: #009900;">&#41;</span></div></div>
<p>should be replaced by</p>
<div class="codecolorer-container perl default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://perldoc.perl.org/functions/read.html"><span style="color: #000066;">read</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000000; font-weight: bold;">STDIN</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$buffer</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$length</span> <span style="color: #009900;">&#41;</span></div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20110729%2Fperl-soap-deserialization-error.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20110729/perl-soap-deserialization-error.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Perl: Soap deserialization error" data-url="http://www.memosoup.com/20110729/perl-soap-deserialization-error.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20110729/perl-soap-deserialization-error.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AutoIt: script for hotkeys usage</title>
		<link>http://www.memosoup.com/20110408/autoit-script-for-hotkeys-usage.html</link>
		<comments>http://www.memosoup.com/20110408/autoit-script-for-hotkeys-usage.html#comments</comments>
		<pubDate>Fri, 08 Apr 2011 17:15:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows & DOS]]></category>
		<category><![CDATA[autoit]]></category>
		<category><![CDATA[hotkey]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=415</guid>
		<description><![CDATA[<p>This script allows You to define the global Windows hotkeys via the configuration file.</p> <p>The syntax of the config file is simple:</p> <p> Hotkey,Program,Parameters </p> <p>Here &#8220;Hotkey&#8221; is the combination of the keyboard key with one of the identifiers:</p> <p> ^ Ctrl ! Alt + Shift # Windows-Key </p> <p>Example:</p> <p> ;Win+C &#8211; start calculator [...]]]></description>
			<content:encoded><![CDATA[<p>This script allows You to define the global Windows hotkeys via the configuration file.</p>
<p>The syntax of the config file is simple:</p>
<blockquote><p>
Hotkey,Program,Parameters
</p></blockquote>
<p>Here &#8220;Hotkey&#8221; is the combination of the keyboard key with one of the identifiers:</p>
<blockquote><p>
^ Ctrl<br />
! Alt<br />
+ Shift<br />
# Windows-Key
</p></blockquote>
<p>Example:</p>
<blockquote><p>
;Win+C &#8211; start calculator<br />
#{c},calc.exe</p>
<p>;Win+Shift+N &#8211; start notepad<br />
+#{n},notepad.exe</p>
<p>;Win+N &#8211; start notepad++ together with apploc.exe<br />
#{n},%windir%\AppPatch\AppLoc.exe,&#8221;%ProgramFiles%\Notepad++\notepad++.exe&#8221; -nosession /L0419
</p></blockquote>
<p><span id="more-415"></span></p>
<div class="codecolorer-container autoit default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="autoit codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #F000FF; font-style: italic;">#Include</span> <span style="color: #FF0000; font-weight: bold;">&lt;</span>File<span style="color: #FF0000; font-weight: bold;">.</span><span style="color: #0000FF; font-style: italic; font-weight: bold;">au3</span><span style="color: #FF0000; font-weight: bold;">&gt;</span><br />
<br />
<span style="font-style: italic; color: #009933;">; ^ Ctrl</span><br />
<span style="font-style: italic; color: #009933;">; ! Alt</span><br />
<span style="font-style: italic; color: #009933;">; + Shift</span><br />
<span style="font-style: italic; color: #009933;">; # Windows-Key</span><br />
<br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Global</span></a>&nbsp; <span style="font-weight: bold; color: #AA0000;">$MATRIX_SIZE</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Global</span></a> <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$MATRIX_SIZE</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">3</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Global</span></a>&nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">ENUM</span></a>&nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$POS_HOTKEY</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$POS_PARAM</span><br />
<br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Global</span></a> <span style="font-weight: bold; color: #AA0000;">$sPATH</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$sProgramFiles</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$sAppData</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">AutoItSetOption</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;TrayAutoPause&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">AutoItSetOption</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;TrayMenuMode&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<br />
<span style="font-weight: bold; color: #AA0000;">$mnuReadSettings</span> <span style="color: #FF0000; font-weight: bold;">=</span> <a href="http://www.autoitscript.com/autoit3/docs/functions/TrayCreateItem.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">TrayCreateItem</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;Read settings&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<span style="font-weight: bold; color: #AA0000;">$mnuHelp</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #FF0000; font-weight: bold;">=</span> <a href="http://www.autoitscript.com/autoit3/docs/functions/TrayCreateItem.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">TrayCreateItem</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;Help&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/functions/TrayCreateItem.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">TrayCreateItem</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<span style="font-weight: bold; color: #AA0000;">$mnuExit</span> <span style="color: #FF0000; font-weight: bold;">=</span> <a href="http://www.autoitscript.com/autoit3/docs/functions/TrayCreateItem.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">TrayCreateItem</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;Exit&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Func</span></a> read_settings<span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Local</span></a> <span style="font-weight: bold; color: #AA0000;">$aTMPArray</span><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/FileChangeDir.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">FileChangeDir</span></a> <span style="color: #FF0000; font-weight: bold;">&#40;</span><a href="http://www.autoitscript.com/autoit3/docs/macros.htm"><span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@scriptdir</span></span></a> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">If</span></a> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Not</span></a> <span style="color: #0080FF; font-style: italic; font-weight: bold;">_FileReadToArray</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;hotkeys.txt&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #AA0000;">$aTMPArray</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Then</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">MsgBox</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">4096</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #9977BB;">&quot;Error&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot; Error reading hotkeys.txt@CRLF error:&quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <a href="http://www.autoitscript.com/autoit3/docs/macros.htm"><span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@error</span></span></a><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Exit</span></a><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndIf</span></a><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">if</span></a> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #AA0000;">$aTMPArray</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Then</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">MsgBox</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">4096</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #9977BB;">&quot;Error&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot; No hotkeys defined&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Exit</span></a><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndIf</span></a><br />
<br />
&nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$MATRIX_SIZE</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$aTMPArray</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">ReDim</span></a> <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$MATRIX_SIZE</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">3</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><br />
<br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">AutoItSetOption</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;ExpandEnvStrings&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<br />
&nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">for</span></a> <span style="font-weight: bold; color: #AA0000;">$i_tmp</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">to</span></a> <span style="font-weight: bold; color: #AA0000;">$MATRIX_SIZE</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">if</span></a> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <a href="http://www.autoitscript.com/autoit3/docs/functions/StringLen.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">StringLen</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$aTMPArray</span><span style="color: #FF0000; font-weight: bold;">&#91;</span> <span style="font-weight: bold; color: #AA0000;">$i_tmp</span> <span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">or</span></a> <a href="http://www.autoitscript.com/autoit3/docs/functions/StringLeft.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">StringLeft</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #AA0000;">$aTMPArray</span><span style="color: #FF0000; font-weight: bold;">&#91;</span> <span style="font-weight: bold; color: #AA0000;">$i_tmp</span> <span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">=</span> &nbsp;<span style="font-weight: bold; color: #9977BB;">&quot;;&quot;</span> &nbsp;<span style="color: #FF0000; font-weight: bold;">&#41;</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Then</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">ContinueLoop</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndIf</span></a><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$aCurLine</span> <span style="color: #FF0000; font-weight: bold;">=</span> <a href="http://www.autoitscript.com/autoit3/docs/functions/StringSplit.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">StringSplit</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #AA0000;">$aTMPArray</span><span style="color: #FF0000; font-weight: bold;">&#91;</span> <span style="font-weight: bold; color: #AA0000;">$i_tmp</span> <span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;,;&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">2</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$lCurLine</span> <span style="color: #FF0000; font-weight: bold;">=</span> <a href="http://www.autoitscript.com/autoit3/docs/functions/UBound.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">UBound</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #AA0000;">$aCurLine</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">if</span></a> <span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #AA0000;">$lCurLine</span><span style="color: #FF0000; font-weight: bold;">&lt;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">2</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">or</span></a> <span style="font-weight: bold; color: #AA0000;">$aCurLine</span><span style="color: #FF0000; font-weight: bold;">&#91;</span> <span style="font-weight: bold; color: #AA0000;">$POS_HOTKEY</span> <span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> &nbsp;<span style="font-weight: bold; color: #9977BB;">&quot;&quot;</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">or</span></a> <span style="font-weight: bold; color: #AA0000;">$aCurLine</span><span style="color: #FF0000; font-weight: bold;">&#91;</span> <span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span> <span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> &nbsp;<span style="font-weight: bold; color: #9977BB;">&quot;&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Then</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">MsgBox</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">4096</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #9977BB;">&quot;Error&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot; No program or hotkey defined: &quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #AA0000;">$aTMPArray</span><span style="color: #FF0000; font-weight: bold;">&#91;</span> <span style="font-weight: bold; color: #AA0000;">$i_tmp</span> <span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Exit</span></a><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndIf</span></a><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="font-style: italic; color: #009933;">; Are the parameters for the command line?</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">if</span></a> <span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$lCurLine</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">2</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Then</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$sParam</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #9977BB;">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Else</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$sParam</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$aCurLine</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PARAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndIf</span></a><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Switch</span></a>&nbsp; <span style="font-weight: bold; color: #AA0000;">$aCurLine</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Case</span></a> <span style="font-weight: bold; color: #9977BB;">&quot;SPECIAL&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/HotKeySet.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">HotKeySet</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$aCurLine</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_HOTKEY</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;_run_special&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Case</span></a> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Else</span></a><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_HOTKEY</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> &nbsp; <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$aCurLine</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_HOTKEY</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span>&nbsp; <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$aCurLine</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PARAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$sParam</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot; &quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PARAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="font-style: italic; color: #009933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/HotKeySet.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">HotKeySet</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_HOTKEY</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #9977BB;">&quot;_run_it&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">+</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="font-style: italic; color: #009933;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndSwitch</span></a><br />
<br />
<br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Next</span></a><br />
<br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/AutoItSetOption.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">AutoItSetOption</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #9977BB;">&quot;ExpandEnvStrings&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndFunc</span></a><br />
<br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Func</span></a>&nbsp; &nbsp; _run_special<span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">MsgBox</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;No action&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;Reserved for future use&quot;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndFunc</span></a><br />
<br />
<br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Func</span></a>&nbsp; &nbsp; _run_it<span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">For</span></a> <span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">to</span></a> <span style="font-weight: bold; color: #AA0000;">$MATRIX_SIZE</span> <span style="color: #FF0000; font-weight: bold;">-</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">if</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_HOTKEY</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <a href="http://www.autoitscript.com/autoit3/docs/macros.htm"><span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@HotKeyPressed</span></span></a> <span style="color: #FF0000; font-weight: bold;">&#41;</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Then</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/Run.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">Run</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span> <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">ExitLoop</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndIf</span></a><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Next</span></a><br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndFunc</span></a><br />
<br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Func</span></a>&nbsp; &nbsp; show_help<span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Local</span></a> &nbsp; <span style="font-weight: bold; color: #AA0000;">$helpMessage</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #9977BB;">&quot;&quot;</span><br />
<br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">for</span></a> <span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">to</span></a> <span style="font-weight: bold; color: #AA0000;">$MATRIX_SIZE</span> <span style="color: #FF0000; font-weight: bold;">-</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$helpMessage</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$helpMessage</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_HOTKEY</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot; &quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #AA0000;">$aMatrix</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$POS_PROGRAM</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <a href="http://www.autoitscript.com/autoit3/docs/macros.htm"><span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@CRLF</span></span></a><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Next</span></a><br />
<br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">MsgBox</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">,</span><span style="font-weight: bold; color: #9977BB;">&quot;Help&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$helpMessage</span> <span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndFunc</span></a><br />
<br />
<span style="font-style: italic; color: #009933;">; ##### Main ######</span><br />
read_settings<span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">While</span></a> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><br />
&nbsp; &nbsp; <span style="font-weight: bold; color: #AA0000;">$msg</span> <span style="color: #FF0000; font-weight: bold;">=</span> <a href="http://www.autoitscript.com/autoit3/docs/functions/TrayGetMsg.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">TrayGetMsg</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Select</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Case</span></a> <span style="font-weight: bold; color: #AA0000;">$msg</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$mnuReadSettings</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; read_settings<span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">case</span></a> <span style="font-weight: bold; color: #AA0000;">$msg</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$mnuHelp</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; show_help<span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Case</span></a> <span style="font-weight: bold; color: #AA0000;">$msg</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$mnuExit</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">Exit</span></a><br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">EndSelect</span></a><br />
<br />
&nbsp; &nbsp; <a href="http://www.autoitscript.com/autoit3/docs/functions/Sleep.htm"><span style="color: #000080; font-style: italic; font-weight: bold;">sleep</span></a><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">100</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><br />
<a href="http://www.autoitscript.com/autoit3/docs/keywords.htm"><span style="color: #0000FF; font-weight: bold;">WEnd</span></a></div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20110408%2Fautoit-script-for-hotkeys-usage.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20110408/autoit-script-for-hotkeys-usage.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="AutoIt: script for hotkeys usage" data-url="http://www.memosoup.com/20110408/autoit-script-for-hotkeys-usage.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20110408/autoit-script-for-hotkeys-usage.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix: print in color</title>
		<link>http://www.memosoup.com/20110130/unix-print-in-color.html</link>
		<comments>http://www.memosoup.com/20110130/unix-print-in-color.html#comments</comments>
		<pubDate>Sun, 30 Jan 2011 14:46:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=334</guid>
		<description><![CDATA[<p>This simple procedure takes 3 arguments as the parameters:</p> Text Foreground color Background color <p>It prints the text to the terminal in selected colors.</p> function print_color &#123; &#160;local text=$1 &#160;local fg=$2 &#160;local bg=$3 &#160;case &#34;$fg&#34; in &#160;red&#41; fg=&#34;31m&#34; ;; &#160;green&#41; fg=&#34;32m&#34; ;; &#160;yellow&#41; fg=&#34;33m&#34; ;; &#160;blue&#41; fg=&#34;34m&#34; ;; &#160;white&#41; fg=&#34;37m&#34; ;; &#160;black&#41; fg=&#34;30m&#34; ;; &#160;*&#41; [...]]]></description>
			<content:encoded><![CDATA[<p>This simple procedure takes 3 arguments as the parameters:</p>
<ul>
<li>Text</li>
<li>Foreground color</li>
<li>Background color</li>
</ul>
<p>It prints the text to the terminal in selected colors.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> print_color <span style="color: #7a0874; font-weight: bold;">&#123;</span> <br />
&nbsp;<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">text</span>=<span style="color: #007800;">$1</span> <br />
&nbsp;<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">fg</span>=<span style="color: #007800;">$2</span> <br />
&nbsp;<span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #007800;">bg</span>=<span style="color: #007800;">$3</span> <br />
&nbsp;<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$fg</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span> <br />
&nbsp;<span style="color: #c20cb9; font-weight: bold;">red</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">fg</span>=<span style="color: #ff0000;">&quot;31m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;green<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">fg</span>=<span style="color: #ff0000;">&quot;32m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;yellow<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">fg</span>=<span style="color: #ff0000;">&quot;33m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;blue<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">fg</span>=<span style="color: #ff0000;">&quot;34m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;white<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">fg</span>=<span style="color: #ff0000;">&quot;37m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;black<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">fg</span>=<span style="color: #ff0000;">&quot;30m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">fg</span>=<span style="color: #ff0000;">&quot;37m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;<span style="color: #000000; font-weight: bold;">esac</span> <br />
&nbsp;<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$bg</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span> <br />
&nbsp;<span style="color: #c20cb9; font-weight: bold;">red</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">bg</span>=<span style="color: #ff0000;">&quot;41m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;green<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">bg</span>=<span style="color: #ff0000;">&quot;42m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;yellow<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">bg</span>=<span style="color: #ff0000;">&quot;43m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;blue<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">bg</span>=<span style="color: #ff0000;">&quot;44m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;white<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">bg</span>=<span style="color: #ff0000;">&quot;47m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;black<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">bg</span>=<span style="color: #ff0000;">&quot;40m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">bg</span>=<span style="color: #ff0000;">&quot;40m&quot;</span> <span style="color: #000000; font-weight: bold;">;;</span> <br />
&nbsp;<span style="color: #000000; font-weight: bold;">esac</span> <br />
&nbsp;<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-en</span> <span style="color: #ff0000;">&quot;\033[<span style="color: #007800;">${fg}</span>\033[<span style="color: #007800;">${bg}</span><span style="color: #007800;">${text}</span>\033[0m&quot;</span> <br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20110130%2Funix-print-in-color.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20110130/unix-print-in-color.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Unix: print in color" data-url="http://www.memosoup.com/20110130/unix-print-in-color.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20110130/unix-print-in-color.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix: rename files to lowercase</title>
		<link>http://www.memosoup.com/20110130/unix-rename-files-to-lowercase.html</link>
		<comments>http://www.memosoup.com/20110130/unix-rename-files-to-lowercase.html#comments</comments>
		<pubDate>Sun, 30 Jan 2011 14:44:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[rename]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=331</guid>
		<description><![CDATA[<p>It&#8217;s very simple to rename the files to lowercase/uppercase using awk:</p> <p>Lowercase</p> ls -1rt &#124; awk '{ printf(&#34;mv %s %s\n&#34;, $0, tolower($0)) &#124; &#34;sh&#34; } END { close(&#34;sh&#34;) }' <p>Uppercase</p> ls -1rt &#124; awk '{ printf(&#34;mv %s %s\n&#34;, $0, toupper($0)) &#124; &#34;sh&#34; } END { close(&#34;sh&#34;) }' Tweet news and informations&#160;automotive,business,crime,health,life,politics,science,technology,travelautomotive,business,crime,health,life,politics,science,technology,travel]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very simple to rename the files to lowercase/uppercase using awk:</p>
<p><strong>Lowercase</strong></p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-1rt</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{ printf(&quot;mv %s %s\n&quot;, $0, tolower($0)) | &quot;sh&quot; } END { close(&quot;sh&quot;) }'</span></div></div>
<p><strong>Uppercase</strong></p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-1rt</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{ printf(&quot;mv %s %s\n&quot;, $0, toupper($0)) | &quot;sh&quot; } END { close(&quot;sh&quot;) }'</span></div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20110130%2Funix-rename-files-to-lowercase.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20110130/unix-rename-files-to-lowercase.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Unix: rename files to lowercase" data-url="http://www.memosoup.com/20110130/unix-rename-files-to-lowercase.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20110130/unix-rename-files-to-lowercase.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl: get file checksum</title>
		<link>http://www.memosoup.com/20100608/perl-get-file-checksum.html</link>
		<comments>http://www.memosoup.com/20100608/perl-get-file-checksum.html#comments</comments>
		<pubDate>Tue, 08 Jun 2010 15:12:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[checksum]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[md5]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=286</guid>
		<description><![CDATA[use Digest::MD5; use IO::File; my $chk = Digest::MD5-&#62;new&#40;&#41;; foreach my $file &#40;@ARGV&#41; &#123; &#160; &#160; $chk-&#62;addfile&#40;IO::File-&#62;new&#40;$file&#41;&#41;; &#160; &#160; print &#34;$file -&#62; &#34;,$chk-&#62;hexdigest,&#34;\n&#34;; &#125; <p>The additional details could be found on IBM site</p> Tweet news and informations&#160;automotive,business,crime,health,life,politics,science,technology,travelautomotive,business,crime,health,life,politics,science,technology,travel]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container perl default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">use</span> Digest<span style="color: #339933;">::</span><span style="color: #006600;">MD5</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">use</span> IO<span style="color: #339933;">::</span><span style="color: #006600;">File</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$chk</span> <span style="color: #339933;">=</span> Digest<span style="color: #339933;">::</span><span style="color: #006600;">MD5</span><span style="color: #339933;">-&gt;</span><span style="color: #000000; font-weight: bold;">new</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">foreach</span> <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$file</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span><span style="color: #000000; font-weight: bold;">ARGV</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">$chk</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">addfile</span><span style="color: #009900;">&#40;</span>IO<span style="color: #339933;">::</span><span style="color: #006600;">File</span><span style="color: #339933;">-&gt;</span><span style="color: #000000; font-weight: bold;">new</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$file</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <a href="http://perldoc.perl.org/functions/print.html"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;$file -&gt; &quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">$chk</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">hexdigest</span><span style="color: #339933;">,</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>The additional details could be found on <a href="http://www.ibm.com/developerworks/aix/library/au-satsystemvalidity/index.html?S_TACT=105AGX99">IBM site</a></p>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20100608%2Fperl-get-file-checksum.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20100608/perl-get-file-checksum.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Perl: get file checksum" data-url="http://www.memosoup.com/20100608/perl-get-file-checksum.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20100608/perl-get-file-checksum.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading password in Unix shell</title>
		<link>http://www.memosoup.com/20100202/reading-password-in-unix-shell.html</link>
		<comments>http://www.memosoup.com/20100202/reading-password-in-unix-shell.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 21:18:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=256</guid>
		<description><![CDATA[print -n &#34;Enter Your password:&#34; stty_orig=`stty -g` trap &#34;stty ${stty_orig}; exit&#34; 1 2 3 15 stty -echo &#62;&#38;- 2&#62;&#38;- read PASS stty ${stty_orig} &#62;&#38;- 2&#62;&#38;- trap 1 2 3 15 print <p>trap :catches interruptions. I.e. if the user presses Ctrl+C, the normal stty mode is set before stopping the program stty -echo :switches off the [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">print <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;Enter Your password:&quot;</span><br />
<span style="color: #007800;">stty_orig</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">stty</span> -g<span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #7a0874; font-weight: bold;">trap</span> <span style="color: #ff0000;">&quot;stty <span style="color: #007800;">${stty_orig}</span>; exit&quot;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">2</span> <span style="color: #000000;">3</span> <span style="color: #000000;">15</span><br />
<span style="color: #c20cb9; font-weight: bold;">stty</span> <span style="color: #660033;">-echo</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span>- <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span>-<br />
<span style="color: #c20cb9; font-weight: bold;">read</span> PASS <br />
<span style="color: #c20cb9; font-weight: bold;">stty</span> <span style="color: #800000;">${stty_orig}</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span>- <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span>-<br />
<span style="color: #7a0874; font-weight: bold;">trap</span> <span style="color: #000000;">1</span> <span style="color: #000000;">2</span> <span style="color: #000000;">3</span> <span style="color: #000000;">15</span><br />
print</div></div>
<p><strong>trap</strong>  :catches interruptions. I.e. if the user presses Ctrl+C, the normal stty mode is set before stopping the program<br />
<strong>stty -echo</strong>  :switches off the display echo<br />
<strong>&gt;&amp;- 2&gt;&amp;-</strong>  :helps to avoid <strong>&#8220;stty: Not a typewriter&#8221;</strong> message for non-interactive scripts.</p>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20100202%2Freading-password-in-unix-shell.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20100202/reading-password-in-unix-shell.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Reading password in Unix shell" data-url="http://www.memosoup.com/20100202/reading-password-in-unix-shell.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20100202/reading-password-in-unix-shell.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the clipboard in WSH</title>
		<link>http://www.memosoup.com/20100126/using-the-clipboard-in-wsh.html</link>
		<comments>http://www.memosoup.com/20100126/using-the-clipboard-in-wsh.html#comments</comments>
		<pubDate>Tue, 26 Jan 2010 13:21:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VB]]></category>
		<category><![CDATA[clipboard]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[wsh]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=252</guid>
		<description><![CDATA[<p>How to get the text from the clipboard</p> set objIE = CreateObject(&#34;InternetExplorer.Application&#34;) objIE.Navigate(&#34;about:blank&#34;) textFromClipboard = objIE.document.parentwindow.clipboardData.GetData(&#34;text&#34;) objIE.Quit WScript.Echo textFromClipboard <p>How to put the text into clipboard</p> textIntoClipboard = &#34;Some text&#34; &#38; VbCrLf &#38; &#34;Some more text&#34; &#160; Set objIE = WScript.CreateObject(&#34;InternetExplorer.Application&#34;) objIE.Navigate &#34;about:blank&#34; Do Until objIE.ReadyState = 4 &#160; &#160; WScript.Sleep 100 Loop &#160; objIE.document.ParentWindow.ClipboardData.SetData [...]]]></description>
			<content:encoded><![CDATA[<p><strong>How to get the text from the clipboard</strong></p>
<div class="codecolorer-container vb default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="vb codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #151B8D; font-weight: bold;">set</span> objIE = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;InternetExplorer.Application&quot;</span>)<br />
objIE.Navigate(<span style="color: #800000;">&quot;about:blank&quot;</span>)<br />
textFromClipboard = objIE.document.parentwindow.clipboardData.GetData(<span style="color: #800000;">&quot;text&quot;</span>)<br />
objIE.Quit<br />
WScript.Echo textFromClipboard</div></div>
<p><strong>How to put the text into clipboard</strong></p>
<div class="codecolorer-container vb default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="vb codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">textIntoClipboard = <span style="color: #800000;">&quot;Some text&quot;</span> &amp; VbCrLf &amp; <span style="color: #800000;">&quot;Some more text&quot;</span><br />
&nbsp;<br />
<span style="color: #151B8D; font-weight: bold;">Set</span> objIE = WScript.<span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;InternetExplorer.Application&quot;</span>)<br />
objIE.Navigate <span style="color: #800000;">&quot;about:blank&quot;</span><br />
<span style="color: #8D38C9; font-weight: bold;">Do</span> <span style="color: #8D38C9; font-weight: bold;">Until</span> objIE.ReadyState = 4<br />
&nbsp; &nbsp; WScript.Sleep 100<br />
<span style="color: #8D38C9; font-weight: bold;">Loop</span><br />
&nbsp;<br />
objIE.document.ParentWindow.ClipboardData.SetData <span style="color: #800000;">&quot;text&quot;</span>, textIntoClipboard<br />
objIE.Quit</div></div>
<p>The detailed explanation could be <a href="http://www.nilpo.com/2007/08/windows-xp/scripting-the-clipboard-contents-in-wsh/">found here</a>.</p>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20100126%2Fusing-the-clipboard-in-wsh.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20100126/using-the-clipboard-in-wsh.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Using the clipboard in WSH" data-url="http://www.memosoup.com/20100126/using-the-clipboard-in-wsh.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20100126/using-the-clipboard-in-wsh.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

