<?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>Arejae.Com &#187; AutoIt</title>
	<atom:link href="http://www.arejae.com/blogv2/category/autoit/feed" rel="self" type="application/rss+xml" />
	<link>http://www.arejae.com/blogv2</link>
	<description>me,myself,english and programming..</description>
	<lastBuildDate>Thu, 22 Jul 2010 07:19:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Error handling in AutoIt</title>
		<link>http://www.arejae.com/blogv2/error-handling-in-autoit.html</link>
		<comments>http://www.arejae.com/blogv2/error-handling-in-autoit.html#comments</comments>
		<pubDate>Mon, 05 Apr 2010 02:20:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AutoIt]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/error-handling-in-autoit.html</guid>
		<description><![CDATA[In my post here , I write about connecting to MS-SQL Server. One of my reader/googler ask me about how to handle if let say the password or username are wrong. Here is the way how to handle it. I think there are another way to do it but personally I find that, this is [...]]]></description>
			<content:encoded><![CDATA[<p>In my post <a href="http://www.arejae.com/blogv2/autoit-connecting-to-sql-server.html">here</a> , I write about connecting to MS-SQL Server. One of my reader/googler ask me about how to handle if let say the password or username are wrong.</p>
<p>Here is the way how to handle it. I think there are another way to do it but personally I find that, this is the easiest way to do it.</p>
<p>&nbsp;</p>
<pre class="vb" name="code">
#include &lt;ie.au3&gt;
_IEErrorHandlerRegister()

$conn = ObjCreate( "ADODB.Connection" )
$DSN = "DRIVER={SQL Server};SERVER=MySvr;DATABASE=MyDB;UID=MyUser;PWD=MyPwd;"
$conn.Open($DSN)
if @Error Then
        MsgBox(0,"Error",$IEComErrorDescription)
Else
        $rs = ObjCreate( "ADODB.RecordSet" )
        $rs.Open( "SELECT @@VERSION AS myVersion", $conn )
        MsgBox(0, "AutoIT-SQL Result", "Value = " &amp; $rs.Fields( "myVersion" ).Value )
EndIf
if IsObj($conn) Then $conn.close
</pre>
<p>That&#8217;s it. Till then..happy coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/error-handling-in-autoit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh anok anok&#8230;</title>
		<link>http://www.arejae.com/blogv2/oh-anok-anok.html</link>
		<comments>http://www.arejae.com/blogv2/oh-anok-anok.html#comments</comments>
		<pubDate>Sun, 13 Dec 2009 02:46:03 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
				<category><![CDATA[AutoIt]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/oh-anok-anok.html</guid>
		<description><![CDATA[enjoy this song..]]></description>
			<content:encoded><![CDATA[<p>enjoy this song..<br />
<object width="460" height="340"><param name="movie" value="http://www.youtube.com/v/nNSDGw3EJS4&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/nNSDGw3EJS4&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="460" height="340" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/oh-anok-anok.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HR2000 Telekom 8 Digit Converter.</title>
		<link>http://www.arejae.com/blogv2/hr2000-telekom-8-digit-converter.html</link>
		<comments>http://www.arejae.com/blogv2/hr2000-telekom-8-digit-converter.html#comments</comments>
		<pubDate>Fri, 08 May 2009 02:47:21 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
				<category><![CDATA[:Else:]]></category>
		<category><![CDATA[AutoIt]]></category>
		<category><![CDATA[My Life]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/hr2000-telekom-8-digit-converter.html</guid>
		<description><![CDATA[Previously, I wrote about Automate 7 to 8 digit phone number conversion using AutoIT. Since then, I&#8217;m not using it anymore until I get a request regarding phone number conversion from my reader. Searching that software online bring me no luck, so I ask my friend to email it to me. Now, im here to [...]]]></description>
			<content:encoded><![CDATA[<p>Previously, I wrote about <a href="http://www.arejae.com/blog/automate-7-to-8-digit-phone-number-conversion-using-autoit.html">Automate 7 to 8 digit phone number conversion using AutoIT</a>. Since then, I&#8217;m not using it anymore until I get a request regarding phone number conversion from my reader.</p>
<p>Searching that software online bring me no luck, so I ask my friend to email it to me. Now, im here to share the software in case someone need it.</p>
<p><img height="230" alt="HR Telekom" src="http://www.arejae.com/blogv2/wp-content/uploads/2009/05/hr-telekom.jpg" width="333" /></p>
<p>You can download it <a href="http://www.arejae.com/download/hrtelekom8.zip">here</a>.</p>
<p>p/s: I&#8217;m very very busy nowdays&#8230;.sorry if my response is so slow. <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/hr2000-telekom-8-digit-converter.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Automate your oracle import and export using AutoIt</title>
		<link>http://www.arejae.com/blogv2/automate-your-oracle-import-and-export-using-autoit.html</link>
		<comments>http://www.arejae.com/blogv2/automate-your-oracle-import-and-export-using-autoit.html#comments</comments>
		<pubDate>Wed, 25 Mar 2009 11:50:43 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
				<category><![CDATA[AutoIt]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/automate-your-oracle-import-and-export-using-autoit.html</guid>
		<description><![CDATA[I always believe that I can do almost everything using AutoIt. Well, since I need to do a lot of import and export job manually, I just wondering why not I just automagically do it using AutoIt. There are a few steps involve in this process : 1. export data from server to my local [...]]]></description>
			<content:encoded><![CDATA[<p>I always believe that I can do <strong><em>almost</em></strong> everything using AutoIt. Well, since I need to do a lot of import and export job manually, I just wondering why not I just automagically do it using AutoIt.</p>
<p>There are a few steps involve in this process :</p>
<p>1. export data from server to my local pc</p>
<p>2. connect to sqlplus and drop user</p>
<p>3. create user and grant permission</p>
<p>4. import back using dump file created in step 1</p>
<p>Now, here how I convert those steps into AutoIt.</p>
<p><span id="more-587"></span>
<pre class="sql" name="code">
Opt("WinTitleMatchMode",2)
$cmdPID = Run("cmd", "", @SW_SHOWNORMAL)
WinWaitActive("cmd.exe")
$hDos = WingetHandle("cmd.exe")
SendKeepActive($hDos)

Send("d:")
Send("{ENTER}")
Send("cd\backup")
Send("{ENTER}")

$filename = @YEAR &amp; @MON &amp; @MDAY &amp; ".dmp"
;First part
$parameter = "arejae/arejae@mydevelopmentserver file=" &amp; $filename
Send('exp.exe ' &amp; $parameter)
Send ("{ENTER}")

;Second part
Send('sqlplus "/as sysdba"')
Send ("{ENTER}")
Send('drop user arejae cascade;')
Send ("{ENTER}")
;assuming no errors..well..just to let you know that assuming is killing...

;3rd part
Send('create user arejae identified by arejae;')
Send ("{ENTER}")
Send('grant DBA to arejae;')
Send ("{ENTER}")

;exit SQLPlus and proceed to import file
Send("exit")
Send("{ENTER}")

;4th part
Send('imp arejae/arejae file='&amp; $filename &amp; ' full=y ')
Send ("{ENTER}")

;done..exit from command prompt
Send("exit")
Send("{ENTER}")
</pre>
<p></p>
<p>That&#8217;s all.. now i can combine all those steps with only one single click or..i can schedule it to run at anytime. <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/automate-your-oracle-import-and-export-using-autoit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to sound smart, polished and confident</title>
		<link>http://www.arejae.com/blogv2/how-to-sound-smart-polished-and-confident.html</link>
		<comments>http://www.arejae.com/blogv2/how-to-sound-smart-polished-and-confident.html#comments</comments>
		<pubDate>Tue, 17 Jun 2008 05:22:28 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
				<category><![CDATA[AutoIt]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/how-to-sound-smart-polished-and-confident.html</guid>
		<description><![CDATA[To sound more intelligent Speak just a bit slower to allow yourself to select the most appropriate words and to give the impression of thoughtfullness. To sound more powerful Use short,simple declarative sentences. Say what you mean and mean what you say.Cut out any useless connectors, adjectives,adverbs and superlatives. To sound more polished Never answer [...]]]></description>
			<content:encoded><![CDATA[<p><strong>To sound more intelligent</strong></p>
<p>Speak just a bit slower to allow yourself to select the most appropriate words and to give the impression of thoughtfullness.</p>
<p><strong>To sound more powerful</strong></p>
<p>Use short,simple declarative sentences. Say what you mean and mean what you say.Cut out any useless connectors, adjectives,adverbs and superlatives.</p>
<p><strong>To sound more polished</strong></p>
<p>Never answer a question with a blunt &#8220;yes&#8221; or &#8220;no&#8221;. Append a short phrase of clarification. For example,&#8221;No I did not see that&#8221; or &#8220;Yes, I know Mary&#8221;</p>
<p><span id="more-371"></span></p>
<p><strong>To sound more articulate</strong></p>
<p>Make a special effort to pronounce the final sound in a word and use its energy to carry over the following word. Pay special attention to final &#8220;t&#8221; and &#8220;ng&#8221;</p>
<p><strong>To sound more confident</strong></p>
<p>Carry your body up. Hold your head as if you had a crown on it.Do not let your arms and legs have a side-to-side-motion when you move. Keep your elbows and knees close to midline of your body</p>
<p><em>source : The Star,Friday 30 March 2007</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/how-to-sound-smart-polished-and-confident.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
