C# SendKeys function

Using the C# SendKeys function we can easily connect multiple keys or even pinting out whole strings just by using one key or just applying for example the F_Keys to Hotkeys.

So let’s see how it works:

static void _sendkeys()
{
    string _text = "the matrix has you";

    foreach (char c in _text)
    {
        // prints out each character of _text each after 500ms
        SendKeys.SendWait(c.ToString());                 
        Thread.Sleep(500);
    }
}

So this basic example would print out the text “the matrix has you” with a sleep time of 500ms after each character. Read more [...]

Get rid of Hard Drive Space Eating Virus

Dear reader

This post will be about how to get rid of the Space Eating Virus, however before we know what to look for and what to remove, we need to know what it does.

The Get rid of Hard Drive Space Eating Virus is usually a program which is working in the background on your system (in case you got one) and creates files on your hard drive. During this process which is positive at anytime your computer is running it can have different techniques and types of running stages in connection to creating trashfiles on your computer. Read more [...]

CSS & HTML Centering Stuff

In this post called “CSS & HTML Centering Stuff” I will explain how you can easily center text, images and other items in HTML and CSS.

So let’s begin with the text:

/*    This will center the text    */
p {
    text-align: center;
}
/*    This is also an option inside any class    */
.some-class {
    text-align: center;
}

Now let’s center an image or a complete block: Read more [...]

C# Custom Colors in Consoles

Ever wanted to make colored lines in a Console Application? By this I mean, for example something went wrong and shows up "An error occurred! Please try again.". Let's say you want only errors be colored red and when sothing succeded it would be green, like "Success!". it is indeed really simple to get this working.

I will make a speciffic example for this post: