Giter Site home page Giter Site logo

windows-hacks's Introduction

Windows-Hacks

Creative and unusual things that can be done with the Windows API.

Shrinking Windows

Any window can be shrunk down.

Shrinking the Calculator:

alt-tag

Shrinking Google Chrome:

alt-tag

Even Microsoft Word is not safe from being shrunk:

alt-tag

Hue Shifter

Any window can be selected to have its colors shifted.

Hue shifting Microsoft Paint:

alt-tag

Hue shifting Microsoft Word:

alt-tag

Writing Directly To The Desktop

alt-tag

Desktop Rotation

Zooms into the Desktop and then spins it around and around.

alt-tag

Window Shaker

Randomly shakes the specified window without the use of a mouse.

Here you can see Microsoft Paint shaking all by itself. Pretty spooky huh?

alt-tag

If you are a masterful artist (such as myself), you may find that it is too easy to draw in a stationary canvas. In that case, this is the perfect utility for you.

alt-tag

Wavy Window

alt-tag

Motion Detection

Detects motion in the specified window. This was a lot of fun to play with, especially when used on videos but I can only include so many gifs...

Detecting motion in Microsoft Paint:

alt-tag

Detecting motion in command prompt:

alt-tag

Automated Painting

Automatically draws a thresholded Mona Lisa into Microsoft Paint:

alt-tag

Window Scrambler

alt-tag

Window Thresholding

This makes the light colors transparent and the dark colors black.

Before thresholding:

alt-tag

After thresholding:

alt-tag

Force Changing Window Properties

Many of the properties of a Window can be force changed. In the image below I have changed the following properties in the Windows Calculator:

  • Disabled the close, maximimize and minimize buttons
  • Removed the drop down menu (View, Edit, Help)
  • Changed the width and height of the Window borders
  • Changed the title

alt-tag

Mouse Spam

Spawns hundreds of mice, where each one moves independently across the screen.

alt-tag

Hiding a Window

Any Window can be hidden. In the following image I have hidden the Windows Calculator. As you can see, it is no where to be found on the Desktop. But if you open the Windows Task Manager it is actually still running in the background:

alt-tag

More...

Here is the menu. It lists all of the features:

alt-tag

How to Run

The compiled binary is located in the folder Executable.

If you want to compile it yourself the recommended way is as follows:

  1. Make sure you have Visual Studio and .NET Framework 4.5.2.
  2. Download the zip.
  3. Unzip it.
  4. Open WindowsHacks.sln in Visual Studio.
  5. Press F5 to run it.

Notes

  • The main class that brings all of the functions together is Program.cs.

  • The to do list can be found in the top directory. This includes bugs to fix and new features to implement.

  • The External folder contains two essential .dll files that must be referenced for the code to work. These two files are WindowsAPI.dll and and ImageProcessing.dll and the code for these can be seen in my WinAPI-Wrapper and Image-Processing-Library repositories respectively.

  • This has only been tested on Windows 7.

windows-hacks's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.