Created
August 25, 2020 14:30
-
-
Save yehgdotnet/5d779b14c8dae640d8a9eaa53cd4fac7 to your computer and use it in GitHub Desktop.
AutoIT Quote of the Day Email Signature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cs ---------------------------------------------------------------------------- | |
AutoIt Version: 3.3.8.1 | |
Author: myName | |
Script Function: | |
Template AutoIt script. | |
#ce ---------------------------------------------------------------------------- | |
; Script Start - Add your code below here | |
Local $file = FileOpen("C:\notes\data\Email_Signature.html", 2) | |
; Check if file opened for writing OK | |
If $file = -1 Then | |
MsgBox(0, "Error", "Unable to open file.") | |
Exit | |
EndIf | |
Local $q_raw1 = "I can, I can, I can. I can do it.|When my intentions are clear, the Universe cooperates with me and I can accomplish anything.|I think of only positive things and positive things happen in my life.|I am a go getter and will not stop at anything to achieve my goals.|I am always successful. Success is in my blood.|The doors of opportunity are always open for me and I take advantage of the same without fail.|Motivation comes to me easily and I also successfully motivate others.|I am full of energy and hope and live my life to the fullest.|I enjoy challenges. I take them head on and win over them.|Motivation comes to me from inside. I am my own motivator.|The only option for me is success. I forge ahead and ultimately, succeed.|I know I make a difference and I try my best to help others.|My goal itself is my motivation. I see only the goal till the time I reach it.|I know my worth. I deserve success and I get it.|My work is my motivation. I work continuously till I achieve.|Life is beautiful. Life is fulfilling. I love life.|I can change my life.|Today I will take one step toward my dreams.|Motivation catapults me toward my goals.|I choose to be motivated and enthusiastic.|I am supported and encouraged to follow my passion.|Action is the energy that translates my thoughts into reality.|Life is worth living beyond the norm. Life is worth living to the extreme.|I can make a difference.|I hold the keys to my destiny.|I possess the wisdom, the power, the motivation, the inspiration and the passion to accomplish anything and everything I choose.|There are no obstacles on my path only road-bumps that I easily and swiftly leap over.|I already have it all. What I don�t see with my eyes is growing in my heart, expressed in my dreams, and on its way to my reality.|Today is filled with opportunity. Everywhere I look I see it, and I trust my intuition to follow where it leads.|I am grateful for today.|Today I will trust divine guidance to head my actions knowing that I will be brought to joy & prosperity.|The sun is shining through my window and through my heart.|I enter this day with an attitude of appreciation.|Today my world is changing for the better. I open my awareness to my shifting reality.|I allow my intuition to guide my actions to day with trust that I am guided toward my highest good.|I enter today with an open mind and a calm presence.|I welcome positive energy and I use that feeling to accomplish more.|I use my energy to live my life to the fullest.|No matter what I'm working on, I'm always committed to completing my goal.|I trust my thought processes. They are clear and I am very capable.|I can find my own intrinsic motivator.|No matter how hard I may fall, I get back up, dust myself off, and forge on.|No matter the challenge, I will see it through.|I enjoy being responsible for my actions.|My life is full of purpose, exciting change, and many recognized deeds.|By commemorating the smallest nuggets of success, I am motivated to complete the larger tasks.|We are what we repeatedly do. Excellence, therefore, is not an act but a habit.|We are all inventors, each sailing out on a voyage of discovery, guided each by a private chart, of which there is no duplicate. The world is all gates, all opportunities.|Seek the lofty by reading, hearing and seeing great work at some moment every day.|The only way of finding the limits of the possible is by going beyond them into the impossible.|Without inspiration the best powers of the mind remain dormant. There is a fuel in us which needs to be ignited with sparks." | |
Local $q_raw2 = "Hope is like the sun, which, as we journey toward it, casts the shadow of our burden behind us.|Do not wait to strike till the iron is hot; but make it hot by striking.|Nothing will ever be attempted if all possible objections must first be overcome.|Great spirits have always encountered violent opposition from mediocre minds.|Believe with all of your heart that you will do what you were made to do.|Knowing is not enough; we must apply. Willing is not enough; we must do.|We are still masters of our fate. We are still captains of our souls.|Nothing great was ever achieved without enthusiasm.|Nothing can stop the man with the right mental attitude from achieving his goal; nothing on earth can help the man with the wrong mental attitude.|Far away there in the sunshine are my highest aspirations. I may not reach them, but I can look up and see their beauty, believe in them, and try to follow where they lead.|I can honestly say that I was never affected by the question of the success of an undertaking. If I felt it was the right thing to do, I was for it regardless of the possible outcome.|Remember no one can make you feel inferior without your consent|I've learned from experience that the greater part of our happiness or misery depends on our dispositions and not on our circumstances.|Stop saying �I Wish� and start saying �I Will�.|The only thing that stands between you and your dream is the will to try and the belief that it is actually possible|The reason why people give up so fast is because they tend to look at how far they still have to go, instead of how far they have gotten.|Don�t be concerned that things appear to be falling apart: this has to happen in order for something new and wonderful to emerge.|You will never change your life until you change something you do daily. The secret of your success is found in your daily routine.|Winners lose much more often than losers. So if you keep losing but you�re still trying, keep it up! You�re right on track.|n order to succeed, your desire for success should be greater than your fear of failure.|Fear is a habit; so is self-pity, defeat, anxiety, despair, hopelessness and resignation. You can eliminate all of these negative habits with two simple resolves: I can! and I will!|I believe there�s an inner power that makes winners or losers. And the winners are the ones who really listen to the truth of their hearts.|Sometimes you face difficulties not because you�re doing something wrong, but because you�re doing something right.|The pain you feel today is the strength you feel tomorrow. For every challenge encountered there is opportunity for growth.|If you always put limit on everything you do, physical or anything else. It will spread into your work and into your life. There are no limits. There are only plateaus, and you must not stay there, you must go beyond them." | |
Local $quotes_raw = $q_raw1 & "|" & $q_raw1 | |
Local $quotes = StringSplit($quotes_raw , "|") | |
Local $today_quote = $quotes[Random(1,ubound($quotes)-1,1)] | |
;MsgBox(0,0,$today_quote) | |
FileWriteLine($file, "Best Regards,<br/>Your Name") | |
FileWriteLine($file, "---------------------------------------------------------------<br>" & @CRLF) | |
FileWriteLine($file, "Quote of the day:<br>" & @CRLF) | |
FileWriteLine($file, $today_quote & @CRLF) | |
FileClose($file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment